Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alensiljak/backbone-websql-table

Backbone WebSQL adapter that stores attributes in table columns.
https://github.com/alensiljak/backbone-websql-table

Last synced: about 2 months ago
JSON representation

Backbone WebSQL adapter that stores attributes in table columns.

Awesome Lists containing this project

README

        

Backbone WebSQL Table adapter

Intended for use with PhoneGap, Backbone, and WebSQL.

This adapter plugs into Backbone so that collections and models synchronize with WebSQL storage. WebSQL is offered by PhoneGap as the default storage method, provided by Android WebView.

The approach taken with this plugin is to store each model into a separate table, and each model's property into a separate column, so that all the benefits of relational storage, like filtering per attribute and fetching related entities, are available to a developer.

See tests for more information on how to use.