PHP Design Pattern
PHP is an open source Language so we are seeing a lot of greate Open source product such as Drupal, Sugar , Magento and lots more..All these are based on certain design pattern.
Design pattern was firstly introduced by Eric Gamma and their three friends in 1972.Design pattern is basically a pattern of software design that is implemented on multiple projects and their intended success gives an idea to prove these pattern as design pattern. Although Object Oriented Design pattern is not only available for PHP but these design patterns are used for almost all programming language that support Object Oriented Programming.
Design pattern are basically the way to solve the problem and the way to get your intended result with the best manner.So Design patterns are not only the way to create large and robust system but it also provide the great architecture in friendly way.
Following are some of the benefits of using design pattern
>> Easy even for large software application
>> Implement the Code reusable concept
There are five basic design pattern in PHP5 that are mostly used although these numbers are not fixed
i) The factory Pattern
ii) The singleton Pattern
iii) The Observer Pattern
iv) The chain of Command Pattern
v) The strategy pattern
In the next series of blog i will explain each one in detail. Till then bye!!!