What is design mode – Summary

Source: Internet
Author: User

The original URL will be constantly updated : The process of the Technical Blog "What is design mode – summary" it.zuocheng.net
How was the design pattern born?
  • There are things in the field that are constant and some are constantly changing.
  • There is always a certain relationship between the unchanging things and the things that change, in accordance with certain rules.
  • Because of these specific relationships, experienced designers always make repetitive designs and reuse their designs. They are designed for general purpose and also offer very good design
  • A designer without experience, but not aware of these relationships, do not have a good design
  • Experienced designers impart good, reused design and experience to inexperienced designers, and describe some of the unchanging relationships between those things, which are the prototypes of design patterns
  • After these relationships and designs are collated and summarized, the design pattern is born.
What is the design pattern?
  • A reproducible solution for design problems often encountered by program designers (the Smalltalk Companion)
  • Set up a series of rules that describe how to accomplish specific tasks in the field of software development
  • Focus on and reuse of repeatable structural design schemes
  • Presents a repeatable design problem that occurs in a specific design environment and provides a solution
  • Identify and identify abstract relationships at the class and instance level or at the component level
The role of design patterns?
    • Enhanced scalability/scalability of the design (scalable/scalability)
    • Reuse of enhanced Designs
    • Common language in the design field (delivery, communication)
A beginner's approach to mastering design patterns
    • Imitation – The quickest way to learn and to be more rapid in the process
    • Learning Books – Comparatively speaking, learning faster and getting too slow
    • Constantly refactor your own code to understand design patterns – the slowest learning efficiency, but the best way to get the most out of the process
    • Team discussions, sharing – learning is faster, more rapid, but time is expensive, and team discussions are often not high-frequency activities
How to improve your ability to use design patterns
    • Learn the usage scenarios of design patterns and simply use common design patterns
    • Transform the design pattern to better meet the business scenario
    • Summarize business scenarios, create and assemble new design patterns, so use design patterns must have a lot of experience to accumulate
    • The design pattern is used well, without experience, without accumulation

What is design mode – Summary

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.