Yii 2.0 Part 6 - Views, Models and ViewModels

When you first install Yii and run the CRUD generator, it is obvious how views can bind to single models, which bind to single database tables but what if we need to do something more complex like binding to multiple database models or when there is data in the form but it is not used for saving to the database. What if we need to display static data? This video looks at how views bind to models and the two types of models available to us to perform either simple or more complex binding of views to data. T
Back to Top