Design Pattern (C # syntax)

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.