Event-driven programming

In computer programming, event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user actions (mouse clicks, key presses), sensor outputs, or message passing from other programs or threads. Event-driven programming is the dominant paradigm used in graphical user interfaces and other applications (e.g., JavaScript web applications) that are centered on performing certain actions in response to user input. This is also true of programming for device drivers (e.g., P in USB device driver stacks).

Comment
enIn computer programming, event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user actions (mouse clicks, key presses), sensor outputs, or message passing from other programs or threads. Event-driven programming is the dominant paradigm used in graphical user interfaces and other applications (e.g., JavaScript web applications) that are centered on performing certain actions in response to user input. This is also true of programming for device drivers (e.g., P in USB device driver stacks).
Date
20 February 2005
Has abstract
enIn computer programming, event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user actions (mouse clicks, key presses), sensor outputs, or message passing from other programs or threads. Event-driven programming is the dominant paradigm used in graphical user interfaces and other applications (e.g., JavaScript web applications) that are centered on performing certain actions in response to user input. This is also true of programming for device drivers (e.g., P in USB device driver stacks). In an event-driven application, there is generally a main loop that listens for events and then triggers a callback function when one of those events is detected. In embedded systems, the same may be achieved using hardware interrupts instead of a constantly running main loop. Event-driven programs can be written in any programming language, although the task is easier in languages that provide high-level abstractions, such as await and closures.
Hypernym
Paradigm
Is primary topic of
Event-driven programming
Label
enEvent-driven programming
Link from a Wikipage to an external page
docs.eiffel.com/book/method/8-event-driven-programming-and-agents
shairosenfeld.com/concurrency.html
www.martinfowler.com/eaaDev/EventCollaboration.html
www.csse.uwa.edu.au/cnet/eventdriven.html
web.archive.org/web/20050220142724/http:/www.csse.uwa.edu.au/cnet/eventdriven.html
archive.today/20121208205239/http:/zone.ni.com/devzone/devzone.nsf/webcategories/FCE7EA7ECA51169C862567A9005878EA
eventdrivenpgm.sourceforge.net/
techboxweb.com/javasript-event-loop/
www.codeplex.com/pubsub
scaleconf.org
web.archive.org/web/20050207025012/http:/www.codeproject.com/cpp/static-callbacks.asp
web.archive.org/web/20150919021358/https:/today.java.net/pub/a/today/2003/10/24/swing.html
www.alan-g.me.uk/l2p/tutevent.htm
Link from a Wikipage to another Wikipage
Abstraction (computer science)
Autonomous peripheral operation
await
Callback (computer programming)
Category:Articles with example pseudocode
Category:Events (computing)
Category:Programming paradigms
Closure (computer programming)
Comparison of programming paradigms
Computer mouse
Computer programming
Control flow
Database
Dataflow programming
Device driver
DOM events
Embedded system
Event (computing)
Event dispatching thread
Event-driven architecture
Event loop
Event stream processing
Exception handling
Finite-state machine
Flag (computing)
Graphical user interface
Hardware description language
Hardware interrupt
Housekeeping (computing)
I
IBM
IBM RPG
Interrupt
Inversion of control
JavaFX
Main loop
Message-oriented middleware
Message passing
Method (computer science)
O
output
Overflow (software)
P (programming language)
Petri nets
Programming language
Programming paradigm
Publish–subscribe pattern
Reactor pattern
Sensor
Signal programming
Staged event-driven architecture
State explosion problem
State machine
Subroutines
Thread (computer science)
Time-triggered system
Virtual synchrony
Web application
SameAs
CWWx
Eseményvezérelt programozás
Event
Event-driven programming
Event-driven programming
Gertaeretara zuzendutako programazioa
Lập trình hướng sự kiện
m.0gxhd
Olaya dayalı programlama
Programação orientada a eventos
Programación dirigida por eventos
Programación dirixida por eventos
Programació orientada a events
Programare orientată eveniment
Programiranje pogonjeno događajima
Programmation événementielle
Programmazione a eventi
Q1135914
Προγραμματισμός χειρισμού γεγονότων
Подійно-орієнтоване програмування
Програмирање вођено догађајима
Событийно-ориентированное программирование
תכנות מונחה-אירועים
برنامه‌نویسی رویدادمحور
イベント駆動型プログラミング
事件驅動程式設計
사건 기반 프로그래밍
Subject
Category:Articles with example pseudocode
Category:Events (computing)
Category:Programming paradigms
Url
eventdriven.html
WasDerivedFrom
Event-driven programming?oldid=1124567495&ns=0
WikiPageLength
10621
Wikipage page ID
62599
Wikipage revision ID
1124567495
WikiPageUsesTemplate
Template:Cite book
Template:External links
Template:Main article
Template:Mono
Template:Multiple
Template:Programming paradigms
Template:Refimprove
Template:Reflist
Template:Short description
Template:Types of programming languages
Template:Webarchive