Are you making use of the event handling system like Symfony event handler, Aura.Signal, Zend event manager or any other in your core framework?
Are you using signal/events before they hit the action class ( controller action ) ?
I have a feeling it will be good to have an event handling system in core of a framework.
The basic idea is to call a signal
- before a route is checked
- before dispatching