Hollywood Principle
Last updated
What is Hollywood Principle?
The Hollywood Principle is a software development principle that states: "Don't call us, we'll call you." It suggests that high-level components should dictate the flow of control in an application, rather than low-level components.
This principle is often used in the context of inversion of control (IoC) and dependency injection. In traditional software development, low-level components are responsible for creating and managing the high-level components that they depend on. With IoC, the high-level components dictate the flow of control, and the low-level components are created and managed by a separate mechanism.
Free resources to learn Hollywood Principle
More in stage 4: Design Principles
Hollywood Principle: common questions
Can I learn Hollywood Principle in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Hollywood Principle in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Hollywood Principle tutorial for beginners?
It is lesson 36 of 94 in the free Software Design and Architecture roadmap, in stage 4, Design Principles. If you are new to Software Design and Architecture, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.