Chapter 5. Modules, Widgets, and Helpers
Like its predecessor, Yii2 provides several useful tools and reusable code blocks to help us quickly develop our applications, known as widgets and helpers. Yii2 also provides us with the ability to build and include mini applications known as modules that can enable us to rapidly add new features to our application while maintaining a clear separation of concerns in our main application and any extended functionality. In this chapter, we'll cover the basics of building and working with modules within our application. We'll also cover several of Yii2's built-in widgets and helpers and learn how we can implement our own custom widgets.