New yii2 controllers e2: controller life cycle, events – yii2 tutorials | Part 5

yii2 controllers e2: controller life cycle, events – yii2 tutorials | Part 5In the following video, we will understand the life cycle of the controller and its events.
We will see how to attach an event listener to controller and how to change the layout for particular actions. We will also understand how to do some actions on controller before action and after action.

Official Documentation about controllers
https://www.yiiframework.com/doc/guide/2.0/en/structure-controllers

———————————————————————————-
Check my other videos about yii2 framework
———————————————————————————-
Getting started with yii2 framework:

Yii2 Crash course:

Building a REST API using yii2.

Check my Github:
https://github.com/thecodeholic

Follow me on social media:
https://www.facebook.com/thecodeholic
https://twitter.com/thecodeholic