I haven't written any articles for a long time. The C # syntactic sugar sharing I wrote some time ago has been supported by many friends. This also gives me the confidence to continue sharing. Thank you very much! This time I will share with you the design patterns. I personally think that the design patterns are also an essential knowledge point for us to improve our personal technical skills. Recently I have reviewed the design patterns, today, I will share my learning experiences with you.
Some friends may wonder what the design pattern is. Is it a framework? Here I will briefly share my personal understanding. If there are some mistakes, please forgive and correct them. If you don't talk nonsense, go directly to the topic:
Differences between design patterns and frameworks:
The design pattern is the best solution for a certain type of problem and has been successfully applied to many systems. It solves a problem that occurs repeatedly in a specific scenario. Therefore, the design patterns can be defined as follows: "design patterns are successful reusable design schemes that are summed up from many excellent software systems.
A framework is not a model. A framework is a set of classes used to develop application systems for a certain field. Programmers can use the classes provided by the Framework to design an application, while a pattern can be used for specific problems when designing the application. A framework usually includes multiple design patterns, which are the most reusable methods for Object-Oriented systems.
Shows the classification of design patterns:
This article will share with you the differences between design patterns and frameworks and the classification of design patterns. Next time, we will share with you the specific design patterns. Hope to help you! Thank you.
Source: my personal website