I searched for some information on the Internet and explained each other. I hope to understand the advantages and disadvantages of these frameworks. It is better to compare them. Thank you ~~ I searched for some information on the Internet and explained each other. I hope to understand the advantages and disadvantages of these frameworks. It is better to compare them. Thank you ~~
Reply content:
I searched for some information on the Internet and explained each other. I hope to understand the advantages and disadvantages of these frameworks. It is better to compare them. Thank you ~~
Symfony2 is recommended.
First of all, phalcon is too pitfall, with too many bugs and not stable enough. If you want to use it, please wait for another 3 years. Wait until phalcon reaches 3.0 and use it again :(
If you come from java, symfony2 will never disappoint you. You should have something that is stable, reliable, comprehensive, and meaningless, and won't encounter any strange problems, the steep learning curve is actually an advantage (in addition to being a framework, symfony has its own Best Practices, which is more practical than the relatively imperfect PSR standard ), this prevents new users from writing bad code.
Laravel is the PHP version of rails. Compared with rails, Laravel is faster to get started. It has the most users and is active in the community. All the good things of rails are elegant. It is recommended for beginners to get started with rails, laravel is based on symfony at the underlying layer, and can be transferred to symfony after in-depth exploration.
ThinkPHP is characterized by being simple, rude, and quick to get started. It is not conducive to the development of large projects, I have a few friends who used tp and other projects to a certain scale in the early days, resulting in failure to maintain them, and had to re-launch them.
Finally, you must note that the framework can lay the foundation for a project and its future development. Therefore, be careful when selecting a framework!
The community of sysfony2 is very active, but it is a heavyweight framework and is relatively slow to get started.
Reference: github.com/happen-zhang
I think laravel and phalcon can both be regarded as relatively good frameworks. From code elegance alone, I personally think laravel is the best, just as I said, for web artisans.
But laravel and efficiency need to be improved. I have at least run too fast from the local testing framework. I personally prefer phalcon, but due to the need for compilation extension, there must be fewer people to use than common frameworks.
The laravel and phalcon documents are easy to read and get started quickly.
Don't know about symfony2, so I won't comment on it.
Learning symfony2 is good. Although the curve is high, you will not regret it after learning it.
2015 most popular PHP development framework-SitePoint Survey Report
Http://laravelbase.com/posts/32
PHP framework Laravel or Codeigniter
Http://www.zhihu.com/question/21617669
Laravel, for example, the cms written by laravel, has 10 + MiB in a vendor directory, and the cms itself may be less than 1000KiB ~~ Bloated and inefficient
After comparing laravel and phalcon, we will find that phalcon is a potential stock, especially the exciting 2.0. When it is released, many non-business-level code can be encapsulated in extension, the loading efficiency of laravel using composer is really intolerable.