Solved

Trying to find best PHP framework

Posted on 2014-03-28
7
514 Views
Last Modified: 2016-02-24
I have a LAMP server where users log in and upload/download video files.
I would like to generate some simple php pages to aggregate usage data.
These would be pages for me not end-user pages.

Here are some example stats I would like to see -

Number of users currently logged in.
Number of users logged in today,
Number of users logged in this week.

Number of uploads today
Number of downloads today
Number of uploads this week
Number of downloads this week

etc. etc. etc.

I know how to manually code (i.e. hack my way through it) a php page to generate this information.  I have the correct fields already available in MySQL and I know how to do the sql queries to get the final data results.

Can someone recommend a simple framework that would help me build these kinds of data aggregate pages more quickly and efficiently?

Is CakePHP good for this?

Thanks,

Kevin.
0
Comment
Question by:kevinvw1
7 Comments
 
LVL 34

Assisted Solution

by:Dan Craciun
Dan Craciun earned 125 total points
Comment Utility
If those pages are for you a framework is overkill.

Since you can manually code, just build your own page. It does not need to be pretty, just display the info you need.

HTH,
Dan
0
 
LVL 52

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 125 total points
Comment Utility
There is an open source stats program called http://piwik.org/ that will do exactly what you want.  No coding other than inserting some js
0
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 125 total points
Comment Utility
I wouldn't use a framework for something like this.  But if you want to learn a framework, you might want to look at Laravel.  It seems to be getting a lot of traction right now.

You might also consider adding Google Analytics to your pages.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 36

Assisted Solution

by:Loganathan Natarajan
Loganathan Natarajan earned 125 total points
Comment Utility
Framework is not a matter. It is," how you're going to code " to achieve your tasks on any framework available.
0
 

Author Comment

by:kevinvw1
Comment Utility
Any comments on NotORM?  It looks like a pretty simple PHP library.

http://www.notorm.com/
http://www.sitepoint.com/database-interaction-made-easy-with-notorm/
0
 
LVL 108

Expert Comment

by:Ray Paseur
Comment Utility
I think the most revealing comment about NotORM is this one (emphasis added):
...the reality of working with any ORM is that using it is only simple if you already have experience using it
From reading the Sitepoint link, it does not look materially simpler to use NotORM when compared to writing SQL queries.  Since you already know the SQL queries, the addition of NotORM would mean that you would now have to learn the NotORM notation to get your SQL queries to work - an extra learning and debugging step with no added value on the output side of the project.  I'd skip it and just write the PHP/SQL code without the added interference of an abstraction layer.
0
 

Author Closing Comment

by:kevinvw1
Comment Utility
A lot of good useful answers and information here.

Thanks to everyone that replied.

Kevin.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Why would you want to link Google Analytics to Google AdWords? After linking them, you can: Import goals and transactions from Analytics View  site engagement data from Analytics in AdWordsCreate remarketing lists in Analytics to use in AdWords for…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now