I was reading the documentation about Events and Behaviors. Very Interesting reading about Behaviors BTW. Still have to digest that. The comments have a “Real World Example” of an event. Basically an event is conditionally registered in the after save event, then a method is attached to the event, then the event is enabled in the controller. But why all the extra event handling? Couldn’t I just call my method in the afterSave method? What is the advantage to all the extra event handling code?
I wanted to ask this question in context, but I am too new to post comments there.