Implementing the Factory Pattern in PHP
Factory Patterns allow you to write code that creates an instance of a class without knowing, in advance, the class you need to instantiate. Chuck Hagenbuch demonstrates how to implement Abstract Factories in PHP.
Possibly Related posts (machine generated):
- Followups: Namespaces in JavaScript
- Design patterns for XML
- The State of URL Abstraction
- Design Patterns for Scripted Applications
- Web Design Patterns
More like this: design-patterns, PHP.
This entry was written by
Bill Humphries and posted on
July 21, 2003 at 12:00 am and filed under Uncategorized. Bookmark the
permalink. Follow any comments here with the
Atom feed for this post.
Both comments and trackbacks are currently closed.