I blogged about programming,tech,anything about new gadgets and games

 

Feedzilla | Exploring PHP Design Patterns

“Design patterns provide a generic reusable solution to common problems. A design pattern is not a concrete solution that can be converted in to source code or a machine code rather it is a template which can be used to solve a problem in different situations. Design patterns help in faster development as the templates are proven and from the developer’s point, only implementation is required. Design patterns not only make software development faster but also encapsulate big ideas in a simpler way. In the PHP world, following five design patterns are used in general:

•The Factory Pattern
•The Singleton Pattern
•The Observer Pattern
•The Chain of Command Pattern
•The Strategy Pattern