Url Routing with PHP - Part Three

In the final part of this series, I will build a functional modular front controller that can be easily adapted to small projects. It is basically the "C" in MVC for a simple MVC framework. If you haven't read the first two articles I recommend that you read over them first. Url Routing with PHP - Part One and Url Routing with PHP - Part Two.
Read more

Url Routing with PHP - Part Two

This is the second part of a series, I assume you have read Url Routing with PHP - Part One as it covers the basics that I'll build on in Part Two.
Read more

Url Routing with PHP - Part One

Most PHP frameworks use some variation of the front controller pattern to centralize common code and logic. There are advantages and disadvantages to this. I am going to ignore those for now. In fact the first part of this series will explore a simple procedural URL routing method that contains many of the disadvantages. In later articles we will build upon this basis and address the disadvantages.
Read more