Last week, we were looking to standardize the project structure for our web applications, and it was difficult to find a project structure that we liked online. Most backbone projects are structuring the web applications by file type (e.g. views, models, templates). We wanted to avoid this structure and go with a more modular approach inspired by architectural talks and Meteor.js.
We’re still in the midst of deciding on our final structure, but here is a sample structure that I’m leaning towards.
The gist was to just keep Backbone/Marionette files in a separate directory, keep common items in the assets directory, and keep all the files related to modules together.