DevShed continues their look at the Model-View-Controller schema in PHP with this new part in the series, part two detailing the creation of the first part of the setup - the controller.
The next step on this journey consists of implementing the MVC schema in the context of a real-world application. We're going to build a web page controller system, which will be capable of creating different style sheets on the fly. In this way it will generate several views from the same model, that is the web document in question.
They walk through their example, creating their PageController to handle generating pages of different styles, a page generator class to use the controller, making a style sheet generator class, and putting them all together to create a working MVC schema.