Non Gui Event Driven Programs

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter 14-1 Chapter 14 GUI and Event-Driven Programming Animated Version.

Franklin

Within this blog post I will be evaluating the suitability of event driven languages for non-graphical applications, this is including electrical devices that are used in every day life, not just computer applications. Event driven languages for non-graphical applications: Event driven languages are suitable for many non-graphical applications, this can be on computers or in every day life. An example of a non-graphical application on computers is web servers, they do not use graphical user interfaces, but they are event driven, they wait until a request is received before carrying out what is needed to be done.

Event driven non-graphical applications are suitable for this task as it does not need a graphical user interface, it can carry out the tasks without one. Another non-graphical event driven application is a computer tower, when turned off, it waits around for the power button to be pressed, when it is pressed it, an event is carried out, this event is the the power as it is then supplied to the rest of the computer allowing it to turn on, this is done without the need of a graphical user interface.

Lynn Andrea Stein

Non Gui Event Driven Programs

An elevator is also an example of an event driven application, the doors are opened by pressing a button, once inside you then select the floor that you want to go to by selecting the button which is assigned to that floor, the elevator then uses sensors to detect if anyone is in the way of the doors, if not the doors close and the elevator goes to the floor that has been selected. If an elevator was not event driven, it would be constantly opening and closing the doors and stopping on every floor, which could be quite time consuming if you are going to a high floor within a building, this is why it is important for elevators to be event driven. Two examples of devices that are used in everyday life, that uses event driven language can be washing machines and disk washers, they are turned on but wait for a trigger to happen, which is the users input, which can use buttons, when this happens the event is then carried out. Washing machines are suitable for event driven languages as without it, the washing machine would just stay on forever, repeating the same task, even when there is no washing in the machine, this is the same as disk washers. Washing machines and dish washers both use timers to know when tasks are finished, when the timer ends, an event is ran to stop the washing machine and the dish washers cycle.

Lucha libre (Spanish pronunciation. But if the champion loses, the challenger is crowned the new champion. An example of this occurred in the WWE. Lucha libre wwe en espanol.