yii-starter-kit / yii2-starter-kit

Yii2 Starter Kit
http://yii2-starter-kit.terentev.net
Other
1.41k stars 646 forks source link

[Discussion] Yii 3.0 compatibility #651

Open trntv opened 5 years ago

XzAeRo commented 5 years ago

Just in case. Yii 3+ is just a restructuring of the framework into smaller packages, so, in theory, it shouldn't take to much time to migrate everything.

Docs about Yii3 status and future roadmap for Yii: https://github.com/yiisoft/yii-core/blob/master/ROADMAP.md

XzAeRo commented 5 years ago

The new Yii3 approach will discontinue the "advanced app" template since they are adopting the "each application a service" approach. You can check more about this in the UPGRADE.md file in the new yii-core project.

And why the advanced app will be discontinued? Because configuration files will have to be managed through composer: https://github.com/hiqdev/composer-config-plugin killing the multi-config approach we have in the advanced app and in this project.

This is an extract of the UPGRADE.md file mentioned above.

screenshot_2019-01-31 yiisoft yii-core 1

So what does this mean? For the next upgrade we may need to separate each part (API, storage, frontend, backend, console), into it's own project, OR we try to make just one big simple application with several modules for each section.

What should we do?

kwazaro commented 5 years ago

I think one application with modules for "console", "api", "backend" etc. is the best way to go.

Buliwyfa commented 5 years ago

yes my opinion goes for 1 app with modules as @kwazaro  proposed

XzAeRo commented 4 years ago

Some updates for those who are interested: