Right now I’m learning about Front Controller in ZF. I know that we can extend request flow with Front Controller’s plugins by implementing methods : routerStartup, routerShutdown, dispatchLoopStartup, preDispatch, postDispatch, dispatchLoopShutdown.
How do you use Front Controller’s plugins?
What are the real world tasks that could be solved using Front Controller’s plugins?
Here are a few examples: