We covered a lot of information in this chapter! We covered how to properly set up and configure Gii, the code generation tool for Yii2. We then covered how we can automatically create Active Record classes based upon our database schema using both the web and console interface for Gii in addition to many of the common methods and properties we can bind to our Active Record classes, such as validation rules, attribute labels, and behaviors. Next, we covered how to create basic models that do not depend upon our database and how to add scenarios to our models and Active Record classes. We finally covered how we can use the Gii tool to create HTML forms based upon our models and explored some of the functionality that comes with the ActiveForm
class.
In the next chapter, we are going to expand our knowledge of the available helpers and widgets that come with Yii2. We will also dive into modules in Yii2 and explore how we can use them to create reusable self-contained applications that...