Skip to content

logankoester/backbone-datarouter

Repository files navigation

Backbone DataRouter

Build Status Dependency Status devDependency Status NPM version Bower version Gittip

NPM

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.

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.

Bitdeli Badge

status xrefs funcs top func library users authors Total views Views in the last 24 hours

About

A router abstraction built with jquery-mobile, localstorage caching, and backbone collections in mind

Resources

License

Stars

Watchers

Forks

Packages

No packages published