Skip to content

baizn/designPatterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

设计原则及设计模式

三个文件夹作用说明:

  • principle:设计原则;
  • patterns:设计模式;
  • patterns-ts:基于TypeScript的设计模式实现。

设计原则

  • SRP;
  • OCP;
  • LSP;
  • ISP;
  • DIP。

设计模式

创建型模式
  • Abstract Factory;
  • Builder;
  • Factory Method;
  • Prototype;
  • Singleton。
结构型模式
  • Adapter;
  • Bridge;
  • Composite;
  • Decorator;
  • Facade;
  • FlyWeight;
  • Proxy;
行为模式
  • Chain Of Responsibility;
  • Command;
  • Interpreter:
  • Iterator;
  • Mediator;
  • Memento;
  • Observer;
  • State;
  • Strategy;
  • Template Method;
  • Visitor。

About

设计原则及23种经典设计模式

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published