File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,9 @@ that's all the business logic has to go to framework-independent classes.
7070Yii 3 services are conceptually similar to Yii 2 components, so it's a good idea to move reusable parts of your application
7171into components.
7272
73- ### Learn Docker
73+ ## Things to learn
74+
75+ ### Docker
7476
7577Default application templates are using [ Docker] ( https://www.docker.com/get-started/ ) to run application.
7678It's a good idea to learn how to use it and use it for your own projects since it provides a lot of benefits:
@@ -79,8 +81,20 @@ It's a good idea to learn how to use it and use it for your own projects since i
79812 . No need to install anything except Docker itself.
80823 . Environment is per application, not per server.
8183
82- ### Learn environment variables
84+ ### Environment variables
8385
8486Yii3 application templates are using [ environment variables] ( https://en.wikipedia.org/wiki/Environment_variable )
8587to configure pars of the application. The concept is [ very handy for Dockerized applications] ( https://12factor.net/ )
8688but might be alien to users of Yii 1.1 and Yii 2.
89+
90+ ### Handlers
91+
92+ Unlike Yii2, Yii3 doesn't have controllers per se. Instead, it uses [ handlers] ( ../structure/handler.md ) which
93+ are similar to controllers but different.
94+
95+ ### Application structure
96+
97+ Suggested Yii3 application structure is different from Yii 2.
98+ It's described in [ application structure] ( ../structure/overview.md ) .
99+
100+ Despite that, Yii3 is flexible, so it's still possible to use a structure similar to Yii 2 with Yii 3.
You can’t perform that action at this time.
0 commit comments