Getting Started with Backbone.js Models

Part I : Introduction

The Sales Team data that you see was rendered using JSON data that was hard-coded into the JavaScript code.

Use the form below to add a new sales person. Notice that for any field you leave blank, the default value defined in our model constructor is used (i.e. "John", "Smith", and "0").

Add a New Salesperson