[requirejs]RequireJS : 「RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code.」
[backbone.js]App = new Backbone.Marionette.Application(); App.addInitializer(function(){ /* add some app initialization code, here*/ }); App.addInitializer(function(){ /* more initialization stuff for a different part of the app */ }); /* run all the initializers and start the app */ App.start();