AngularJS tutorial application "PhoneCat" coded in Backbone.js
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
helpers
node_modules
phones
public
routes
views
README.md
app.js
package.json

README.md

AngularJS Phone Catalog Tutorial Application Coded in Backbone

Overview

This tutorial builds a web application using Backbone.js. This tutorial is based on the AngularJS PhoneCat Tutorial App and mirrors the functionality of each of the first 10 steps.

The full tutorial can be found on my blog.

Prerequisites

Git

Node.js

Workings of the application

  • A basic Node app serves static files and JSON.
  • All Backbone app files are located in /public/javascripts.
  • /public/javascripts/lib contains Backbone.js and its dependencies.
  • /public/javascripts/jst.js is a templating dictionary automatically created by Node (you can just ignore it).

Commits / Tutorial Outline

You can check out any point of the tutorial using git checkout step-?

To see the changes between any two lessons use the git diff command git diff step-?..step-?

step-0

Basic structure for a new Backbone app.

step-1

Render a static phone list using a Backbone template.

step-2

Create Backbone models and collection to represent a list of phones.

step-3

Add interactive text search to phones.

step-4

Add the ability to order phones.

step-5

Fetch phones data using a JSON API.

step-6

Fill out the phones template with images and links.

step-7

Route the phone details view.

step-8

Fill out the phone details view.

step-9

Add a custom view helper to create checkmarks.

step-10

Replace the phone's main image when a user clicks on a tumbnail.