Monday, August 18, 2014

Local Database

The discussion of client-side storage requires investigating the use of a client side database in addition to cache, local storage and session storage tools. An advanced experience of this tool will call for the completion of the following task where you will create a ToDo app:
http://blog.teamtreehouse.com/create-your-own-to-do-app-with-html5-and-indexeddb complete it and modify somehow.

If you would like to do something more business like, although somewhat more complex, you can follow this tutorial allowing to create a useful bibliography management app.

This task is totally voluntary and will not affect your Excellence attribute of the Certificate, but will just give you an extra knowledge and hands-on experience of an important tool.
More help on IndexedDB could be found in a mini series here, here, and here.

Be aware of your browser capabilities.


On another note I want to emphasize a growing important of the local storage solutions use case, especially in games and business apps, where the local and server content are being synced. For example, Backbone.js comes with methods for fetching and saving data models to and from the server. Then any local change or information entry can be synced with the server and then synced with other local devices. Real estate, or insurance agent software can serve as good use cases.

No comments:

Post a Comment