Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Developing a Form Director Class
Oct 18, 2006 @ 20:13:00

DevShed is continuing on with their look at using Builder objects (part 1, part 2) with the third and final part of the series - Developing a Form Director Class.

In this article I'll complete the builder pattern, since I'll demonstrate how to define and use a form director class, in this way putting the final strokes on the example that you learned in the previous tutorial.

The tutorial goes back over a few of the concepts and code from the previous part of the series before getting into the form generation with these handy objects. They also show the FormBuilder class (creative name, eh?) that will generate the form's elements as created previously. They wrap it all up with the only new functionality - the Builder object Director class, creating a simple contact form.

tagged: tutorial form director class builder object tutorial form director class builder object

Link:


Trending Topics: