Skip to main content

Event Patterns

  • Chapter
  • First Online:
Practical Application Development with AppRun
  • 672 Accesses

Abstract

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. Events and event handling are part of the programming model of JavaScript web application development.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    For more information about web event handling, visit https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Overview_of_Events_and_Handlers .

  2. 2.

    See this online tutorial that defines events as signals that something has happened: https://javascript.info/introduction-browser-events .

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Yiyi Sun

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Sun, Y. (2019). Event Patterns. In: Practical Application Development with AppRun. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4069-4_5

Download citation

Publish with us

Policies and ethics