Design Patterns JavaScript Creational Singleton Multiton Factory Method Dynamic example Abstract Factory Example Prototype Builder Extended example Structural Adapter Adapt old feature to the new interface Adapt new feature to the old interface Bridge Proxy Extended example Built-in Proxy Class Decorator Facade Flyweight Composite Simple example Extended example Behavioral Chain of Responsibility Extended example Example: Logger Command Extended example Iterator Mediator Extended example Observer Example State Strategy Example Template Method Architectural Model-View-Controller (MVC) Hierarchical Model-View-Controller (HMVC) Model-Repository-Service-Controller Dependency Injection IoC Container Command Query Responsibility Segregation (CQRS)