Tag Archives: factory
The Factory Pattern: OOP Techniques in PHP
Posted on 02. Mar, 2009 by Will Fitch.
0
The purpose of the factory pattern is to assist with maintaining loose coupling. Code that is tightly coupled is error prone in that if a class is changed, it can have a domino affect to other scripts using it. This is typical to large-scale systems and smaller systems that grow very fast.



