Video Lesson: Overview of routers in Magento

Overview of routers in Magento

This is premium content

Only available to enrolled or University students.
Join today to unlock all lessons in this course.

Overview of routers in Magento

Learn how built in Magento routers process web requests, frontend routes, adminhtml routing, and REST API handling.

Lesson Content

Web requests are processed by the web server, and are then sent through the entry point of the application. The “webroot” of the app is determined by the directory the web server is looking at, which in Magento’s case ispub, and since the default file to handle requests is index.php, this is the entry point of Magento. So every web request in Magento gets sent through this pub/index.php file. This bootstraps the application, kicking off the app initialization process.

Without getting into too much unnecessary detail, Magento has different routers set up to handle different incoming re...

Premium content

Enroll to unlock the full content and all course materials.

Maggie

Hey, I'm Maggie! 👋

Ask me anything.

Want to chat with Maggie?

Enroll in this course for AI tutor access.

Comments

Join the discussion!

Comments

Want to comment on this lesson?

Enroll in this course to leave comments.