Advanced PHP: Using the Factory Pattern
The factory method pattern is an object-oriented design pattern. Like other creational patterns, it deals with the problem of creating objects (products) without specifying the exact class of object that will be created.
Views: 886 | | by Sean
View this tutorial