What is a Design Pattern?
If you are here reading this post you might be looking a knowledge on Design Patterns and the first question which comes on anyone’s mind is “What is a Design Pattern?”. Lets answer this question in your own way.
You are person who know the syntax of a programming language and you are able to successfully convert any requirement into the code. One fine morning you reach office and your senior tells you about a new project requirement. You understood the requirement and have decided whats need to be done and what are the object of classes required to achieve this. But internally, whole the time from beginning to the end of the development you always know that there can be a better way to achieve this, and of course you search for other solutions to. Whatever you decide to implement you will finish off the task, but was that the best solution for the requirement? When this question comes in to you mind, the answer can be only given in terms of Design Patterns.
A design Pattern is nothing but a conceptual way to represent a reusable solution for a typical problem.
Here is a list of all known Design Patterns:
- Strategy Design Pattern
- Decorator Design Pattern
- Factory Design Pattern
- Observer Design Pattern
- Chain of Responsibility Design Pattern
- Singleton Design Pattern
- Flyweight Design Pattern
- Adapter Design Pattern
- Facade Design Pattern
- Template Design Pattern
- Builder Design Pattern
- Iterator Design Pattern
- Composite Design Pattern
- State Design Pattern
- Proxy Design Pattern
- Command Design Pattern
- Mediator Design Pattern
- Abstract Factory Design Pattern
- Prototype Design Pattern
- Bridge Design Pattern
- Interpreter Design Pattern
- Memento Design Pattern
- Visitor Design Pattern
- Circular Design Pattern
- Double Buffer Design Pattern
- Recycle Bin Design Pattern
- Model-View-Controller Design Pattern
- Model-View-View-Model Design Pattern
I will updating the details of each kind of design patterns as soon as they are ready to be posted.