One of my old friends who just started learning web development in PHP asked me to explain the nature of routing. When I referred him to the official documentation of Symfony, he said, “No, I want to build my own one so I could understand the architecture from the inside out.” Well, here we go, Sasha.
This article aims to explain the basics of routing, architectural approaches, and how to build your own engine. It might be a good start in sorting out such complicated components as Laravel’s and Symfony’s and not to get confused in the code.
Cat guy. Huge nerd.