Classification of design Patterns

Source: Internet
Author: User
Design pattern: pattern is a solution to the problem, it has been applied to a practical environment. And can be applied to other environments.

Classification of GOF Design patterns:
Classification by objective criteria:
1. Create: Creational is related to the creation of objects.
2. Structural type: Structural a combination of classes or objects.
3. Behavioral: Behavioral Describes how classes or objects interact and assigns responsibilities.
Create pattern
1. Abstract Factory mode Abstractfactory
2. Builder Mode Builders
3. Factory mode Factory method
4. Prototype Mode Prototype
5. Single case Mode Singleton
Structural mode
1. Adapter Mode Adapter
2. Bridging Mode Bridge
3. Combination Mode Composite
4. Decorative Mode Decorator
5. Appearance mode facade
6. Enjoy meta-mode Flyweight
7. Agent Mode Proxy
Behavioral patterns
1. Responsibility chain mode Chain of Responsibility
2. Order Mode command
3. Interpreter Mode Interpreter
4. Iterator Mode Iterator
5. Broker Mode Mediator
6. Memo Mode Memento
7. Observer Mode Observer
8. Status Mode state
9. Policy Mode Strategy
10. Template Method Mode
11. Visitor Mode Visitor

Classification of design Patterns

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.