A simple application, a JSON store of products and lists of products, as a demonstration using Backbone.js. #complete http://www.elfsternberg.com/2011/08/08/backbone-store-version-20-regular-edition/
Go to file
Elf M. Sternberg 366dc6159d [★] Added built products.
There's no reason other people need to replicate my idiosyncratic toolchain.
2016-04-15 22:05:02 -07:00
bin Slowly modernizing the tutorial. 2016-04-15 15:43:05 -07:00
docs [★] Added built products. 2016-04-15 22:05:02 -07:00
htdocs [★] Added built products. 2016-04-15 22:05:02 -07:00
images Backbone initial check-in. 2010-12-08 16:21:22 -08:00
src Cleaned up the LaTeX a *lot*, and updated the README. 2016-04-15 21:59:22 -07:00
work [★] Added built products. 2016-04-15 22:05:02 -07:00
.gitignore [★] Added built products. 2016-04-15 22:05:02 -07:00
Makefile Added bower to local node_modules for devDependencies. 2016-04-15 21:14:55 -07:00
README.md Added note about inotify and Linux. 2016-04-15 22:02:07 -07:00
package.json Added bower to local node_modules for devDependencies. 2016-04-15 21:14:55 -07:00

README.md

About

The Backbone Store is a tutorial and demonstration application for the BackboneJS framework.

Installation

After checking out the source code, type

$ make setup all serve

This will automatically run the NPM and Bower install scripts, placing the correct libraries into the target tree, build the actual application from the original source material, and start a server.

Requirements

The build tool relies upon GNU Make, node-js, and the Ruby HAML application. It also uses the NoWeb Literate Programming documentation tools, and building the documentation from source requires Xelatex be installed as well.

The command 'make serve' probably only works under a fairly modern Linux, as it's dependent upon the kernel's inotify facility.

Branches

There are two major development branches for The Backbone Store.

Branch 'master' uses HTML, CSS, and Javascript.

Branch 'modern' uses HAML, Stylus, and Coffee.

Changelog

Changes from 2.0

Version 3.0 has the following notable changes:

  • Replace super with prototype
  • Replace Backbone-generated internal IDs with supplied IDs
  • Updates the use of Deferred
  • Updates to the current Underscore Template mechanism

Changes from 1.0

Version 2.0 has the following notable changes:

  • Use of jQuery animations
  • Better Styling
  • Proper event management. Version 1.0 was just doin' it WRONG.

Store.js is entirely my own work, and is Copyright (c) 2010 Elf M. Sternberg. Included libraries are covered by their respective copyright holders, and are used with permission of the licenses included. Store.js is intended for educational purposes only, rather than to be working code, and is hereby licensed under the Creative Commons Attribution Non-Commercial Share Alike (by-nc-sa) licence.

The images contained herein are derivative works of photographs licensed under Creative Commons licences for non-commercial purposes.

Contribution

Please look in backbonestore.nw for the base code. Backbonestore.nw is produced using the Noweb Literate Programming toolkit by Norman Ramsey (http://www.cs.tufts.edu/~nr/noweb/).