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
- Host: GitHub
- URL: https://github.com/steeeee0223/typescrtipt-design-pattern
- Owner: steeeee0223
- Created: 2022-12-14T08:06:32.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-31T10:33:16.000Z (over 2 years ago)
- Last Synced: 2025-03-12T01:35:29.953Z (8 months ago)
- Topics: design-patterns, head-first-design-patterns, nodejs, oop, typescript
- Language: TypeScript
- Homepage:
- Size: 99.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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