backbone-datarouter
v0.4.0
Published
A router abstraction built with jquery-mobile, localstorage caching, and backbone collections in mind.
Downloads
16
Readme
Backbone DataRouter
WARNING This library is in an early, experimental stage at the moment. Don't take it seriously just yet.
Overview
DataRouter offers a friendly CoffeeScript-oriented syntax for describing resource-oriented routes in single-page applications.
A.route '#items': require('items/index'), collection: 'Items' region: (A)-> A.getRegion 'list'
Data resources are automatically fetched and cached for you before initializing the view. It works well with Backbone.Marionette and may even require it in the future.
This library currently depends on jquerymobile-router, but this requirement will be going away. DataRouter is ultimately intended for general use.
View Full Documentation
Installation
$ npm install bower -g
$ bower install backbone-datarouter --save
The --save
flag will save backbone-datarouter as a dependency in your project's bower.json
file.
Getting Started
Somebody still needs to write this section. Why not you?
LICENSE
Copyright (c) 2013-2014 Logan Koester.
Released under the MIT license. See LICENSE
for details.