My little pony!

How to be a good pony - advance.

IndexedDB

When you need the full power of a database.

Why ?

  • was designed to work with significant amounts of data
  • you can run rudimentary queries on your database (aka stores) and fetch records by looking up theirs keys in key ranges.
  • provides simple types.
  • works well with Service Worker.

 

... and Badea likes the callback API ($.ajax().error().success())

What ?

  • Lets you store and retrieve objects that are indexed with a key
  • Data is retrievable if accessing the same domain.
  • The API is asynchronous.
  • Stores data using key value pairs, where the pairs can be a javascript object.

How ?

​to be seen int he code​

Polyfills and Libraries

Can't sleep ? then read:

Made with Slides.com