📑 Table of Contents

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.

The idea behind implicit invocation is that instead of invoking a procedure directly, a component can announce (or broadcast) one or more events. Other components in the system can register an interest in an event by associating a procedure with the event. When the event is announced the system itself invokes all of the procedures that have been registered for the event. Thus an event announcement implicitly causes the invocation of procedures in other modules.

— David Garlan and Mary Shaw, "An Introduction to Software Architecture"[1]

Implicit invocation is the core technique behind the observer pattern.[citation needed]

See also

edit

References

edit
  1. ^ Garlan, David; Shaw, Mary (1994). An Introduction to Software Architecture (PDF).
edit


📚 Artikel Terkait di Wikipedia

Inversion of control

Delegate (CLI) Dependency inversion principle Flow-based programming Implicit invocation Interrupt handler Message passing Monad (functional programming)

Software framework

targets Don't repeat yourself – Principle of software development Implicit invocation Software design pattern – Reusable solution template to a commonly-needed

Observer pattern

add(Observer); Subject.setState(10); // Output in console.log - 10 Implicit invocation Client–server model The observer pattern is often used in the

Invocation (disambiguation)

subroutine Implicit invocation, a style of software architecture in which a system is structured around event handling, using a form of callback "Invocation" (The

History of hypnosis

removed all misconception, foretelling of the future, explicit or implicit invocation of the devil, the use of animal magnetism (Hypnosis) is indeed merely

Callback (computer programming)

pattern Continuation-passing style Event loop Event-driven programming Implicit invocation Inversion of control libsigc++, a callback library for C++ Signals

Object Process Methodology

qualifying-state Instrument." Invocation links Process invocation Self-invocation link Implicit invocation link: Implicit invocation occurs upon sub-process

Animal magnetism

removed all misconceptions, foretelling of the future, explicit or implicit invocation of the devil, the use of animal magnetism is indeed merely an act