Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Automatically backup selected collections & models in localStorage for faster load-time fetches of the data.
JavaScript R
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
appserv
paper
README.md
README.md~
ajax.js
awayhost_data
cached_model.js
data_each.csv
data_each2.csv
data_each_10.csv
data_onekey.csv
data_onekey2.csv
data_onekey_10.csv
localhost_data
presentation.pptx
test.html
underscore.js
utils.js

README.md

backbone-store

Automatically backup selected collections & models in localStorage for faster load-time fetches of the data.

A class project for MIT's 6.830 Database Systems.

A work in progress...

Methods added to Collection API:

isStored: returns true if collection has stored data saveToStore: saves all models JSON list in localStorage. loadFromStore: loads models from localStorage removeFromStore: removes all of collection's models from localStorage

Coming soon:

  • Storing individual models.
  • Automatically storing changes to collections/models.
  • Automatically loading data on page load.
Something went wrong with that request. Please try again.