Huong Vu (Zi)

Embracing IndexedDB


16 Embracing Indexed DB.mp4 from Neo (UK) on Vimeo.


Software Engineer at Neo Singapore.


November 2010, the W3C announced the deprecation of WebSQL specification, causing web developers around the world to mourn. To those comfortable with relational databases, WebSQL seems to be a natural fit for offline storage. On the other hand, IndexedDB - WebSQL's successor - can appear unruly by only supporting asynchronous API (for now) and missing many commonly used features such as joins, aggregation methods, multiple conditions.

So what is this IndexedDB? What can it do and how can we truly embrace its abilities?

This talk walks through usage of IndexedDB in common web application scenarios, explaining how to utilize indices and properly structure data for query performance.