![]() Veterans of the offline-first world might now be thinking, “But we could just use localStorage, which has the benefits of a much simpler API, and we wouldn’t need to worry about the complexity of using both IndexedDB and WebSQL.” While that is technically true, localStorage has number of problems, the most important of which is that the amount of storage space available with it is significantly less than IndexedDB and WebSQL. This is the deprecated predecessor to IndexedDB and the only option available on current versions of iOS (although iOS 8 will finally give us IndexedDB). This is the standard for client-side storage and the only option available on Firefox and Internet Explorer. In an ideal world, we’d use just one client database technology. The complete project is ready for forking on GitHub.
0 Comments
Leave a Reply. |