Backbone.js

From Wiki @ Karl Jones dot com
Revision as of 04:19, 5 April 2016 by Karl Jones (Talk | contribs) (External Links)

Jump to: navigation, search

Backbone.js is a JavaScript library designed for single-page web applications.

Description

Backbone.js provides a variety of features related to web applications.

web applications (e.g. multiple clients and the server) synchronized.

Backbone is known for being lightweight, as its only dependency is on one JavaScript library, Underscore.js.

Ajax web applications

Backbone is commonly used to implement web applications using Ajax.

RESTful interface

Backbone.js uses representational state transfer, also known as RESTful.

The name "Representational State Transfer" is intended to evoke an image of how a well-designed Web application behaves:

  • A network of web pages (a virtual state-machine)
  • The user progresses through the application by selecting links (state transitions)
  • Each state transition results in the next page (representing the next state of the application) being transferred to the user and rendered for their use

Model-view-presenter

Backbone is based on the Model–view–presenter (MVP) paradigm.

Model-view-presenter divides a computer program into three parts, each with a specific responsibility:

  • The model
  • The view
  • The presenter

Discussion

Siddarth describes Backbone.js:

Backbone is ideally suited for creating front end heavy, data driven applications. Think the GMail interface, new Twitter or any other revelation of the past few years. It makes creating complex apps easier.

Source

Author

Backbone was created by Jeremy Ashkenas, who is also known for CoffeeScript.

See also

External Links