We will learn how to work with IndexedDB and JSON web services through the
indexed_db_spirals project (https://github.com/dzenanr/indexed_db_spirals), which is a
todo app like the ones we've built in previous chapters, but that stores its data in IndexedDB. Get a copy of the code with a git clone:https://github.com/dzenanr/indexed_db_spirals.git.
In this spiral, todo tasks can be entered, and they are stored in IndexedDB; the following is a screenshot:
Our model class is called
Task, and lives in
fromDb, it can transform an object to or make an object from ...