1.0.1 • Published 9 years ago

flux-backbone v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

flux-backbone

Thin wrapper around Backbone Model and Collections to use in Flux pattern.

Documentation

Please read the blog post on FluxBackbone: "Building Backbone apps using Flux".

Installing FluxBackbone

Flux is available as a npm module, so you can add it to your package.json file or run

npm install flux-backbone

Usage:

var FluxBackbone = require('flux-backbone');
var TodoList = FluxBackbone.Collection.extend({
	...
})

Building FluxBackbone from a Cloned Repo

Clone the repo and navigate into the resulting flux-backbone directory. Then run

npm install

This will run Gulp-based build tasks automatically and produce the file FluxBackbone.js, which you can then require as a module.

You could then require the Dispatcher like so:

var FluxBackbone = require('path/to/this/directory/FluxBackbone');

The build process also produces de-sugared version of FluxBackbone in a lib directory, and you can require those modules directly, copying them into whatever directory is most convenient for you.

Examples

Todo Example: TodoMVC

1.0.1

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago