Design Pattern and gof

Source: Internet
Author: User
Design Pattern and gof
With the increasing number of documents in the field of design patterns, many definitions of design patterns have emerged: 1. design patterns are repeated solutions to repeated design problems-Smalltalk Manual 2. design patterns have a set of Pree that describes how to implement specific task rules in the software development field, 19943 the design model emphasizes repeated structural design themes, the framework focuses on detailed design and implementation-coplie And Schmit 19954 design patterns are used to solve repeated design problems in specific design situations, it also provides a solution for this problem, such as buschman and Meunier. 1996 gamma, Helm, Johnson and vlissides [1995] co-author design patterns-elements of reusable software. The book has become an unprecedented best-selling book, and these four authors are called "Gang of Four", which is also known as gof. The design patterns book contains 23 medium patterns and has several well-known applications. The authors of the design patterns divide the 23 design patterns into three types: the creational pattern: creates an object for you without directly instantiating the object. Structural Pattern: helps you combine objects into larger structures. For example, complex user interfaces and statistical data. Behavioral pattern: helps to define the communication between objects in the system and Program How to control the process. Creational pattern: 1 factory method factory method2 Abstract Factory mode abstract factory3 standalone mode singleton4 generator mode builder5 prototype schema prototype Schema (structural pattern) has: 1 adapter mode adapter2 Bridging Mode bridge3 combination mode composite4 decorator5 appearance mode flyweight7 proxy mode proxy behavior mode (behavioral pattern) has: 1 responsibility chain mode chain of responsibility2 command mode command3 interpreter mode interpreter4 iterator mode iterator5 intermediary mode mediator6 memo mode memento7 observer mode observer8 status mode state9 policy mode strategy10 template method mode template method11 visitor mode visitor reference: http://www.dofactory.com/Patterns/Patterns.aspx

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.