Comparing
#87 with
#89
Content
[...]
- /src/Views
- /src/Migrations
- /src/Services
You bundle all what is related to (
for example)
to User into one folder. Plus: Instead of "Actions" we use name "UseCase":
- /src/User/UseCase/Create/Action.php + view.php[...]
If anything is shared, you can place it to folder /src/Shared. You can do whatever you want as long as it is a clean and nice solution.
Note: What actually forced as in Yii2 to use only MVC is the routing mechanism that wanted all the HTTP requests to be processed by files in folders named Controllers.
## ===== Yii3 - How to start ======
Yii3 offers more basic applications: Web, Console, API. I will be using the WEB application:
- https://github.com/yiisoft/app
- Other apps are linked on the page[...]