- Free Delta
- PHP design patterns
PHP design patterns
In this section you will find Design Patterns like Factory and Singleton with Object Oriented Programming OOP in PHP 5
Polymorphism with PHP 5
A php practical real life sample with polymorphism, inheritance and encapsulation in Object Oriented Programming
Iterator Sample Code
Iterator: to wrap the looping routine through a collection of objects.
Singleton Sample Code
One of the most pattern used in Object Oriented Programming: the singleton, use it when you need only one instance of an object
Adapter Sample Code
Read this article about design patterns: ADAPTER -- also called WRAPPER --
implemented in PHP 5
Factory Sample Code
This article is about the Factory pattern: a class that creates other classes.