프로젝트
GitHub에서 보기
scottt2/design-patterns-in-dart
소개
GoF(Gang of Four) 디자인 패턴을 Dart로 구현했습니다. 기여를 환영합니다!
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDesign Patterns in Dart
Welcome! The intent of this repo is to provide
- Examples for each of the 23 Gang of Four design patterns
- An introduction to the Dart programming language
Please see Getting Started for more information on how to run the examples.
Table of Contents
Behavioral Patterns
- Chain of Responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template Method
- Visitor
Creational
Structural Patterns
Getting Started
Each example has its own directory, inside which is a short readme and a sole Dart file. To run the example, make sure you have Dart installed and then just do
dart <example directory>/<example name>.dart
Take State, for example:
> dart state/state.dart
The light switch is off.
Toggling the light switch...
Touching the Stateful...
Handler of StatusOff is being called!
The light switch is on.
If you have any questions or see any issues, please feel free to file an issue.
Enjoy!
-Tyler
관련 프로젝트 살펴보기
불러오는 중…