Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/alensiljak/backbone-websql-table
- Owner: alensiljak
- Created: 2013-02-28T09:56:15.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-03T20:52:38.000Z (almost 12 years ago)
- Last Synced: 2024-04-14T14:29:36.428Z (9 months ago)
- Language: JavaScript
- Size: 352 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.