Size: a a a

2020 June 27

T

TradersVE in Yii Framework 3
who said that I was going to remove the module controller, I'm talking about using the basePath of WebView, to render the views.
источник

RM

Rustam Mamadaminov in Yii Framework 3
Дмитрий
@samdark для Gii фронтенд части уже есть репа?
отдельно? Я думаю нет необходимости отдельного репо.
источник

Д

Дмитрий in Yii Framework 3
зачем мешать php и js часть, которые даже деплоиться будут по разному?
к тому же, взаимодействие у них будет через API
источник

T

TradersVE in Yii Framework 3
for example in my module in my controller I change the basePath of the view, and that's it.
источник

T

TradersVE in Yii Framework 3
I don't even need to know the name of the controller.
источник

Д

Дмитрий in Yii Framework 3
TradersVE
for example in my module in my controller I change the basePath of the view, and that's it.
yeah it's nice idea
источник

DS

Dmitriy S in Yii Framework 3
TradersVE
I think we can modify view to pass the path of the view when it is outside the application, for example a module.
You can override View in the module route group
источник

T

TradersVE in Yii Framework 3
i think it would be good the controller i just return $webView->render() bye AbstractController kill.
источник

T

TradersVE in Yii Framework 3
Dmitriy S
You can override View in the module route group
How to ?
источник

DS

Dmitriy S in Yii Framework 3
TradersVE
How to ?
CompositeContainer in the route group
источник

T

TradersVE in Yii Framework 3
Dmitriy S
CompositeContainer in the route group
Please one example ?
источник

DS

Dmitriy S in Yii Framework 3
TradersVE
Please one example ?
This is not compatible with your current way, it needs to preconfigure routes by something like module configurator.
источник

T

TradersVE in Yii Framework 3
well while we have the module configurator, I will continue with my idea.
источник

DS

Dmitriy S in Yii Framework 3
TradersVE
well while we have the module configurator, I will continue with my idea.
Now you can use a service provider instead.
источник

T

TradersVE in Yii Framework 3
Dmitriy S
Now you can use a service provider instead.
if you give me an idea, an example would be good, we must eliminate abstractcontroller, it is only there to render the views.
источник

Д

Дмитрий in Yii Framework 3
TradersVE
if you give me an idea, an example would be good, we must eliminate abstractcontroller, it is only there to render the views.
Think so too
источник

NO

Nex Otaku in Yii Framework 3
less inheritance the better)
источник

RM

Rustam Mamadaminov in Yii Framework 3
Дмитрий
зачем мешать php и js часть, которые даже деплоиться будут по разному?
к тому же, взаимодействие у них будет через API
Ну, тогда мы делаем это отдельно и сразу на vue.
источник

DS

Dmitriy S in Yii Framework 3
TradersVE
if you give me an idea, an example would be good, we must eliminate abstractcontroller, it is only there to render the views.
Ok, I'll do it
источник

T

TradersVE in Yii Framework 3
Dmitriy S
Ok, I'll do it
👍👍 +1000
источник