DevShed has posted thier final part in the "User-defined Interfaces in PHP" series today - "Building a Page Generator".
With reference to this final part of the series, I shall put all of the classes to work together into a full-featured example, by including the already familiar (X)HTML widgets in conjunction with the pair of MySQL-processing classes, in order to integrate both types of objects into a page generator class. As a result, complex web page generation can be translated into a more flexible process tackled through an object-based solution.
In this final part of the series on user-defined interfaces in PHP 5, Alejandro puts all of the classes created in the previous articles together to work as a page generator. This allows complex page generation to be translated into a more flexible process through an object-based solution.
Combining the efforts from the two previous articles in the series, they build a class that takes in the data it needs and builds out the page accordingly. The PageGenerator class does all of the work for you, making object-based pages a simple process...