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

DevShed: Building Interpreter Classes with PHP 5

Simon Jodet: Partial mocks with Mockery

DevShed: Expanding the Application Range of Visitor Objects in PHP 5

Raphael Stolt's Blog: Using MongoHq in Zend Framework based applications

Alex Simonenko's Blog: Installing PHP 5.3.6 on OS X Lion


Community Events





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


security voicesoftheelephpant tool community introduction language composer framework package interview symfony opinion podcast laravel version library series release mvc update

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