karlpatrickespiritu/TLDR-Learning-JS-Design-Patterns-by-Addy-Osmani
关于
A TL;DR for the book "Learning JavaScript Design Patterns" by Addy Osmani
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文TLDR-Learning-JS-Design-Patterns-by-Addy-Osmani
A too long; didn't read summary of the book Learning JavaScript Design Patterns by Addy Osmani
Anti-Patterns
- Bad solution to a particular problem.
- Knowledge of anti-patterns is critical for success. Once we are able to recognize such anti-patterns, we're able to refactor our code to negate them so that the overall quality of our solutions improves instantly.
Categories Of Design Pattern
Creational
Creational design patterns focus on handling object creation mechanisms where objects are created in a manner suitable for the situation we're working in.
Patterns: Constructor, Factory, Abstract, Prototype, Singleton and Builder
Structural
Structural patterns are concerned with object composition and typically identify simple ways to realize relationships between different objects.
Patterns: Iterator, Mediator, Observer and Visitor
Behavioral
Behavioral patterns focus on improving or streamlining the communication between disparate objects in a system.
Patterns: Iterator, Mediator, Observer and Visitor
Design Patterns
- Constructor Pattern
- Module Pattern
- Revealing Module Pattern
- Singleton Pattern
- Observer Pattern
- Mediator Pattern
- Prototype Pattern
- Command Pattern
- Facade Pattern
- Factory Pattern
- Mixin Pattern
- Decorator Pattern
- Flyweight Pattern
Contributing
Don't be shy! Lets make the docs better to help out our other fellow devs to learn design patterns in JavaScript.
Please do review the book first before making any PR fixes/additions to the master. Thanks!
探索相关项目
加载中…
