Skip to content

Server-side Backbone.sync implementation for proxying JSON data from another domain

Notifications You must be signed in to change notification settings

developmentseed/backbone-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Backbone Proxy

Provides a Backbone.sync or Model.sync method for the server-side context. Uses node-get to retrieve models from another server allowing models to be backed by a REST JSON endpoint elsewhere.

Compatibility

documentcloud backbone 0.3.3
tmcw node-get 0.1.0

Usage

var Backbone = require('backbone');
Backbone.sync = require('backbone-proxy')().sync;

// Backbone.sync will now load models from the URL specified by `Model.url`

Authors

About

Server-side Backbone.sync implementation for proxying JSON data from another domain

Resources

Stars

Watchers

Forks

Packages

No packages published