What is a Design Pattern
The design patterns is communicating objects and classes that are customized to solve a general design problem in a particular context.
A design pattern names, abstracts, and identifies the key aspects of a common design structure that make it useful for creating a reusable object-oriented design. The design pattern identifies the participating classes and instances, their roles and collaborations, and the distribution of responsibilities.
Types of Software Design Patterns
Designing object-oriented software is hard, and designing reusable object-oriented software is even harder.
Christopher Alexander says, “Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice”.
Even though Alexander was talking about patterns in buildings and towns, what he says is true about object-oriented design patterns.
Important Topics for the Types of Design Patterns
- What is a Design Pattern
- Types of Design Patterns
- Creational Design Pattern
- Structural Design Patterns
- Behavioral Design Pattern
Contact Us