Design Patterns 實作於 Typescript 上(To practice how design patterns implementation on TypeScript.)
- Clone this project
$ git clone https://github.com/cdcd72/DesignPatterns.git
- Command to project folder
$ cd ../DesignPatterns
- Add dependencies
$ npm install
$ npm run build
點擊 📓 可看到於維基百科(wikipedia)上關於 Patterns 完整的解釋。
🔖 意指 Gangs of Four (GoF) Design Patterns 有提及之設計模式。
- 🔖 AbstractFactory 📓
- 🔖 Builder 📓
- 🔖 FactoryMethod 📓
- 🔖 Prototype 📓
- SimpleFactory
- 🔖 Singleton 📓