Chapter 6. Network and location APIs

 

This chapter covers
  • Finding the user’s location and proximity to places and people of interest
  • Communicating directly with content from other servers
  • Having the server push information to the user rather than rely on pull
  • Building websites that work when there’s no network connectivity

 

The previous chapter discussed HTML5 APIs that worked directly with the content in the browser, but one of the key features of the web is that it’s not about standalone computers: it’s about a connected network. HTML5 has a number of APIs related to connectivity and communication, and you’ll learn about them in this chapter.

Finding yourself with the Geolocation API

Location-aware services and applications are a ...

Get Hello! HTML5 & CSS3: A user-friendly reference guide 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.