In this chapter you'll see how to communicate between pages downloaded from different servers and how to use the new Ajax features in XMLHttpRequest Level 2.
Using the Communications API
This lesson will introduce the concept of cross-domain messaging and show you an example of how to communicate between pages downloaded from different domains.
This chapter looks at the Geolocation API, which is used to determine geographic location. You'll learn both how to get the current position and how to watch position continuously.
Geolocation
This lesson introduces the concept of HTML5 geolocation and demonstrates the kind of information you can get back.
In addition to getting the current position, the geolocation API lets you watch the position continuously over a period of time. This lesson shows you how.
There are several communication patterns and techniques that can be useful when working with web pages and web workers. We'll explore them in this lesson.
Managing data in a mobile web application involves using local storage, which lets you turn the application off and on again without losing data. You'll see how it works in this lesson.
This lesson illustrates how you can implement application logic in a mobile web application. You'll learn how to navigate from one page to another, intercept page changes, implement functionality to pre-populate forms, and more.
This chapter explores a variety of useful techniques, including offline working, Web SQL, and drag-and-drop.
Additional Techniques
This lesson describes the benefits of offline working and shows how to define a manifest file to allow a web page to work even when disconnected from the Internet.