Home >PHP Framework >YII >The difference between yii2 and ci
The difference between yii2 and ci
1. yii2 is a full-stack framework.
Advantages:
1) Has standardized Chinese and English documentation
2) Yii’s code is simple and elegant
Recommended related articles and tutorials:yii tutorial
3) Yii is very easy to extend
4) High performance is always one of Yii’s primary goals
Disadvantages:
1) The learning curve is relatively high
Generally speaking, it is very suitable for large-scale commercial projects. Yii is a performance and componentization framework.
2. ci, the full name is CodeIgniter. A very lightweight and excellent framework.
Advantages:
1) It has easy-to-use features
2) It has standardized Chinese and English documents
3) There is a lot of space for customization Big
4) Very lightweight, supports full page caching
Disadvantages:
1) Some functions require you to write extensions yourself
2) Non-domestic The framework, relatively speaking, is not as easy to use as tp5 for beginners
Overall, it is very suitable for small personal and commercial projects. ci is a high performance and lightweight product.
Summary: To develop personal small projects, use ci, to develop large projects, use yii2;
More,Website construction introductory tutorial For related knowledge, please pay attention to PHP Chinese net.
The above is the detailed content of The difference between yii2 and ci. For more information, please follow other related articles on the PHP Chinese website!