Home > PHP Framework > YII > The difference between yii2 advanced version and normal version

The difference between yii2 advanced version and normal version

angryTom
Release: 2019-11-06 17:02:58
Original
3743 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template