aneesahmadweb@gmail.com     03040836207

    Magento have four Routers.

    index.php -> HTTP application -> FrontController -> Routing -> Controller processing -> etc

    Order of Routing

    1. frontControler::dispatch()
    2. Base Router
    3. CMS Router
    4. URL Rewrite Router
    5. Default Router

    Remember: Available routers: *

    Base router: Magento\Framework\App\Router\Base *

    Default router: Magento\Framework\App\Router\DefaultRouter *

    CMS router: Magento\Cms\Controller\Router *

    URL rewrite router: Magento\UrlRewrite\Controller\Router (new)

    Usefull Resources

    https://devdocs.magento.com/guides/v2.2/extension-dev-guide/routing.html

    https://belvg.com/blog/controllers-routers-and-responses-in-magento-2.html

    https://github.com/magento-notes/magento2-exam-notes/blob/master/2.%20Request%20Flow%20Processing/1.%20Utilize%20modes%20and%20application%20initialization.md

    https://www.dckap.com/blog/request-flow-in-magento-2/


    https://nathanmcbride.io/magento2/Request-Flow-In-Magento-2

    About Author

    You may also like

    No Comment

    You can post first response comment.

    Leave A Comment

    Please enter your name. Please enter an valid email address. Please enter a message.