Skip to content

tawrahim/backbone_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A gem to generate boiler plate code for backbonejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published