Backbone.JS Interview Questions and Answers

Backbone.JS Interview Questions and Answers

Backbone.js is a JavaScript library with a RESTful JSON interface and is based on the model–view–presenter (MVP) application design paradigm. Backbone is known for being lightweight, as its only hard dependency is on one JavaScript library, Underscore.js, plus jQuery for use of the full library. It is designed for developing single-page web applications, and for keeping various parts of web applications (e.g. multiple clients and the server) synchronized. Backbone was created by Jeremy Ashkenas, who is also known for CoffeeScript and Underscore.js

In other words, the backbone.js is a JavaScript library available with RESTful JSON interface, and is dependent on model-view-presenter design pattern. Backbone is considered important as it is lightweight and is dependent only on JavaScript library. The objective of Backbone.js is to develop the single-page Web applications, and to sync various parts of the web application. It was created by Jeremy Ashkenas, who is known for CoffeeScript and Underscore.js.Backbone.js is not a framework but a library. It is an extremely lightweight library that allows you to develop easy to maintain front ends. It is a collection of the cohesive objects.

Backbone.js was introduced by Jeremy Ashkenas. It was initially brought to the market on October 13, 2010.

What is Backbone.js?

Why do you need Backbone.js?

What are the features of Backbone.js?

What are the main components of Backbone.js?

What is a Model in Backbone?

What is a view in Backbone?

What is a Collection in Backbone?

What is a Router in Backbone?

What is a Sync in Backbone?

What is Events in Backbone?

What is ModelBinder?

What is model.cid?

How are models attributes stored in Backbone.js?

What is the JSON?

What is the Overriding Backbone.sync?

What are the three js files that you require to setup a working environment for backbone?

What is the use of setElement?

When can you use Unbinding function in Backbone.js?

What are the configuration options available in Backbone Js?

What is the function of escape?

What is the function of parse in Backbone.js?

How to access a models data from a view in Backbone.js?

When you can use Unbinding function?

When you require Backbone.js?

What are the advantages of Backbone.js?