'template method'에 해당되는 글 1건
- 2014.12.04 Inversion Of Control (= Hollywood Principle)
2014. 12. 4. 12:14
Inversion Of Control (= Hollywood Principle)
2014. 12. 4. 12:14 in 2. Design/Design Pattern
Simply it means,
"Don't call us, we'll call you."
In case of the library, you would call its API but, A framework would call your implementation. In addition, a framework would control to create and destroy an object instead of you.
Template method which is one of the GOF patterns is very related to this.
- Helpful sites: