My Peers ↓ Filter:

30 Apr 2012

A Storage Solution

I've decided I will be using a persistent storage solution for my app; this means that the user will never need to be online to view their list(s). Enter HTML5's localStorage! The official spec is available @ http://dev.w3.org/html5/webstorage/#the-localstorage-attribute.

Web Storage

Storing information in people’s browsers affords us a few options that every application should have:
  • You can retain the state of an application
  • You can cache data
  • You can store user preferences
In the past, storing local data wasn’t much fun.

Source: http://24ways.org/2010/html5-local-storage

Apple's Take

https://developer.apple.com/library/safari/#documentation/iPhone/Conceptual/SafariJSDatabaseGuide/Name-ValueStorage/Name-ValueStorage.html#//apple_ref/doc/uid/TP40007256-CH6-SW3

Further Reading

http://paperkilledrock.com/2010/05/html5-localstorage-part-three/