Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freeshineit/design_patterns
设计模式 typescript 实现 设计实现 设计原则 算法
https://github.com/freeshineit/design_patterns
algorithms design-patterns interview typescript
Last synced: about 1 month ago
JSON representation
设计模式 typescript 实现 设计实现 设计原则 算法
- Host: GitHub
- URL: https://github.com/freeshineit/design_patterns
- Owner: freeshineit
- Created: 2017-11-15T01:58:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T16:53:40.000Z (over 1 year ago)
- Last Synced: 2023-08-02T11:29:20.614Z (over 1 year ago)
- Topics: algorithms, design-patterns, interview, typescript
- Language: TypeScript
- Homepage:
- Size: 428 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 编程思想
- [OOP](./src/Programming_Ideas/OOP)(面向对象)
- [IOP](./src/Programming_Ideas/IOP)(面向接口)
- [AOP](./src/Programming_Ideas/AOP)(面向切面)
- [POP](./src/Programming_Ideas/POP)(面向过程 git、linux)
## [算法](./src/Algorithm)
## 设计模式(23 种设计模式)-- typescript
## 创建型模式
- [x] [单例模式](./src/Design_Patterns/Singleton) \*\*
- [x] [工厂方法模式](./src/Design_Patterns/Factory) \*\*
- [x] [抽象工厂模式](./src/Design_Patterns/Factory)
- [建造者模式]
- [原型模式]
## 结构型模式
- [x] [适配器模式](./src/Design_Patterns/Adapter) \*\*
- [x] [装饰器模式](./src/Design_Patterns/Decorator) \*\*
- [x] [代理模式](./src/Design_Patterns/Proxy) \*\*
- [外观模式]
- [桥接模式]
- [组合模式]
- [享元模式]
## 行为型模式
- [策略模式]
- [模板方法模式] \*\*
- [x] [观察者模式](src/Design_Patterns/Observer/) \*\*\*
- [迭代器模式]
- [责任链模式]
- [命令模式]
- [备忘录模式]
- [状态模式] \*\*
- [访问者模式] \*\*
- [中介者模式]
- [解释器模式]
## [设计模式的六大原则](https://github.com/freeshineit/design_patterns/issues/20)
[设计原则](https://www.bilibili.com/video/BV1kW411P7KS/?spm_id_from=333.788.videocard.1)
S O L I D
- [单一职责原则]
- [开放封闭原则] 对扩展开放 对修改封闭
- [里氏替换原则](https://zh.wikipedia.org/wiki/%E9%87%8C%E6%B0%8F%E6%9B%BF%E6%8D%A2%E5%8E%9F%E5%88%99)
- [接口独立原则]
- [依赖倒置原则]
- [迪米特原则]