Skip to content

A BackboneJS template prepared for/with RequireJS. Comes bundled with a few best practices from me and several other Backbone authors.

Notifications You must be signed in to change notification settings

magalhini/Soup-Backbone-Boilerplate

Repository files navigation

Soup Backbone Boilerplate 0.1.2

Soup is just a boilerplate for your Backbone.js and Require.js applications. At its core, it's no more than a pre-defined setup which should look very familiar to everyone who has worked before with Backbone.js and Require.js.

I packed a few ideas and best practices from all around the web community into this tiny starting project but it comes bundled with very little:

  • Index from HTML5 Boilerplate.
  • CSS Normalize.
  • Lodash instead of Underscore.
  • Text plugin.
  • Utils methods for better View usage
  • A sample template, view and model to get you started in no time.
  • A grunt.js file which allows you to compile your project to make it production friendly.
  • Already configured shims.

Documentation

Soon.

Usage

For now, simply download and extract. You may delete the sample instantiated View on the router.js file, as well as the model and collection files.

To build using grunt, install its dependencies by running "grunt install" and then run the pre-defined tasks inside the grunt.js file. 'build' and 'compile' were already written for you, so check them out.

Credits

tbranyen & ccoenraets for the best practices.

Log

- 03 Nov 2012: Added support for grunt.js.
- 15 Aug 2012: Added default router triggering event.
- 10 Jul 2012: Fix router View helper method to allow append.
- 3 Jul 2012: First version.

About

A BackboneJS template prepared for/with RequireJS. Comes bundled with a few best practices from me and several other Backbone authors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published