Home >PHP Framework >YII >The difference between yii2 advanced version and normal version
The difference between yii2 Advanced Edition and Normal Edition
Advanced Edition and Basic Edition are just names . The reason why they are just called each other is because their frameworks are exactly the same. The so-called framework part is the vendor directory, which usually exists in the root directory of the project. The relationship between the advanced version and the basic version is similar to centos and ubuntu, both of which are based on the Linux kernel. So it's hard to tell which one of them is more powerful. But it is undeniable that they also provide powerful functions.
So Yii’s command line database operation is also applicable to the basic version. This is described in the Command Line chapter of the Definitive Guide.
If you have to distinguish which one is more suitable for a project, it depends on what kind of project it is. Suppose you need to create a blog that is divided into front and backends, then the premium version may be suitable.
Suppose you have a project that provides an API to store some website statistics, and this API call is very frequent enough to compromise the main server. Then it would be good to open a new basic version project and store it on a server dedicated to statistics. Since it only needs to provide an API, only one application is needed (of course, both the advanced version and the basic version can add applications at will).
The premium version provides two applications (frontend and backend). If you still use the premium version at this time, you will only have a bunch of useless files. It seems that the basic version is more flexible and seems to be more "advanced".
Recommended: "YII Tutorial"
The above is the detailed content of The difference between yii2 advanced version and normal version. For more information, please follow other related articles on the PHP Chinese website!