Event-driven programming
Programming paradigm
In computer programming, event-driven programming is a programming paradigm in which the flow of the program is determined by external events. User interface (UI) events from keyboards and mice, touchpads and touchscreens, and external sensor inputs are common cases.
Nº Q1135914 ★★★
Rare · Knowledge
Event-driven programming
Programming paradigm
In computer programming, event-driven programming is a programming paradigm in which the flow of the program is determined by external events. User interface (UI) events from keyboards and mice, touchpads and touchscreens, and external sensor inputs are common cases.
Last price
—
Floor price
—
7-day median
—
30-day sales
0
30-day range
—
In circulation
0
Price history
median
low – high
sales
No sales in this period
Show table
| Date | median | Low | High | sales |
|---|
Sales history
- Last sale
- —
- 30-day average
- —
- 30-day low
- —
- 30-day high
- —
- Sales 7d
- 0
- Sales 30d
- 0
No sales yet.
Anonymous sales: no buyer or seller shown. Figures count player-to-player sales only.
From Wikipedia
In computer programming, event-driven programming is a programming paradigm in which the flow of the program is determined by external events. User interface (UI) events from keyboards and mice, touchpads and touchscreens, and external sensor inputs are common cases. Events may also be programmatically generated, such as from messages from other programs, notifications from other threads, or other network events. Event-driven programming is the dominant paradigm used in graphical user interface (GUI) applications and network servers. In an event-driven application, there is generally an event loop that listens for events and then triggers a callback function when one of those events is detected. Event-driven programs can be written in any programming language, although the task is easier in languages that provide high-level abstractions. Although they do not exactly fit the event-driven model, interrupt handling and exception handling have many similarities. It is important to differentiate between event-driven and message-driven (aka queue-driven) paradigms: event-driven services (e.g. AWS SNS) are decoupled from their consumers, whereas message/queue-driven services (e.g. AWS SQS) are coupled with their consumers.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
Procedural programming
Programming paradigm
Nº Q1418502 ★★★
Imperative programming
Programming paradigm of directly specifying commands that affect program state
Nº Q275596 ★★★
Event management
Purposeful and systematic organizing of public events
Nº Q1381931 ★
Declarative programming
Programming paradigm that expresses the logic of a computation without describing its control flow
Nº Q531152 ★★
Race condition
Situation in computer system that occurs when multiple processes try to access a common resource
Nº Q616554 ★★
Observer pattern
Design pattern
Nº Q818562 ★★