karlpatrickespiritu / TLDR-Learning-JS-Design-Patterns-by-Addy-Osmani

A TL;DR for the book "Learning JavaScript Design Patterns" by Addy Osmani

Home Page:http://karlpatrickespiritu.github.io/TLDR-Learning-JS-Design-Patterns-by-Addy-Osmani/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

img

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

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!

About

A TL;DR for the book "Learning JavaScript Design Patterns" by Addy Osmani

http://karlpatrickespiritu.github.io/TLDR-Learning-JS-Design-Patterns-by-Addy-Osmani/

License:MIT License