Implicit invocation
Encyclopedia
Implicit invocation is a term used by some authors for a style of software architecture
in which a system is structured around event handling, using a form of callback
. It is closely related to Inversion of control
and what is known informally as the Hollywood Principle
.
Implicit invocation is the core technique behind the Observer pattern
.
Software architecture
The software architecture of a system is the set of structures needed to reason about the system, which comprise software elements, relations among them, and properties of both...
in which a system is structured around event handling, using a form of callback
Callback (computer science)
In computer programming, a callback is a reference to executable code, or a piece of executable code, that is passed as an argument to other code. This allows a lower-level software layer to call a subroutine defined in a higher-level layer....
. It is closely related to Inversion of control
Inversion of Control
In software engineering, Inversion of Control is an abstract principle describing an aspect of some software architecture designs in which the flow of control of a system is inverted in comparison to procedural programming....
and what is known informally as the Hollywood Principle
Hollywood Principle
In computer programming, the Hollywood principle is stated as "don't call us, we'll call you." It has applications in software engineering; see also implicit invocation for a related architectural principle.-Overview:...
.
Implicit invocation is the core technique behind the Observer pattern
Observer pattern
The observer pattern is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods...
.
External links
- An Introduction to Software Architecture by David Garlan and Mary Shaw
- An Introduction to Implicit Invocation Architectures by Benjamin Edwards