Monthly Archive: April 2012

Factory Design Pattern using PHP

Hi Guys, Today we will discuss on the Factory Design Pattern using PHP. It’s most common design pattern and it’s mostly implemented by most of the frameworks and applications. Basically we will first create an Abstract class that will have functions declared in it.

Now I will create MySQLManager class first and it extends from the above class AbstractDatabase and will implement in the above-declared class functions here.


Read more

Optimization WordPress Plugins & Solutions by W3 EDGE