O'Reilly logo

Learning Yeoman by Jonathan Spratley

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

The new Backbone project

This new Backbone project will get you started on combining Backbone.js with Asynchronous Module Definitions (AMD), using Require.js to implement a modular design and leverage Yeoman for the application structure.

Installing the generator-backbone

To install the Yeoman Backbone generator, open a terminal and execute the following command:

$ npm install -g generator-backbone@0.2.8

Note

The current generator-backbone version is 0.2.8.

The Backbone generator has some open issues on the Github repository; if you run into any issues, Google would be your best solution.

Scaffolding a Backbone application

To create a new Backbone project, use this two-step process; open a terminal and execute the following steps:

  1. First, create a project ...

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