Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part III. PhoneGap APIs > 22. Storage

22. Storage

Most HTML 5–compatible browsers provide web applications with the ability to read and write key/value pairs from/to a local storage facility and to read and write data from/to a local SQL database. Neither of those capabilities is a direct functions of HTML but instead something typical browsers made available to JavaScript code running within the browser.

These capabilities were originally delivered through implementations of the W3C Web SQL Database Specification (www.w3.org/TR/webdatabase) and the W3C Web Storage API Specification (www.w3.org/TR/webstorage). The Web Storage API is still valid, but the W3C has stopped work on the Web SQL specification, and instead developers typically work with the SQLite (www.sqlite.com) database engine included with most modern smartphone browsers.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint