icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » A quick roundup of PHP MVC frameworks

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old August 7th, 2008, 11:09 AM   #1 (permalink)
Surpass Staff
Fresh Surpasser
 
Joined in Aug 2008
6 posts
Gave thanks: 0
Thanked 5 times
A quick roundup of PHP MVC frameworks

If you're in the market for a PHP MVC (Model-View-Controller) framework, here is a quick roundup of some of the best available that I've used that will hopefully ease your decision:

CakePHP - http://cakephp.org/

This is one of the most popular frameworks available for those wanting a Rails-like experience in PHP. Cake's main strengths are its automation (form handling, HTML and Javascript helpers, etc.), its powerful database layer (integrated CRUD and table associations), and large community. It also features scaffolding and command line tools for code generation that allow for quick prototyping. This is my personal favorite and its only real flaw is its lack of documentation on certain advanced features (though overall the documentation is good).

CodeIgniter - http://codeigniter.com/

CodeIgniter is a popular framework that came about through development of ExpressionEngine (ExpressionEngine 2 is even built on CodeIgniter). This is, by far, the easiest PHP MVC framework to learn. It has some of the best docs of any framework and is easily accessible to even novice PHP programmers. It also sports a large feature set, but its core is somewhat lacking (no integrated CRUD or table associations and use of models is optional). There is less automation than frameworks such as CakePHP resulting in more flexibility, but also more work for the developer.

Zend Framework - http://zendframework.com/

Zend Framework boasts one of the largest collection of classes (including many web services) of any PHP framework. However, that's all Zend Framework really is -- a collection of classes with little cohesion. It is referred to as a "glue" framework where you pick and choose what components you want to use, but in the end it is really no more of a framework than PEAR. This, however, was Zend's goal since this framework can be used entirely by itself to develop an appilcation, or its classes can be used independently (or even be integrated into another framework). This makes the framework extremely flexible, but it provides very little automation and requires a lot of configuration. Zend Framework has very thorough documentation, but it has one of the steepest learning curves of any PHP framework.

Symfony - http://www.symfony-project.org/

I don't have much experience using Symfony, but the framework deserves a mention. It is comparable to CakePHP in terms of popularity and, like CakePHP, features command line tools for code generation. It's marketed as an "enterprise" framework and is even used by Yahoo. Unfortunately, it is a little heavy due to its extensive use of 3rd party libraries (e.g. Propel) and requires a lot of configuration. Its complexity also means a relatively steep learning curve.
Matt S is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
These users thank Matt S for this great post!
Brandonnn (August 11th, 2008), Emmanuel (August 7th, 2008), Kayla (August 7th, 2008), Mark (August 7th, 2008)
Old August 7th, 2008, 8:48 PM   #2 (permalink)
CTO, Surpass Hosting
Super #1
 
Emmanuel's Avatar
 
Joined in Apr 2003
Lives in Florida
1,811 posts
Gave thanks: 10
Thanked 131 times
Very well written and useful, thank you!
__________________
Emmanuel :: Surpass Hosting Network Admin
http://www.SurpassHosting.com
Emmanuel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 11th, 2008, 2:14 AM   #3 (permalink)
I killed the bus driver.
On a golden path...
 
cass_is_awesome's Avatar
 
Joined in Mar 2008
Lives in Michigan
Hosted on SH138
326 posts
Gave thanks: 6
Thanked 8 times
Very, very informative, I have to say.
__________________
I tend to turn every thread I post in into the Post A Random Photo Thread
cass_is_awesome is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 25th, 2008, 4:18 PM   #4 (permalink)
Registered User
Comfy Contributor
 
robinson.jason's Avatar
 
Joined in Jun 2006
Lives in Idaho
Hosted on PASS61
192 posts
Gave thanks: 16
Thanked 2 times
My followon question would then be what IDE do you use with CakePHP to aid in developing your php apps? Most of my experience was with Java/Struts on the jDeveoper IDE, and I have minimal experience with Eclipse.
robinson.jason is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 25th, 2008, 10:29 PM   #5 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Hosted on Gojira
8,032 posts
Gave thanks: 48
Thanked 129 times
I'd probably use something I found in a quick Google Search with Textmate.

CakePHP Bundle for Textmate: CakePHP for TextMate (Articles) | The Bakery, Everything CakePHP
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On