Javatpoint Logo
Javatpoint Logo

What is Backbone.js

The Backbone.js is a very light weight JavaScript library or framework that facilitates developers to create a single page application in a structured manner. These client side applications run on a web browser. It is based on MVC pattern which abstracts data into models, DOM into views and bind these two using events.

Backbone.js is mainly used for creating single page applications using a RESTful service for persisting data.


History

Backbone.js was initially released on October 13, 2010. It was developed by Jeremy Ashkenas.


When to use Backbone.js

  • Backbone.js is used to reduce complications. For example: Suppose, you are creating an application having lots of line of codes using jQuery or JavaScript. The application generally becomes complicated when you add or replace DOM elements to the application or make some requests or show animation in the application or add extra lines to your code, the application may become complicated. So, Backbone.js provides an easy way to overcome with these complications.
  • If your application is having lots of codes and you want a better design then Backbone.js library can be used for good functionality. It provides a well organized and structured way to develop your application.
  • Backbone communicates via events, so you will get a fast application and your code will be cleaner, nicer and more maintainable.




Please Share

facebook twitter google plus pinterest tumbler

Learn Latest Tutorials