Event driven programming

0
201

In this topic, you will learn about, What is event-driven programming? How is it different from the traditional programming approach?

Event-driven programming based on an event where an event is an external effect on any object to perform a specific task. Event-driven programming is a modern programming approach implement with Visual Basic, Java, Python, ASP, PSP.

This programming approach was introduced in the 1990s and it is completely based on OOP where we can specify objects. Due to an event-driven programming approach, we can design user-friendly windows based applications.

Some important events with event-driven programming:

  1. Click: Click provides an event for mouse single /double click.
  2. Focus: It provides get focus and lost focus event.
  3. Change: It provides a text box change event.
  4. Load: It uses a load or execution time event.
Traditional Event
It is also called the conventional programming approach. It is also called a GUI based program.
In this approach of the statement is predefined. In this approach execution of a statement depends on the event.
It is used with C, C++, FORM, COBOL language. It is implemented with high-level 4th generation languages like VB and java.

Comment below if you have queries related to the above article

LEAVE A REPLY

Please enter your comment!
Please enter your name here