Skip to content

matsuu/javascript-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#JavaScript Patterns

Common JS Patterns based on the ideas of Stoyan Stefanov and many others.

##Design Patterns

###Creational

  • Abstract factory
  • Builder (added)
  • Factory method (added)
  • Prototype
  • Singleton (added)

###Structural

  • Adapter
  • Bridge
  • Composite
  • Decorator (added)
  • Facade (added)
  • Flyweight
  • Proxy (added)

###Behavioral

  • Chain of responsibility (added)
  • Command (added)
  • Interpreter
  • Iterator (added)
  • Mediator (added)
  • Memento
  • Observer (added)
  • State
  • Strategy (added)
  • Template method
  • Visitor

##Function Patterns

###API patterns

###Initialization patterns

###Performance patterns

  • Memoization
  • Self-defining functions

Releases

No releases published

Packages

No packages published