Alexander Makarov
Alexander Makarov
See https://github.com/vlucas/phpdotenv/issues/207#issuecomment-260116783 Main motivation is performance.
Use Twig
We should try to implement Twig templates in the app. Main benefit is that it provides output escaping out of the box so there will be way less Yii 3...
We need to use config environments feature and have 2 default set of configs - dev (debug) and prod. Selecting one should be done through YII_ENV environmental variable (or .env)....
Need to document https://github.com/yiisoft/app/blob/master/src/ApplicationRunner.php#L64
The idea is to move some common package params to `config/params.php`. For example, db connection, aliases, console controllers list.
A console configuration wizard will be great to have. For example: ``` - Do you want database? Y - Cycle or DB? DB - Which server to connect to? localhost...
`runtime` and `public/assets` should be writeable.
We can use functional tests only and remove any acceptance ones.
Requirements could be lowered by executing commands directly w/o `popen`: https://github.com/tebazil/yii2-console-runner/blob/master/src/ConsoleCommandRunner.php
1. How many services are requested per route? 2. How many aren't defined in container and automatically resolved? 3. How many sub-dependencies are per service?