8. ● kernel.request
● kernel.controller
● kernel.view ( when no-response)
● kernel.response
● kernel.finish_request (when response should not modify)
● kernel.terminate (heavy duty stuff)
● kernel.exception (obvious)
Main events
11. ● dispatched as soon as a request arrives
● add information to the request, initialize parts of the
system, return response if possible
● if any listener returns response the others are not called
● ex : routing, firewall, locale
kernel.request
12. ● add version information to request
● some routes should not be available in version 2 -
redirect to some page
kernel.request - todo
15. ● dispatched after the controller is determined
● initialize things, change the controller before executing
● ex : param converter, info collecting
kernel.controller
16. ● handle a preExecute() function on all controllers
kernel.controller - todo
19. ● dispatched after we have a response
● modify the response object just before it is sent
● ex : context, webdebug
kernel.response
20. ● add an extra header on some routes
● change the title of the page
kernel.response - todo