Metraipolis › archive › dc_a9ab3d7df70a
Event–condition–action — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Event%E2%80%93condition%E2%80%93action
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-06T17:09:12.179Z
- SHA-256 of the archived text
5ce2c66a5855b3ca2b316acabdd4c6c34fc762fc5f2ae9b9340aac04d53c0fd4- Stable URL of this page
https://metraipolis.com/documento/dc_a9ab3d7df70a
How to cite
Event–condition–action — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Event%E2%80%93condition%E2%80%93action (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_a9ab3d7df70a (Metraipolis archive dc_a9ab3d7df70a, sha256 5ce2c66a5855b3ca2b316acabdd4c6c34fc762fc5f2ae9b9340aac04d53c0fd4)
BibTeX
@misc{dca9ab3d7df70a,
title = {Event–condition–action — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Event%E2%80%93condition%E2%80%93action},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_a9ab3d7df70a; sha256 5ce2c66a5855b3ca2b316acabdd4c6c34fc762fc5f2ae9b9340aac04d53c0fd4},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Event%E2%80%93condition%E2%80%93action. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Event–condition–action (ECA) is a short-cut for referring to the structure of active rules in event-driven architecture and active database systems. Such a rule traditionally consisted of three parts: The event part specifies the signal that triggers the invocation of the rule The condition part is a logical test that, if satisfied or evaluates to true, causes the action to be carried out The action part consists of updates or invocations on the local data This structure was used by the early research in active databases which started to use the term ECA. Current state of the art ECA rule engines use many variations on rule structure. Also other features not considered by the early research is introduced, such as strategies for event selection into the event part. In a memory-based rule engine, the condition could be some tests on local data and actions could be updates to object attributes. In a database system, the condition could simply be a query to the database, with the result set (if not null) being passed to the action part for changes to the database. In either case, actions could also be calls to external programs or remote procedures. Note that for database usage, updates to the database are regarded as internal events. As a consequence, the execution of the action part of an active rule can match the event part of the same or another active rule, thus triggering it. The equivalent in a memory-based rule engine would be to invoke an external method that caused an external event to trigger another ECA rule. ECA rules can also be used in rule engines that use variants of the Rete algorithm for rule processing. Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; categoria «Databases»). Fonte: Wikipedia in inglese, voce «Event–condition–action» — https://en.wikipedia.org/wiki/Event%E2%80%93condition%E2%80%93action Wikidata Q5416711 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q5416711 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Event%E2%80%93condition%E2%80%93action?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1369811175, consultata il 2026-10-06T15:35:12.046Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 86d87f68edd1f1385bb67be4e78a70c5d7423c223ca8776650752bea7e0fa0d6