Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Hello71/javascript-patterns

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#JavaScript Patterns

JS Patterns


Common JS Patterns based on the ideas of Stoyan Stefanov, Paul Irish, John Resig, Mathias Bynens, Addy Osmani, Dustin Diaz 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

  • Callback patterns
  • Configuration objects
  • Returning functions
  • Currying

###Initialization patterns

  • Immediate functions
  • Immediate object initialization
  • Init-time branching

###Performance patterns

  • Memoization
  • Self-defining functions

About

JavaScript Patterns

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.