title: Event-driven MVC application
body: <p>I have a MVC application which uses events(hooks) and I have a question about when to trigger an event.</p>
  
  <p>There are three options:</p>
  
  <ul>
  <li>trigger in models(this approach will mess-up the code, but gain a little more flexibility)</li>
  <li>trigger in controllers(after or before calling some models)</li>
  <li>creating a new layer of abstraction between controllers and models that extends my models and trigger the event(decorator pattern)</li>
  </ul>
  
  <p>Thank you</p>