Hollywood Principle
Updated 2026-07-30
Summary
In software design, inversion of control (IoC) is a design principle in which custom-written portions of a computer program receive the flow of control from an external source (e.g. a framework). The term "inversion" is historical: a software architecture with this design "inverts" control as compar…
Definition
"Don't call us, we'll call you." In framework design, instead of user code calling the framework, the framework calls user code (callbacks) at appropriate times. Scaffold use: passive trigger mechanism. In management, rather than constantly asking employees for progress (polling), it's better to set trigger points (e.g., "notify me when done") to free up management bandwidth.
Introduction
How to use
Passive trigger mechanism. In management, rather than constantly asking employees for progress (polling), it's better to set trigger points (e.g., "notify me when done") to free up management bandwidth.
Mechanism
Software design principle "Don't call us, we'll call you": the framework/container holds control and calls your code at appropriate times (inversion of control, IoC). The mechanism is to hand over process control to the underlying framework.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- GUI event callbacks, Servlet lifecycle, Spring's IoC. Plugin architecture.
Common pitfalls
- Mistaking it for ordinary call relationships. Over-frameworking leading to difficult debugging. Ignoring lifecycle conventions.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Inversion_of_controlverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS