onepiecejs / generator-onepiece

scaffold out your own real-time app using the generator-onepiece
MIT License
1 stars 1 forks source link

[RFE] users need multiple sub-generators to build custom models, collections, views, routers and so on. #3

Open dabeng opened 10 years ago

xiaods commented 10 years ago

I feel this feature is very challenge for designer. Suppose a user want to add a new router to app. How are they doing?

xiaods commented 10 years ago

javascript code style is prototype like and event driven. Give user a Scaffolding layout and told user how to code. it is good start.

dabeng commented 10 years ago

For the significance of the sub-generators, we can refer to https://github.com/yeoman/generator-backbone

xiaods commented 10 years ago

yes. i like this style. meanwhile, the backend layout also need consider.

yo backbone # generates your application base and build workflow
yo backbone:model blog
yo backbone:collection blog
yo backbone:router blog
yo backbone:view blog
grunt server