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


    <h3 class="post-title entry-title">转自 http://karim-ouda.blogspot.com/2011/04/comparing-php-frameworks-symfony.html</h3>
<h3 class="post-title entry-title">貌似symfony不错,有空研究下。好久没用php了。<br>
</h3>
<h3 class="post-title entry-title"><br></h3>
<h3 class="post-title entry-title">Comparing PHP Frameworks ( Symfony, CakePHP, YII and CodeIgniter)
</h3>
<div class="post-header">


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<br><br>
To decide i had to try a simple application with each Framework<br><br><span style="font-weight: bold;">Why Symfony </span>
<br><br><span style="font-weight: bold;">Symfony</span>
is 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<br><br>
Also
when i used it i found it well structured, relatively easy to learn, it
provides a very good  command line and the ORM was great (Symphony uses
Doctrine)<br><br><br><span style="font-weight: bold;">Why Not Others</span>
<br><br><span style="color: #ff6600;">Warning</span>
: some of the reasons are more subjective than objective<br><br><span style="font-weight: bold;">CakePHP</span>
was 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<br><br><br><span style="font-weight: bold;">CodeIgniter</span>
is very easy, fast but it is more simple than what i was looking for and has no ORM<br><br><span style="font-weight: bold;">Yii</span>
is 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


 

你可能感兴趣的:(java,工作,cakephp)