MindMap Gallery Design Patterns
Help developers design reusable, maintainable and scalable software systems more effectively. It comprehensively lists various design patterns and design principles, supplemented by detailed cases to help you better understand the usage scenarios of design patterns.
Edited at 2024-03-26 15:05:31This Valentine's Day brand marketing handbook provides businesses with five practical models, covering everything from creating offline experiences to driving online engagement. Whether you're a shopping mall, restaurant, or online brand, you'll find a suitable strategy: each model includes clear objectives and industry-specific guidelines, helping brands transform traffic into real sales and lasting emotional connections during this romantic season.
This Valentine's Day map illustrates love through 30 romantic possibilities, from the vintage charm of "handwritten love letters" to the urban landscape of "rooftop sunsets," from the tactile experience of a "pottery workshop" to the leisurely moments of "wine tasting at a vineyard"—offering a unique sense of occasion for every couple. Whether it's cozy, experiential, or luxurious, love always finds the most fitting expression. May you all find the perfect atmosphere for your love story.
The ice hockey schedule for the Milano Cortina 2026 Winter Olympics, featuring preliminary rounds, quarterfinals, and medal matches for both men's and women's tournaments from February 5–22. All game times are listed in Eastern Standard Time (EST).
This Valentine's Day brand marketing handbook provides businesses with five practical models, covering everything from creating offline experiences to driving online engagement. Whether you're a shopping mall, restaurant, or online brand, you'll find a suitable strategy: each model includes clear objectives and industry-specific guidelines, helping brands transform traffic into real sales and lasting emotional connections during this romantic season.
This Valentine's Day map illustrates love through 30 romantic possibilities, from the vintage charm of "handwritten love letters" to the urban landscape of "rooftop sunsets," from the tactile experience of a "pottery workshop" to the leisurely moments of "wine tasting at a vineyard"—offering a unique sense of occasion for every couple. Whether it's cozy, experiential, or luxurious, love always finds the most fitting expression. May you all find the perfect atmosphere for your love story.
The ice hockey schedule for the Milano Cortina 2026 Winter Olympics, featuring preliminary rounds, quarterfinals, and medal matches for both men's and women's tournaments from February 5–22. All game times are listed in Eastern Standard Time (EST).
Design Patterns
7 principles
single responsibility principle
Interface isolation principle
dependency inversion principle
Richter substitution principle
Demeter's Law
open-close principle
Combination/Aggregation Reuse Principles
UML class diagram
basic introduction
UML diagram
use case diagram
static structure diagram
Class Diagram
rely
Generalization (inheritance)
accomplish
association
polymerization
combination
object graph
Package map
component diagram
Deployment diagram
dynamic behavior diagram
interaction diagram
Timing diagram
Collaboration diagram
State diagram
activity diagram
structural type
Nature
Handle combinations of classes or objects
two types
Class structure type
Object structure type
7 modes
Adapter mode Adapter
introduce
Class adapter (inheritance)
Object Adapter (Composition)
interface adapter
example
Bridge mode Bridge
Schematic diagram
Appearance mode Facade
introduce
Composite mode Composite
introduce
Flyweight mode Flyweight
Decorator pattern Decorator
introduce
Proxy mode Proxy
introduce
static proxy
dynamic proxy
JDK proxy
Cglib proxy
the difference
Creative
Nature
Patterns for creating objects: abstracting instantiation of classes
Features
Encapsulates specific class information
Hidden class instantiation process
5 modes
Singleton pattern Singleton
introduce
Hungry Chinese style
static constant
static code block
lazy man style
Not thread safe
Thread safety
synchronized code block
sync method
double check
static inner class
enumerate
Prototype pattern
introduce
scenes to be used
Builder pattern Builder
scenes to be used
Force object creation
There are certain dependencies or constraints between attributes
Create immutable objects
example
Factory pattern
Simple factory pattern
Factory Method Pattern Factory Method
introduce
example
Abstract Factory Pattern Abstract Factory
introduce
behavioral
Nature
Abstractions for dividing responsibilities and algorithms between different objects
two types
Class structure type
Use inheritance relationships to distribute behavior among several classes
Object structure type
Use object aggregation to distribute behavior
11 modes
Template Method Pattern Template Method
introduce
Command mode Command
Iterator pattern Iterator
Observer Pattern Observer
introduce
Mediator Pattern Mediator
State mode State
intention
Class Diagram
accomplish
Strategy Mode Strategy
introduce
Class Diagram
Comparison with state mode
accomplish
Example
Optimize queries using strategy pattern
Chain of Responsibility model Chain of Responsibility
Class Diagram
Visitor pattern Visitor
Memento mode Memento
Interpreter modeInterpreter
Use in combination
Factory pattern and strategy pattern In conjunction with