Skip to content

choicespecs/TypescriptDesignPatterns

Repository files navigation

Cover

Typescript Design Patterns

Design Patterns are solutions to ways to design applications which typically reinforces the ideas surrounding very popular programming principles such as Open-Closed principles and helping create applications and software that is scalable, adjustable, and modifiable for future modifications.

This repo is a collection of these patterns and a simplistic use case that highlights their usage along with some code that may assist with helping explain and understanding their purposes.

Index

  1. Strategy Pattern
  2. Observer Pattern
  3. Decorator Pattern
  4. Factory Method Pattern
  5. Abstract Factory Pattern
  6. Command Pattern
  7. Adapter Pattern
  8. Facade Pattern
  9. Template Pattern
  10. Iterator Pattern
  11. Composite Pattern
  12. State Pattern
  13. Proxy Pattern
  14. Builder Pattern
  15. Prototype Pattern
  16. Bridge Pattern
  17. Flyweight Pattern
  18. Chain of Responsibility Pattern
  19. Mediator Pattern
  20. Memento Pattern
  21. Visitor Pattern

Description

Each Design Pattern folder will contain:

  1. Readme
  2. HTML, CSS, and TS files.

Readme will include detailed information on the pattern, files should be executable on a browser.

Instructions

You can run the index.html files within each pattern and the readme will provide some detailed information for the design pattern. I've also included a Youtube video which will run through the example given and more information on the design pattern.