© Yiyi Sun 2019
Yiyi SunPractical Application Development with AppRunhttps://doi.org/10.1007/978-1-4842-4069-4_5

5. Event Patterns

Yiyi Sun1 
(1)
Thornhill, ON, Canada
 

When the JavaScript runtime in a browser executes application code written in JavaScript, it uses the techniques of events and event handling. When the browser accesses web pages from back-end servers and when the users interact with the browser, the JavaScript runtime publishes the DOM events. The application code handles the DOM events in the event handlers. The DOM event handlers are the entry points to developing web applications.1 Events and event handling are part of the programming model of JavaScript web application development.

AppRun application development uses the event publication ...

Get Practical Application Development with AppRun: Building Reliable, High-Performance Web Apps Using Elm-Inspired Architecture, Event Pub-Sub, and Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.