News Feed
Sections




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

DevShed:
Developing a Form Director Class
October 18, 2006 @ 15: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.

0 comments voice your opinion now!
tutorial form director class builder object tutorial form director class builder object


blog comments powered by Disqus

Similar Posts

Builderau.com.au: Cache PHP scripts with APC module

DZone.com: Factory patterns: Collaborators Map

PHP-Coding-Practices.com: How I Turned A Slow Array Sort Into A Quick One Using Quicksort Algorithm

Gonzalo Ayuso's Blog: Inject dependencies via PhpDoc

Lorna Mitchell's Blog: PHP REST Server (Part 3 of 3)


Community Events





Don't see your event here?
Let us know!


opinion framework interview introduction unittest threedevsandamaybe install developer testing list series community wordpress code configure release laravel refactor language podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework