O'Reilly logo

Instant Backbone.js Application Development by Thomas Hunter II

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

Top 5 features you need to know about

The following sections will guide you through building a simple contact manager app. You will write different types of code, keeping the code organized into different files and directories depending on the purpose of the code.

Models and Collections

Collections represent database tables, and models represent individual rows within that table. With our application, we're going to be storing a bunch of people's contact information in our address book. We will have a contacts collection for all of our contacts and a different contact model for each person in our collection.

Step 1 – creating some files and folders

Create two new directories in our scripts directory, one called models and the other called collections ...

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