O'Reilly logo

Getting Started with Backbone Marionette by Arturo Soto, Raymundo Armendariz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up our development environment

As we will be building an application together, we need to set up our development environment. The following are the steps to do it:

  1. Create a folder and name it Bookstore.
  2. Inside this folder, create two new folders—one named Source Code and the other Libraries.
  3. In the Libraries folder, place the following four libraries:
    • Underscore.js
    • jQuery.js
    • Backbone.js
    • Backbone.Marionette.js

    For styling purposes, we will use Twitter bootstrap v2. Download the default package, unzip it, and place the entire unzipped bootstrap folder beside the .js files inside the Libraries folder.

  4. In the Source Code folder, create a new folder with the name js as it will be the location where we will save all our JavaScript files.
  5. Under the Source ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required