ABSTRACT

The event-driven programming paradigm turns the fundamental model of computation inside out, in that event-driven programs do not predict the control sequence that will occur. Instead, they are written in a way that the program reacts reasonably to any particular sequence of events that may occur once execution begins. In this way, the input data govern the particular sequence of control that is actually carried out by the program. Moreover, execution of an event-driven program does not typically terminate; such a program is designed to run for an arbitrary period of time, often indefinitely.