Size: a a a

2020 May 20

AM

Alexander Makarov in Yii Framework 3
И получаем битую ссылку.
источник

T

TradersVE in Yii Framework 3
источник

А

Алексей R in Yii Framework 3
Are these dependencies really needed all at once?
источник

T

TradersVE in Yii Framework 3
of course the tests are real, also how you do and yii migrate/up.
источник

А

Алексей R in Yii Framework 3
Is it possible to allocate a common interface for them and use it?
источник

А

Алексей R in Yii Framework 3
TradersVE
of course the tests are real, also how you do and yii migrate/up.
these dependencies needed only for tests?
источник

T

TradersVE in Yii Framework 3
No, db connection
источник

T

TradersVE in Yii Framework 3
Schema
источник

T

TradersVE in Yii Framework 3
TableSchema
источник

T

TradersVE in Yii Framework 3
It's yii-db-migration
источник

T

TradersVE in Yii Framework 3
@yiiliveext module config at least the idea of how to pass the routes and views to the container-di, thks.
источник

DS

Dmitriy S in Yii Framework 3
TradersVE
@yiiliveext module config at least the idea of how to pass the routes and views to the container-di, thks.
The simple way is using routes.php config file. Modules should be wrapped with a root group (Group::create(null, [{{your module groups and routes}}])). Then you should use this config in the AppRouterFactory.
источник

RM

Rustam Mamadaminov in Yii Framework 3
For routes use RouterCollector
источник

T

TradersVE in Yii Framework 3
Dmitriy S
The simple way is using routes.php config file. Modules should be wrapped with a root group (Group::create(null, [{{your module groups and routes}}])). Then you should use this config in the AppRouterFactory.
Builder::path('routes') ?
источник

DS

Dmitriy S in Yii Framework 3
TradersVE
Builder::path('routes') ?
Yes
источник

T

TradersVE in Yii Framework 3
And in the routes, when defining their controllers, we cannot define the routes of the views?
источник

T

TradersVE in Yii Framework 3
Rustam Mamadaminov
For routes use RouterCollector
Thanks, I will review it.
источник

Д

Дмитрий in Yii Framework 3
не понял прикола с yii-db-migration.
1. почему он yii-*?
2. можно ли вычистить всё ненужное (db-* пакеты, event-dispatcher'ы (что там забыл симфони диспетчер?), view, aliases), чтобы это было yiisoft/db-migrations без большой завязки на yiisoft/* пакеты?
источник

DS

Dmitriy S in Yii Framework 3
TradersVE
And in the routes, when defining their controllers, we cannot define the routes of the views?
I don't know haw to do that in this case, because ModuleConfigurator use another way with a local container. I think you can try to use CompositeContainer in the module routes config that add own ViewFactory to container, and then use this container in the routes.
источник

T

TradersVE in Yii Framework 3
Дмитрий
не понял прикола с yii-db-migration.
1. почему он yii-*?
2. можно ли вычистить всё ненужное (db-* пакеты, event-dispatcher'ы (что там забыл симфони диспетчер?), view, aliases), чтобы это было yiisoft/db-migrations без большой завязки на yiisoft/* пакеты?
Because it depends on yiisoft/db.
источник