Let's get started.
Firstly I want to talk about what is design patterns. I will make a short explanation.
Design Patterns are solution of the general problems which may occure at project. These problems occured at the past and if you will face with these problems you can use design patterns or you can develope your own patterns to handle the problem. Design patterns are flexible solutions and the developer can use methods with all programmin languages with Object Oriented programming. With Design Patterns you are using the experiences of most developers.
There are 3 main Design Patterns category:
- Creational Design patterns
- Structural Design Patterns
- Behavioral Design Patterns
Now take a look at them.
Creational Design patterns
Creational design patterns take care about creating the objects. It offers the solutions to create objects and components in OOP programming.
There are 5 types of Creational Design Patterns:
- Factory Method
- Abstract Factory
Structural Design patterns
Structural Design patterns take care of the relations between the objects and structures of the objects. Itnanswers the questions which like Which variables must be defined, which one has to be reaceable from outside, which one will be used for communication...
This design pattern method has 7 types:
Behavioral Design patterns
Behavioral design patterns take care of how the objects and component will communicate with each other and how do they act like. With behavioral design patterns we can createnbest relations between components in the program.
There are 10 types of Behavioral Design patterns:
- Chain of responsibility
That is all in this article
Have good developing
Burak Hamdi TUFAN