Chapter 5. Mobile applications: client storage and offline execution

Chapter 5 at a glance

Topic

Description, methods, and so on

Page

Web storage and management of simple key/value pair data on client-side local storage Methods:  
 
  • getItem()
  • localStorage
  • removeItem()
  • clear()
140 140 141 142
Indexed database Complex, indexed client-side database functionality Database/object store methods:  
 
  • open()
  • createObjectStore()
  • createIndex()
  • loadTasks
  • objectStore()
  • deleteDatabase()
145 145 146 150 152 155
  Cursor method
  • continue
150
Application cache Enable web applications to be used when client is offline Method:  
 
  • swapCache()
160

Look for this icon throughout the chapter to ...

Get HTML5 in Action 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.