PHP Tutorial
Top 20 Similar PHP Tutorials
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.
Advanced PHP: How to use the Singleton Design Pattern
The Singleton Pattern is one of the GoF (Gang of Four) Patterns. This particular pattern provides a method for limiting the number of instances of an object to just one. It's an easy pattern to grasp once you get past the strange syntax used.










