saeed-vayghan / JS-Design-Patterns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS Design Patterns

In software engineering, a software design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design. It is not a finished design that can be transformed directly into source or machine code. Rather, it is a description or template for how to solve a problem that can be used in many different situations. Design patterns are formalized best practices that the programmer can use to solve common problems when designing an application or system. (Source https://en.wikipedia.org/wiki/Software_design_pattern)



General

  1. 01-Constructor Constructor
  2. 02-Module Module
  3. 03-Singleton Singleton
  4. 04-pub-sub 04-psub
  5. 05-Mediator Mediator
  6. 06-Facade Facade
  7. 07-Factory Factory
  8. 08-Decorator Decorator
  9. 09-Adaptor Adaptor
  10. 10-Proxy Proxy
  11. 11-Observer Observer
  12. 12-Bridge Bridge
  13. 13-Memento Memento

Advanced

  1. circuit-breaker.js Circuit Breaker
  2. Microservice Bulkhead: Failure of any component should not propagate to other components.
  3. Rete Limiter, Debouncer, Throttler

About


Languages

Language:JavaScript 100.0%