An open API service indexing awesome lists of open source software.

https://github.com/steeeee0223/typescrtipt-design-pattern

This is a code walk through for Head First Design Patterns in TypeScript
https://github.com/steeeee0223/typescrtipt-design-pattern

design-patterns head-first-design-patterns nodejs oop typescript

Last synced: 5 months ago
JSON representation

This is a code walk through for Head First Design Patterns in TypeScript

Awesome Lists containing this project

README

          

# Design Patterns in TypeScript

### Demo Apps

- Run command `yarn dev demo` to demo in `TypeScript`
- Run command `yarn build && yarn start demo` to demo in `JavaScript`
- You may also set up your own bin

### Patterns List

- `Ch01`: Strategy
- [x] 🦆 Ducks
- [x] 👾 Characters - Exercise
- `Ch02`: Observer
- [x] ⛅ Weather Station
- `Ch03`: Decorator
- [x] ☕ Starbuzz Coffee
- `Ch04`: Factory
- [x] 🍕 Pizza Store 1 - Simple Factory
- [x] 🍕 Pizza Store 2 - Factory
- [x] 🍕 Pizza Store 3 - Abstract Factory
- `Ch05`: Singleton
- [x] 🍫 Chocolate Boiler
- `Ch06`: Command
- [x] 💡 Light - Simple Command
- [x] 🎮 Remote Control
- [x] 🎉 Party Mode - Macro-Command
- `Ch07`: Adapter & Facade
- [x] 🦆 Ducks & Turkeys - Simple Adapter
- [x] 🔌 Iterator & Enumeration - Real world example
- [x] 🎥 Home Theater - Facade
- `Ch08`: Template Method
- [x] 🍹 Beverage Recipes
- [x] 🔄 Ducks Sorter - Real world example
- `Ch09`: Iterator & Composite
- [x] 🍽️ Menu 1 - Iterator
- [x] 🍽️ Menu 2 - Iterator (Built-In)
- [x] 🍽️ Menu 3 - Composite
- [x] 🍽️ Menu 4 - Composite & Iterator (Built-In)
- `Ch10`: State
- [x] 🎰 Gumball Machine 1
- [x] 🎰 Gumball Machine 2
- `Ch11`: Proxy
- [x] 🖥️ Gumball Monitor
- [ ] 🎑 Album Cover
- [ ] 👨‍💻 Person
- `Ch12`: Compound
- [x] 🦆 Duck Simulator
- [ ] 🔊 DJ View - MVC