23 design patterns with full memory

Creation Mode     Slingshot Draw Crew (Simplex Draw Jianyuan)

Structural model      , the outer bridge is a family town (the outer bridge is suitable for group sharing)

Behavioral Model      Intermediary (Solution) Interviewing Models (Strategies) Watching Fate, Blaming Dad (Repeat)

 

 

First, the classification of design patterns

Generally speaking, design patterns are divided into three categories:

There are five types of creational patterns: factory method pattern, abstract factory pattern, singleton pattern, builder pattern, and prototype pattern.

There are seven structural patterns: adapter pattern, decorator pattern, proxy pattern, appearance pattern, bridge pattern, composition pattern, and flyweight pattern.

There are eleven behavioral patterns: strategy pattern, template method pattern, observer pattern, iteration sub pattern, responsibility chain pattern, command pattern, memorandum pattern, state pattern, visitor pattern, mediator pattern, and interpreter pattern.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327033854&siteId=291194637