Solved

Trying to find best PHP framework

Posted on 2014-03-28
7
542 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
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.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

738 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