Yii 2.0 Part 3 - Model, views and controller

Continuing on from the previous video, this video looks at creating models from database tables, including relationships automatically generated by Gii from foreign keys. It then looks at creating the controller and views for this model, demonstrates what these look like by default and shows how to handle updating the model when the database changes. The source code for the tutorial is on github here: but please note that changes are continually made to the repository
Back to Top