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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Author
- Tawheed Abdul-Raheem tawrahim@gmail.com
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