Skip to main content

Design Patterns in TypeScript

GoF pattern implementation in modern TypeScript: Creational, Structural, and Behavioral patterns with practical examples, UML diagrams, and real-world web development use cases.

Questa serie raccoglie 6 articoli (circa 72 minuti di lettura totale), pensati per un livello Intermediate. Gli argomenti principali trattati sono Design Patterns, GoF, TypeScript, Creational.

6Articles72 minTotal reading timeIntermediateLevel
Design PatternsGoFTypeScriptCreationalStructuralBehavioral

Series Articles

  1. 1

    01 - Singleton and Factory Pattern: Controlled Object Creation

    Fundamental creational patterns: Singleton for single instance, Factory Method and Abstract Factory for flexible object creation with TypeScript examples.

  2. 2

    02 - Builder and Prototype Pattern: Flexible Construction

    Builder pattern for complex objects with method chaining and fluent interface, Prototype pattern for efficient cloning with deep and shallow copy.

  3. 3

    03 - Adapter, Decorator and Facade Pattern: Flexible Structures

    Essential structural patterns: Adapter for compatibility, Decorator for dynamic extensibility and Facade for simplifying complex systems.

  4. 4

    04 - Composite and Bridge Pattern: Hierarchies and Separation

    Composite pattern for recursive tree structures and Bridge pattern to separate abstraction from implementation with practical examples.

  5. 5

    05 - Observer and Strategy Pattern: Flexible Behavior

    Observer for event-driven programming and Strategy for interchangeable algorithms: fundamental behavioral patterns with RxJS and Angular.

  6. 6

    06 - Command, Chain of Responsibility and Template Method

    Advanced behavioral patterns: Command with undo/redo, Chain of Responsibility for middleware and Template Method for reusable algorithms.

Test your knowledge!

Have you read all the articles? Check how much you've learned by taking this series' quizzes.

Take the quiz!