PHP frameworks: Which would you pick and why?
11 points| robomartin | 13 years ago | reply
I need to adopt a PHP MVC framework. I've done a bunch of PHP MVC work myself. Now I want to break away from reinventing everything and take advantage of a framework. This, of course, is for more than just MVC. Frameworks can offer solutions to such things as user authentication, forms, etc. that might be of value.
In addition to this, I need to get a mid-complexity MVP done in about ten to fifteen days for a presentation. I'm a quick study and already have chunks of the project coded, so part of it will be refactoring.
I've been looking at ZF2 primarily but Yii keeps coming-up here and there. Interested to learn what HN might have to say about these and the other choices out there.
Context without letting the cat out of the bag: A site where members place orders (and pay) for services and service providers sign-up to offer these services. Free and paid memberships. Ratings system for both service buyers and providers. Lightweight chat and maybe forum/s. English only at first but i18n will probably be a must later-on.
[+] [-] heldrida|13 years ago|reply
Do a good research about what's new in this project, you can even find comparisons with Rails, Django and so on :)
Good Luck!
[+] [-] hyuuu|13 years ago|reply
The one that really gets me is their ORM, so elegant. It is still being actively developed and it's already stable and production ready, they just released version 4 (I'm not sure) check them out :)
[+] [-] laurencei|13 years ago|reply
[+] [-] robomartin|13 years ago|reply
[+] [-] joshstrange|13 years ago|reply
[+] [-] krapp|13 years ago|reply
[+] [-] jfaucett|13 years ago|reply
[+] [-] ebangham|13 years ago|reply
[+] [-] robomartin|13 years ago|reply
[+] [-] xackpot|13 years ago|reply
So CodeIgniter seems to be the best for me.
[+] [-] huherto|13 years ago|reply
[+] [-] mattm|13 years ago|reply
Yii is not bad. I prefer Zend over it but for getting something up quick it would be a good choice.
[+] [-] pedrofornaza|13 years ago|reply
I usually choose the better framework FOR MY PROBLEM. If i need something lightweight, or reliability, performance, etc.
ZF and Symfony are too big for small projects, maybe Slim is to little to a medium/big project, etc.
I think you adopt a PHP framework for your problem, not for coding in general.
[+] [-] jamesaanderson|13 years ago|reply
[+] [-] bithai|13 years ago|reply
They have matured fast, conventions that makes sense to me. Its like best of different php frameworks.
You can still use Zend libraries in any other MVC php framework.
[+] [-] jonascopenhagen|13 years ago|reply
[+] [-] Misiek|13 years ago|reply