Log in

Courses

Magento 2 Router Wizardry artwork

Magento 2 Router Wizardry

Learn advanced routing concepts, create a custom router, and efficiently structure code for dynamic data loading.

Last updated 1 month ago

This is a premium course

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

Enroll now

There are 20 lessons in this course:

Install prerequisites and create a module skeleton in Magento
3:10

Install prerequisites and create a module skeleton

Create a custom route and controller action in Magento
2:39

Create a custom route and controller action

Trace a standard router request with Xdebug in Magento
8:56

Trace a standard router request with Xdebug

Identify routers and routing priority in Magento
4:33

Identify routers and routing priority

Determine when to create a custom router in Magento
1:49

Determine when to create a custom router

Determine router sort order in Magento
2:39

Determine router sort order

Create a custom router in Magento
4:38

Create a custom router

Match a request to a custom router in Magento
3:29

Match a request to a custom router

Return an action response or bypass the router in Magento
4:33

Return an action response or bypass the router

Create a block, template, and stylesheet in Magento
4:33

Create a block, template, and stylesheet

Create a ViewModel in Magento
4:26

Create a ViewModel

Fetch a URL parameter with a ViewModel in Magento
1:32

Fetch a URL parameter with a ViewModel

Retrieve product data with a ViewModel in Magento
3:59

Retrieve product data with a ViewModel

Define hard dependencies with Composer in Magento
4:19

Define hard dependencies with Composer 2

Access a helper class with a ViewModel in Magento
3:53

Access a helper class with a ViewModel

Solve the N+1 problem with SearchCriteriaBuilder in Magento
4:05

Solve the N+1 problem with SearchCriteriaBuilder

Use array_map with a static function in Magento
4:11

Use array_map with a static function

Downloadable archive of the module

Catch and write errors to a log file in Magento
1:51

Catch and write errors to a log file

Plan next steps with advanced routing in Magento
0:51

Plan next steps with advanced routing