top 5 php Frameworks
Posted 17 June 2012 - 02:42 PM
Posted 13 July 2012 - 11:04 PM
I have been tasked to research the different frameworks and come up with what would be solution that would fit us the best.
I have my eye on Zend 2, Yii, Symfony 2.
I took a brief look at CodeIgnitor and did not agree with their coding practice (mainly I saw codeigniter.com/user_guide/libraries/form_validation.html#cascadingrules and hated that way they do it). Looks like it is also too basic. Would make a great framework for someone just starting out in PHP.
Zend looked interesting (especially zend 2). I honestly thing I like their coding style the best out of all the frameworks that I have briefly looked at, however it looks like the downside is that if you need to customize anything in anyway you will need to write A LOT of code. It seems extremely 'enterprisy'.
Symfony 2 -- I actually haven't had a chance to dig in with this framework yet, looks interesting, but also looks a bit bloated. Can't really give an opinion on it.
Yii- So far it seems really good. I wish it used namespaces, but I would assume that is on the roadmap for version 2. I really like how it generates a lot of the basic code for you with gii. The extensions support is also great. I agree with most of the coding practices, however I think arrays are used too much. I prefer to use objects myself (since you get type hinting from IDE)
So far I am leaning towards yii, but going to look into Symfony a bit.
Posted 17 July 2012 - 10:39 AM
Take this PHP Framework MVC Benchmark for instance.
Laravel, Flourish, FatFree, FuelPHP, BareBones, DooPHP, MicroMVC, ...
Here is the ultimate list:
Posted 23 July 2012 - 02:02 PM
Codeigniter(2.1) by default is a bit faster than Yii for me: after doing some benchmark with a basic app, these 2 are pretty similar, but CI2 have an advantage. What's making Yii better for me is his modular approach and tools.
Symfony 2 have an amazing community, but I've done the same benchmark and it is 2 times slower than Yii. And it seems to make you write more code and configuration.
Fuelphp is something that I would like seeing grow in popularity, I like their approach.
Posted 23 July 2012 - 11:10 PM
Laravel seems great, but all the API breaks makes me run from it.
And for Elefant, that seems nice! But it seems to have a small community, sadly.
What makes me like FuelPHP is that it's not hard to migrate to it from Codeigniter, so it's a great way to make the change to real PHP5 kinda easily. But it's not perfect.
Considering what's important for me, Yii seems the best . speed & simplicity & community.
Posted 24 July 2012 - 07:27 AM
Look how it compares to Yii and Laravel.
Memory usage and requests by seconds shows that it lags behind Yii.
Laravel is consistently better than Yii.
Judging from the benchmark.
Where CI and Yii are pretty alike.
Of course, there are other factors.
But so far it seems like the FuelPHP team needs to do some optimization work.
I don't consider ColaPHP since it's commercial AFAIK.
And MicroMVC seems to be having a really small (non-exsistent?) community and almost no docs.
But Yii is great - and the reason why I'm still here.
I just wish Yii had better asset handling..
Posted 24 July 2012 - 10:05 PM
Laravel may be really fast on hello world, but if they are changing the API all the time, It doesn't motivate me to use it .
But I'm really looking forward to see the Yii 2 release .