Yii2 follows the MVC architecture, so everything the user sees comes from the view layer: view files and layouts, helper classes that build markup, and widgets that render complex UI blocks such as forms and data grids.
arrow_back
Yii2 Framework
Yii2 displaying data: ActiveForm, GridView, and widgets overview
Andrew Dorokhov
schedule
1 min read
code
Need Help with Development?
Happy to help — reach out via the contacts or go straight to my Upwork profile.
work View Upwork Profile arrow_forward
article
Contents
(6)
01
Yii2 flash messages: setFlash, hasFlash, and the Alert widget
1 min
chevron_right
02
Yii2 helpers: Html, Url, dropdown lists, and formatter
3 min
chevron_right
03
Yii2 views and layouts: rendering, params, and blocks
2 min
chevron_right
04
Yii2 GridView: columns, DataProvider, filters, and pagination
2 min
chevron_right
05
Yii2 ActiveForm: models, validation, and form rendering
2 min
chevron_right
06
Yii2 ActiveField: field options, templates, and client validation
3 min
chevron_right