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
>> Maintenance
>> Documentation
>> Readability
>> 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!!!

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 intoduced by Eric Gamma and their three friends in 1972.Design pattern is baiscally 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 greate architecuture in friendly way.

Following are some of the benefits of using design pattern
>> Maintenance
>> Documentation
>> Readablity
>> Easy even for large software application
>> Implement the Code reusablity 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!!!
i) In the factory

Related posts:

The following two tabs change content below.

Chandra Shekhar

GCP Architect
Chandra Shekhar Pandey is Google certified Cloud engineer, I am Magento2 Trained developer. Having huge experience in designing cloud solution. I have around 12 years of experience with world enterprise IT companies and fortune 500 clients. During my architecture design I am always caring about high availability, fast performance and resilient system. From the programmer background I have huge experience in LAMP stack as well. Throughout my carrier I have worked on Retail, E-Learning, Video... Read More about Chandra Shekhar

Latest posts by Chandra Shekhar (see all)