37
For more information, see the W3C Indexed DB specification.
Server-Sent Events
The Server-Sent Events interface enables a client to receive updates from the server automatically without
having to request them.You can use Server-Sent Events to display news and other updates on a website.
For more information, see the W3C Server-Sent Events specification.
Touch Events
Touch Events interpret finger motions on a touch-sensitive screen, so that web applications can handle
touch input directly.Touch events include touchstart, touchend, touchcancel, and touchmove.
To learn more about Touch Events, see the following resources:
• Touch Events W3C Specification
• Multi-touch Web Development
XMLHttpRequest Level 2
The XMLHttpRequest API enables a web application to make asynchronous HTTP requests to the server.
XMLHttpRequest Level 2, which is sometimes associated with HTML5, introduces new functionality. For
example, with XMLHttpRequest Level 2, you can use the Cross-Origin Resource Sharing (CORS) API
to make secure cross-origin requests, and you can transfer binary data in a straightforward way.
For more information, see the W3C specification XMLHttpRequest Level 2.
Web SQL Database
The Web SQL Database API is an interface for storing data on the client in a database that can be queried
with SQLite.The W3C no longer actively maintains the Web SQL Database specification.
For more information, see the W3C Web SQL Database specification.
Web Storage
Web Storage is an interface for storing data in key-value pairs on the client. It's designed to be a faster,
more secure alternative to cookies.The Web Storage API provides two storage types: local storage and
session storage. Local storage has no expiration date, while session storage persists for one session
only.
To learn more about the Web Storage API, see the following resources:
• W3C Web Storage Recommendation
• HTML5 Web Storage
• An Overview of the Web Storage API
Web Workers API
The Web Workers API can improve application performance by enabling JavaScript to run as a background
process.When a script runs as a Worker object, it's executed on a background thread, in parallel to the
main page.This prevents the script from affecting UI performance.
31
Amazon Silk Developer Guide
Server-Sent Events