Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Source code generated in the Backbone.js tutorial series

branch: master
README.md

Backbone.js Tutorial Series

This repository will store the code used in the Backbone.js tutorial series.

Part 1

The Part 1 of the article gives a simple introduction of the framework Backbone.js, showing a simple "Hello World" View.

Permalink: http://fernandomantoan.com/javascript/serie-backbone-js-parte-1-introducao/

Part 2

This part is focused on introducing and explaining the Backbone.View class, showing practical samples and a full functional code using templates and events.

Permalink: http://fernandomantoan.com/javascript/serie-backbone-js-parte-2-view/

Part 3

The Part 3 of the series shows how to use Backbone.Model, all of its functionality and an integration of the Model with the View created in Part 2. A simple Sinatra backend is written, to show how Backbone.Model uses a RESTful API with the Backbone.sync() methods to make persistence of data and syncronization.

Permalink: http://fernandomantoan.com/javascript/serie-backbone-js-parte-3-model/

Part 4

This part shows the Backbone.Collection class, and increments the simple blog developed through the series, showing how to build a list of the Posts, how to iterate and use Backbone.Collection with all the Array functionalities of Underscore.js. A new View is built to support the blog posts listing and some other resources are implemented, also the Sinatra backend is modified to add the Posts listing support.

Permalink: http://fernandomantoan.com/javascript/serie-backbone-js-parte-4-collection/

Part 5

The Part 5 of the series is the last one introducing features and components of the framework. It will show the Backbone.Router class along with Backbone.History, adding some routes to the blog developed and the usage of the pushState HTML5 API. Also the Backbone.sync function is presented, with some examples of customization, and some more details about the events API of the framework.

Permalink: http://fernandomantoan.com/javascript/serie-backbone-js-parte-5-router-e-historico/

Part 6

This is the last part of the Backbone.js tutorial series, focusing in a deep practical experience on how to build an application from scratch, using good practices, other JS libraries and a PHP backend. Some topics covered:

  • Slim Framework
  • Models
  • Views
  • Underscore.js
  • Require.js
  • Authentication
  • Twitter Bootstrap.

Permalink: N/A

Something went wrong with that request. Please try again.