Event Driven Integration to Create Interactive Elements


show more Contemporary web applications and software use event driven programming to build systems that react to user input, allowing for dynamic and highly interactive elements. In Foundations of Programming Fundamentals, you'll learn discusses the various languages such as JavaScript, libraries, and frameworks around each event driven programming language. Get up to speed with event driven programming in this Lynda.com tutorial. show less
please wait ...

Event driven programming

Right now all our code executes as soon as the page loads our script file. It runs through it as fast as possible and finishes. But that's not good enough anymore. What I want to be able to do is start to react to some input from the user. And by input, I don't just mean prompting them for their name, but just being able to react to a whole bunch of different things. Does the user clicks somewhere on the screen, does the user resize the window, do they move the mouse? What do they do? What I want to do is start responding to events.

This is what's called event-driven programming. And the ability to do this is built into most languages now, including JavaScript. Now here is the great thing. These events are already happening and they've been happening all along. When the page is loaded, that's considered an event. When the user clicks somewhere on the screen, that's another event. When they move their mouse, that's a whole bunch of events. When they scroll the scre...

Event driven programming
Video duration: 7m 47s 4h 47m Beginner

Viewers:

Contemporary web applications and software use event driven programming to build systems that react to user input, allowing for dynamic and highly interactive elements. In Foundations of Programming Fundamentals, you'll learn discusses the various languages such as JavaScript, libraries, and frameworks around each event driven programming language. Get up to speed with event driven programming in this Lynda.com tutorial.

Subjects:
Developer Web
Author:
please wait ...