Hello,
link : github.com/yiisoft/yii2/blob/master/docs/guide/structure-views.md
I have read the best practices from the link above,
My question is :
We assume that we have a complicated view divided into several smaller ones, and each one contain a from need for a new model
It is interesting to instantiate each model in his form view instead of pushing from the controller all the new record models to the main view, than dispatch those models on their appropriate view ?