Skip to content

hubery3721/js-design-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

js-design-patterns

子曰,学而不思则罔,思而不学则殆

目录

  • 原型模式(Prototype)
  • 单例模式(Singleton)
  • 策略模式(Strategy)
  • 工厂模式(Factory)
  • 代理模式(Proxy)
  • 迭代器模式(Iterator)
  • 观察者模式(Observer)
  • 发布-订阅模式(Publish/Subcribe)
  • 命令模式(Command)
  • 组合模式(Composite)
  • 模板-方法模式(Template/Method)
  • 享元模式(Flyweight)
  • 适配器模式(Adaptor)
  • 装饰者模式(Decorator)
  • 中介者模式(Mediator)
  • 职责链模式(ChainOfResponsibility)

后话

本文为《JavaScript 设计模式与开发实践》(曾探 著)学习笔记,笔记中有大量案例出自此书,特此说明

Releases

No releases published

Packages

No packages published