分类
创建型模式(Creational Pattern)- 5种
- 抽象工厂模式(Abstract Factory Pattern)- https://swsmile.info/post/design-pattern-factory-pattern/
- 建造者模式(Builder Pattern)- https://swsmile.info/post/design-pattern-builder-pattern/
- 工厂方法模式(Factory Method Pattern)- https://swsmile.info/post/design-pattern-factory-pattern/
- 原型模式(Prototype Pattern)
- 单例模式(Singleton Pattern)- https://swsmile.info/post/design-pattern-singleton-pattern/
行为型(Behavioral Pattern)-11种
- 命令模式(Command Pattern)- https://swsmile.info/post/design-pattern-command-pattern/
- 中介者模式(Mediator Pattern)
- 观察者模式(Observer Pattern)- https://swsmile.info/post/design-pattern-observer-pattern/
- 状态模式(State Pattern)- https://swsmile.info/post/design-pattern-state-pattern/
- 策略模式(Strategy Pattern)- https://swsmile.info/post/design-pattern-strategy-pattern/
- 职责链模式(Chain of Responsibility Pattern)
- 解释器模式(Interpreter Pattern)
- 迭代器模式(Iterator Pattern)
- 备忘录模式(Memento Pattern)- TODO
- 模板方法模式(Template Method Pattern)- https://swsmile.info/post/design-pattern-template-method-pattern/
- 访问者模式(Visitor Pattern)
结构型(Structural Pattern)- 7种
- 适配器模式(Adapter Pattern)- https://swsmile.info/post/design-pattern-adapter-pattern/
- 桥接模式(Bridge Pattern)
- 组合模式(Composite Pattern)- https://swsmile.info/post/design-pattern-composite-pattern/
- 装饰模式(Decorator Pattern)- https://swsmile.info/post/design-pattern-decorator/
- 外观模式(Facade Pattern)
- 享元模式(Flyweight Pattern)- https://swsmile.info/post/design-pattern-flyweight-pattern/
- 代理模式(Proxy Pattern)- https://swsmile.info/post/design-pattern-proxy/
Reference
- Wikipedia - Software design pattern
- 《Design patterns : elements of reusable object-oriented software》
FEATURED TAGS
algorithm
algorithmproblem
architecturalpattern
architecture
aws
c#
cachesystem
codis
compile
concurrentcontrol
database
dataformat
datastructure
debug
design
designpattern
distributedsystem
django
docker
domain
engineering
freebsd
git
golang
grafana
hackintosh
hadoop
hardware
hexo
http
hugo
ios
iot
java
javaee
javascript
kafka
kubernetes
linux
linuxcommand
linuxio
lock
macos
markdown
microservices
mysql
nas
network
networkprogramming
nginx
node.js
npm
oop
openwrt
operatingsystem
padavan
performance
programming
prometheus
protobuf
python
redis
router
security
shell
software testing
spring
sql
systemdesign
truenas
ubuntu
vmware
vpn
windows
wmware
wordpress
xml
zookeeper