No commit activity in last 3 years
No release in over 3 years
Backbone.js generator
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
~> 2.6

Runtime

~> 0.6.0
>= 0
 Project Readme

BackboneGenerator Gem Version

ruby gem to generate backbone boilerplate code

Installation

$ gem install backbone_generator

Usage

new

To scaffold out new backbonejs app run this command backbone_generator new app_name

model

To create a model run the command backbone_generator model model_name

view

To create a new view run this command backbone_generator view view_name

route

To create a new route run this command backbone_generator route route_name

collection

To create a new collection run this command backbone_generator collection collection_name

utility

To add a utility to your project run this command backbone_generator utility utility_name

server

To start a server run this command backbone_generator server {optional port number}
The default port that server starts on is 5000, conditionally you can specify a different port number

library

To create add a new javascript library to your project run this command backbone_generator library library_name

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author

Credit and Thank you!

Mohammad Tahawi for his help in thinking through some of the features
Addy Osamani for his open source book on backbonejs
Derick Bailey for his awesomse post on naming conventions