Design Patterns: They are the solutions/patterns for common recurring problems in design. Basic its a way to implement a structured approach in such a way its feasible to the problem.
There are various design patterns but are broadly categorized as the following:
- Creational Design Pattern
- Structural Design Pattern
- Behavioral Design Pattern
Creational Design Pattern: As the name itself is self sufficient to explain, these are the patterns which will be used for creating instances/objects. Important creational design patterns are as follows:
- Factory Pattern
- Builder Pattern
- Singelton
- Abstract Factory
- Prototype