Hollywood principle
[/ˈhɑːliwuːd ˈprɪnsəpəl/]
nounpl: Hollywood principles
princípio de Hollywood
1. In software development and object-oriented programming, a design principle stating that a framework or library should not call user code directly, but instead allow user code to call the framework. The framework inverts the control flow.
The Hollywood principle is fundamental to understanding how dependency injection frameworks work: don't call us, we'll call you.
O princípio de Hollywood é fundamental para entender como funcionam os frameworks de injeção de dependência: não nos chame, nós chamaremos você.
2. A pattern of inversion of control where the framework or container manages the lifecycle and invocation of application code.
By following the Hollywood principle, the framework maintains control over the program flow rather than the developer.
Seguindo o princípio de Hollywood, o framework mantém o controle sobre o fluxo do programa em vez do desenvolvedor.
This is a technical term originating from software development communities in the United States during the 1990s. The name humorously references the famous Hollywood phrase 'don't call us, we'll call you.' It's primarily used in programming contexts and is understood globally in IT and software engineering circles.
Related Idioms & Phrases
don't call us, we'll call you
inversion of control pattern
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →