rhces 发表于 2017-4-7 11:58:20

Comparing PHP Frameworks ( Symfony, CakePHP, YII and CodeIgniter)

转自 http://karim-ouda.blogspot.com/2011/04/comparing-php-frameworks-symfony.html
貌似symfony不错,有空研究下。好久没用php了。



Comparing PHP Frameworks ( Symfony, CakePHP, YII and CodeIgniter)

  I went through the exersice of choosing a PHP Framework, i found it really hard to decide since most of them are similar and there are many good frameworks out there, however at the end i narrowed down to 4 frameworks and the winner was Symfony

To decide i had to try a simple application with each Framework

Why Symfony

Symfonyis an enterprise level framework which is used by Yahoo and other big websites, it is proven and powerful, also Symfony 2 overcomes all problems of old symfony versions like speed, templating ... etc

Alsowhen i used it i found it well structured, relatively easy to learn, itprovides a very goodcommand line and the ORM was great (Symphony usesDoctrine)


Why Not Others

Warning: some of the reasons are more subjective than objective

CakePHPwas easy to learn and you will have a great community support but i disliked the ORM and the naming convention constraints, i wasn't moving fast when i used it


CodeIgniteris very easy, fast but it is more simple than what i was looking for and has no ORM

Yiiis lovely however the model/module generation is done using GUI plug-in( i didn't investigate other options) and i didn't like the folder structuring and the generated code, however if i didn't use Symfony i would have used YII
页: [1]
查看完整版本: Comparing PHP Frameworks ( Symfony, CakePHP, YII and CodeIgniter)