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

DevShed:
Controlling Online Forms with Builder Objects in PHP 5 (Part 2)
Oct 11, 2006 @ 15:49:00

DevShed is continuing their "using builder objects in PHP5" series today with this new article, a look at implementing the builder objects in a simple, common bit of functionality - forms.

Mastering some of the most popular design patterns with PHP 5 can be sometimes an overwhelming process that requires hard work and experience. However, if you want to tackle the challenge and expand your existing background on them, this article might eventually find a place on your quick reference list.

They start by defining the basic form element class, helping to build out the different elemnts like inputs, selects, and submits. They extend and implement this class with their example, making a complete form with working elements inside.

tagged: builder objects design pattern forms tutorial builder objects design pattern forms tutorial

Link: