Hour 20. Offline Web Applications

What You’ll Learn in This Hour:

• Why you would build offline applications

• How to use the cache manifest

• How to debug and solve problems with your cached applications

• How to detect the online state

One critical difference between most desktop computers and mobile devices is that mobile devices can, and often do, disconnect from the internet. Cellphones go out of coverage areas and Wi-Fi devices (such as iPod touches and some iPads) are only online when a Wi-Fi hotspot is nearby. So if you create a web application and your users aren’t online, they can’t use it. HTML5 comes to the rescue with offline web applications. This part of the specification explains how to set up your web application so that your ...

Get Sams Teach Yourself HTML5 Mobile Application Development in 24 Hours 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.