Home >Backend Development >PHP Tutorial >How to change YII2 Advanced application to Basic version

How to change YII2 Advanced application to Basic version

WBOY
WBOYOriginal
2016-07-06 13:51:371030browse

The Advanced version of YII2 has a front and backend, and most yii2 projects on github are developed using the Advanced version.
Now I am using a ready-made project to make modifications. I hope to use the Basic version as the frontend and Laravel as the backend. Can I convert the Advanced version to the Basic version?
In this case, the workload may be slightly larger because a lot of files need to be modified.

Reply content:

The Advanced version of YII2 has a front and backend, and most yii2 projects on github are developed using the Advanced version.
Now I am using a ready-made project to make modifications. I hope to use the Basic version as the frontend and Laravel as the backend. Can I convert the Advanced version to the Basic version?
In this case, the workload may be slightly larger because a lot of files need to be modified.

Yes, it would be quite troublesome to change it directly; but it can also be achieved. According to the title description, you can use the advanced version of Yii2's frontend to write the frontend, and leave the backend and others unused (you can regard frontend, backend, etc. as independent modules, or you can customize other modules). I don’t know why we need to combine Yii2 and Laravel, because both Yii2 and Laravel can realize the separation of front and backend respectively.

Statement:
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