tp5, the full name is ThinkPHP. A very excellent domestic framework.
Advantages:
Has easy-to-use features (Recommended learning: yii framework)
Have standardized Chinese documents
Have a large number of developers (many market learners)
Family bucket-style service
Disadvantages:
The framework has many automatic loading tasks and is not lightweight
tp5 has changed a lot and has better performance than tp3, but it is not easy to upgrade tp3
Compared with ci, yii2 and other frameworks, it is customizable The degree is slightly lower
Generally speaking, it is very suitable for small and medium-sized commercial projects. TP5 is a high-performance and domestically produced product.
yii2 is a full stack framework.
Advantages:
Has standardized Chinese and English documentation
Yii’s code is simple and elegant
Yii is very easy to expand
High performance is always one of the primary goals of Yii
Disadvantages:
The learning curve is relatively high
In general , very suitable for large-scale commercial projects. Yii is a performance and component framework, and I heard that Baidu is also using it.
The above is the detailed content of What is the difference between tp5 and yii2. For more information, please follow other related articles on the PHP Chinese website!