Solved

Trying to find best PHP framework

Posted on 2014-03-28
7
546 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 35

Assisted Solution

by:Dan Craciun
Dan Craciun earned 125 total points
ID: 39962422
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 53

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 125 total points
ID: 39962453
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 110

Accepted Solution

by:
Ray Paseur earned 125 total points
ID: 39962505
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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
LVL 36

Assisted Solution

by:Loganathan Natarajan
Loganathan Natarajan earned 125 total points
ID: 39963189
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
ID: 39963198
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 110

Expert Comment

by:Ray Paseur
ID: 39963745
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
ID: 39965833
A lot of good useful answers and information here.

Thanks to everyone that replied.

Kevin.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read the original post on Monitis Blog. Believe it or not, the most important thing about the website of your business is not what’s on it but how fast it loads. Yes, that’s right!    As you can see on this infographic (an oldie but goodie!), …
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

717 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