News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
DevShed.com:
The Singleton and Factory Patterns in PHP - Working With Singletons
December 01, 2005 @ 07:31:21

DevShed.com has posted part four in their "The Singleton and Factory Patterns in PHP" series today - "Working with Singletons".

In this fourth part of the series covering the Singleton and Factory Design Patterns in PHP, we will discuss issues stemming from the fact that PHP 4 does not have an abstract class. Since we found it useful in the previous article to define the form element factory class as an abstract class, in this article we will discuss the process for making the form element factory class a Singleton, and how this serves our purposes.

They walk you through the process of using the Singleton pattern, including how to make it all work in PHP4. They keep with the form creation example, and show how to interlace the pattern with it...

0 comments voice your opinion now!
php pattern singleton factory form create php pattern singleton factory form create



Similar Posts

Utah PHP Users Group: CodeIgniter - the PHP answer?

O\'Reilly: PHP Code Generation with Elisp

PHP Security Blog: Int. PHP Conf 2005 - A sniffer\'s paradise

Site News: New PHPDeveloper.org Weekly Newsletter Offered

HowToForge.com: The Ultimate Media Server - Apache+SSL , PHP, MySQL and Jinzora


Community Events









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


code conference PEAR releases release developer application zendframework example package framework cakephp PHP5 security book mysql ajax job database zend

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