PHP for a period of time, also heard that PHP to make MVC is not a bit inappropriate, but the self-perception of MVC this architecture is still some benefit, so I hope you recommend some good books or articles, websites and other resources.
Reply content:
Regardless of performance, the best MVC is cakephp, copy ror the most close, its activerecord than yii more powerful, but the speed has been highly controversial.
CodeIgniter is the most popular in the country, is a lightweight framework, the structure is relatively loose, the document is good, the introduction can be seen. I used to get up early to use some CI but then I almost didn't.
Symfony is the most powerful framework for people with high water bottles, can do enterprise-class products, encapsulation is done well, the only problem is that the update is slow, because the number of development team.
Zend Framework sounds like the official MVC, but it's not so good, getting up early is just a library, it's a little bit better now but the positioning is still unclear, underachievement.
Yii is developed by the Chinese, blindly pursuit of speed and active record, but they put themselves around, and its own active record is poor performance of things, PHP or should go to the better cache (APC, memcache).
CakePHP is my favorite, the document is very bad, but look at the source code will find that is not the pursuit of performance under the most simple and easy to use, the disadvantage is that the template does not do not separate code, MIT produced something.
In addition, the CMS in Joomla is the first MVC, although compared with the above framework is not an authentic MVC, but also a CMS aspect of progress, and compared to Drupal and WordPress is still advocating the use of hooks.
Good open source MVC security has always been good, the escaped are escaped, but also very few variable coverage of what, do the put for example long name truncation what is good. 1. System Introduction PHP MVC website actually not much, I think php100 also good has many video tutorials.
2. Want to know more about MVC I think it's better to watch and use some of the more mature PHP frameworks, CodeIgniter
The YII framework Zend Framework is good.
3. I can not see the book, I generally do one side to look at the manual, so improve faster. Can read this book, "Pro Zend Framework Techniques CMS" 2009, the 1th chapter introduced the MVC, quite in place. In fact, I recommend the PHP manual, first look at the Chinese version of the English version of the check data (the Chinese version will often miss a lot of important warnings, HI)
Then look at the CI framework, familiarize yourself with it, then look at the YII framework and familiarize yourself with the next
Basically OK, just find an MVC framework, read the source code directly.