Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.37 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.37 KB

Rails3-backbone-coffeescript

This is an example rails 3 app built with backbone.js, coffeescript and mongoDB (using mongoid)

Help and Info

To follow the development of this app, follow us on Twitter: http://twitter.com/codebrewstudios.

If you need any projects built using this stack feel free to contact us at [email protected]

Dependencies

  1. Ruby 1.9.2
  2. Rails 3
  3. Coffeescript 1.0
  4. mongoDB (any recent stable version should work, we use 1.8)

Using rvm is recommended

Project layout

The most interesting part of the project exists inside the app/coffeescripts folder. Its broken down into 4 main parts

  1. lib - javascript library files to use through out the application
  2. Controllers dir - this is where our backbone controllers live
  3. Model dir - this is where backbone models and collections are defined
  4. Views - backbone views (widgets)
  5. templates - handlebar.js templates to be used by our backbone views