Design Patterns in PHP: Using Factories

Author: 
Published: January 19, 2014
Link: http://coderoncode.com/2014/01/19/design-patterns-php-factories.html
Excerpt: “The factory pattern is one of the most commonly used Design Patterns, it is useful when we need to choose between several interchangeable classes at runtime. By using factories we are also separating the creation of an object from the actual implementation.”

Tagged with: , ,
Posted in PHP

Categories