Make a Router

Episode 16 Run Time 24:19

Let's discuss routing in this episode. While, yes, you can create PHP files that correspond to the URI, this breaks down pretty quickly. So instead, we'll make a very basic router. This allows us to associate any URI endpoint with a controller.

View the source for this episode on GitHub.

This lesson was published on August 11, 2016.