Yii2 – What you need to know – Part IV (Events, Behaviors & Errors)

Yii2 – What you need to know – Part IV (Events, Behaviors & Errors)

In this installment of the series where we are exploring the Yii2 framework, we will look in detail at the Event Managements, Behavior management and Error Handling features of the Yii2 framework. There are some notable differences in the way Yii2 handles these critical features when compared to how Yii used to handle them. Events For those of you that never used events in your previous Yii based projects, let me tell you, you have been missing a very powerful feature. Events are very useful for two reasons. First, they can make your components more flexible. Second, you can hook your own