The life of a request

← The life of a request

Ashterix

docs(articles): SEO titles, intros and a section preview image for From Magento to Symfony

en/articles/magento-to-symfony/basics/lifecycle.md +4 −0

1 + ---
2 + title: 'The Symfony request lifecycle: HttpKernel and kernel.* events'
3 + ---
4 +
1 5 # The life of a request
2 6
3 7 In Magento a request goes through the FrontController, the router list and the action's `execute()`. In Symfony `HttpKernel` follows the same path, but every step is an event anyone can subscribe to: routing, security, argument conversion, exception handling. Understand this diagram, and most of Symfony's "magic" becomes ordinary event listeners.