Design pattern can separate 3 important parts. Why three part?
- Creational Patterns
- Structural Patterns
- Behavioral Patterns
How can I separate it into three parts? According to what?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
+1 to get Gang of Four.
Also bear in mind that these are basic classic patterns. And the division is done based on how and for what patterns can be used. Like you can see description in Wikipedia.
Creational patterns patterns have to do with class instantiation. They can be further divided into class-creation patterns and object-creational patterns. While class-creation patterns use inheritance effectively in the instantiation process, object-creation patterns use delegation to get the job done.
Structural patterns concern class and object composition. They use inheritance to compose interfaces and define ways to compose objects to obtain new functionality.
Behavioral patterns Most of these design patterns are specifically concerned with communication between objects.
You can also have Concurrency pattern, Enterprise Integration Patterns, Distributed design patterns, etc…