/design-patterns

Explore the implementation of the 23 Gang of Four design patterns in TypeScript

Primary LanguageTypeScript

Design Patterns by tooooo1

This repository is a comprehensive collection of the 23 classic design patterns, as outlined in the seminal work "Design Patterns: Elements of Reusable Object-Oriented Software" by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides – collectively known as the Gang of Four (GoF).

Catalog

  1. Creational Patterns
  • Singleton
  • Builder
  • Factory Method
  • Prototype
  • Abstract Factory
  1. Structural Patterns
  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy
  1. Behavioral Patterns
  • Command
  • Iterator
  • Mediator
  • Memento
  • Observer
  • State
  • Strategy
  • Template Method
  • Visitor