Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A demo of a Backbone app that works on the client and server
JavaScript CoffeeScript
Branch: master

update readme

latest commit dbb0bee916
Keith Norman authored
Failed to load latest commit information.
public/js update readme
views adding reloader
.gitignore
README.md update readme
backbone.client.coffee
backbone.server.coffee
package.json
server.coffee updating to work with Backbone 0.9
server.sync.coffee updating to work with Backbone 0.9

README.md

Pipedream demo app from SpainJS talk

This is an example of a Backbone app that runs the same code on the server via Node.js and on the client.

You can watch the video of the presentation here: The Pipedream of Sharing Code Between Node and the Browser

To run the app, install node and npm, then run npm install

If you alter server.coffee, you will need to regenerate the browserified file (public/js/app.js). To regenerate that file run

node_modules/browserify/bin/cmd server.coffee -o public/js/app.js -i ./backbone.server -i socket.io
Something went wrong with that request. Please try again.