The Command Pattern turns a request or operation into a standalone object. The Strategy Pattern defines a family of interchangeable algorithms. The Flyweight Pattern reduces memory consumption by sharing common parts of objects. The Observer Pattern establishes a one-to-many dependency between objects.
Table of contents
Categories of Design PatternsCommon Design PatternsSingleton Pattern in JavaScriptFactory and Abstract Factory Patterns in JavaScriptBuilder Pattern in JavaScriptPrototype Pattern in JavaScriptObject Pool Pattern in JavaScriptAdapter Pattern in JavaScriptDecorator Pattern in JavaScriptProxy Pattern in JavaScriptComposite Pattern in JavaScriptBridge Pattern in JavaScriptFlyweight Pattern in JavaScriptObserver Pattern in JavaScriptStrategy Pattern in JavaScriptCommand Pattern in JavaScriptState Pattern in JavaScriptChain of Responsibility Pattern in JavaScriptVisitor Pattern in JavaScriptConclusion9 Comments
Sort: