What Is Backbone.js ?

798px-BackboneJS_logo

Backbone.js is a lightweight JavaScript framework library with an RESTful JSON interface, and is used to make single-page web applications & to synchronize multiple parts of a web application. Backbone is based on MVP design paradigm.

With Backbone, you represent your data as Models, which can be created, validated, destroyed, and saved to the server. Whenever a UI action causes an attribute of a model to change, the model triggers a “change” event; all the Views that display the model’s state can be notified of the change, so that they are able to respond accordingly, re-rendering themselves with the new information. In a finished Backbone app, you don’t have to write the glue code that looks into the DOM to find an element with a specific id, and update the HTML manually — when the model changes, the views simply update themselves.

Backbonejs.org

Backbone was developed by Jeremy Ashkenas, same person who also built CoffeeScript. Many websites have started to use Backbone framework, such as Digg, Rdio, Hulu etc..

How to get started?

There are only couple of books available on Backbone, one of them is Developing Backbone.js Applications by Addy Osmani.

Backbone.js is known for its excellent documentation. If you are getting started with BackboneJS, start by building their ToDo application.

Backbone video tutorials to get started:

By the YouTube user Thomas Davis:

By the YouTube user Learn Coding Tutorials:

A proper introduction to Backbone:

A Russian tutorial:

If you have more helpful tutorials, please do share in comments, we will add them here.

Source: Wikipedia | BackboneJS.org

Be the first to comment

Leave a Reply

Your email address will not be published.


*