• PHP design patterns

  • 230__patterns.gif

    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

See more..

 

Iterator Sample Code

Iterator: to wrap the looping routine through a collection of objects.

See more..

 

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

See more..

 

Adapter Sample Code

Read this article about design patterns: ADAPTER -- also called WRAPPER --
implemented in PHP 5

See more..

 

Factory Sample Code

This article is about the Factory pattern: a class that creates other classes.

See more..