 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
DevShed: Developing a Form Director Class
by Chris Cornutt 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.
voice your opinion now!
tutorial form director class builder object tutorial form director class builder object
DevShed: Introducing Builder Objects in PHP 5
by Chris Cornutt October 04, 2006 @ 15:03:57
DevShed kicks off another three-parts series today with part one of a look at working with builder objects in PHP5.
In this article, the first of a three-part series, you will be introduced to the basics of creating directors and builder objects with PHP 5. As usual, there will be copious examples to help you quickly start using the builder pattern in your own PHP projects.
Well, to put things in a simple perspective, when the builder pattern is applied, two objects are put into action to create a third one. First, these two objects create a director; as its name suggests, the director controls all aspects of the creation process and determines what pieces and modifications will be introduced into the target object. Finally, a builder is tasked with constructing the third object in question, in accordance with particular specifications. Sounds fairly simple, doesn't it?
They start with a look at starting with the Builder pattern, building a basic XML document to provide the structure for the target object. From that information, they show how to create the object and give a simple class to help direct that object along.
voice your opinion now!
builder prattern object xml creation director class builder prattern object xml creation director class
WeberDev.com: Using Adobe's Flex Builder tool to connect a PHP backend to the front end
by Chris Cornutt March 23, 2006 @ 07:44:41
In a previous WeberDev.com article, Mike Potter showed how to get PHP and Flex to play nicely together, combining the two for a simple application. In this new article, he takes it a step further by showing how you can directly pass data between Flex and PHP without the need for XML generation.
The key to doing this is a small project called AMFPHP. As stated on their webpage, the project was originally started by Wolfgang Hamann. The team has grown lately, and now has about 5 or 6 developers. Thanks to their hard work, we can now have a Flex based front end to our PHP backend applications.
He creates another application from scratch, providing all of the database structure, XML, and ActionScript, and PHP code that you'll need to follow along. The application is a simple display of database records, in this case user data from the MySQL table.
voice your opinion now!
php adobe flex builder backend front-end php adobe flex builder backend front-end
|
Community Events
Don't see your event here? Let us know!
|