Published On Sep. 30th 2016

The PHP Practitioner: Refactoring to Controller Classes

Episode 23 Run Time 17:34

So far in this series, our "controllers" have simply been plain PHP files. In this episode, however, we'll refactor the router to allow for loading and calling actions on a controller class. I think you'll find that this drastically simplifies our workflow.