mrichard / generator-marionette

Yeoman marionette generator a la AMD
329 stars 72 forks source link

enhancement for non-amd? #22

Open moimikey opened 10 years ago

moimikey commented 10 years ago

wanted to know if this would be an amicable pre-configure option. I prefer using marionette modules instead of AMD.

mrichard commented 10 years ago

hmm I kind of feel you need both? Marionette modules represent some sort of widget/functionality on the page and can be composed of multiple backbone/marionette objects, whereas AMD helps organize each object/class into its own file.

moimikey commented 10 years ago

marionette modules let you decouple code into multiple files as well. AMD with the likes of require.js for myself is too repetitive and I like marionette modules' start and stop feature which require.js doesn't have.