The Factory Design Pattern in PHP PRO

The factory design pattern enables the creation of new objects without having the need to specify the classes that should be instantiated. The following video clip explains this pattern and overviews a sample for its implementation in PHP.

The source code is available for free download in my PHP Design Patterns course at www.abelski.org.

Share:

The Beauty of Code

Coding is Art! Developing Code That Works is Simple. Develop Code with Style is a Challenge!

Update cookies preferences