Category: Backbone

  • Backbone.js Utility

    The utility class consists of a set of methods for implementing Backbone utility. Following are two methods that can be used to manipulate the Backbone.js utility: 1) Backbone.noConflict: It returns the Backbone objects back to its original value and provides a facility to store reference to a backbone. It can be used to embed backbone on third-party…

  • Backbone.js View

    The Backbone.js Views specify how your data looks like. They represent model’s data to the users. They can be used with any JavaScript template library. They handle users input events, bind events and methods, render model and collection and interact with users. Following is a list of methods that can be used to manipulate the…

  • Backbone.js History

    The backbone.js history serves as a global router, keeps track of the history, matches the appropriate route and triggers callbacks to handle events and enable routing in the application. There is only method named “start” can be used to manipulate the Backbone.js history. start: The start method listens to routes and manages the history for…

  • Backbone.js Router

    Backbone.js Router is used for routing client side applications and connecting them to actions and events. It also defines the URL representation of application?s object when web applications provide linkable, bookmarkable, and sharable URL. Following is list of methods which can be used to manipulate the Backbone.js router: Index Method Description 1. extend It is…

  • Backbone.js Collection

    A collection is an ordered set of models. It is used to deal with a group of related models. It handles the loading and saving of new models to the server. It provides helper functions to perform aggregation and computation against a list of models. You can create your own collection by extending the backbone’s…

  • Backbone.js Model

    Backbone.js models are the most important building blocks used to build backbone.js applications. It is also known as the heart of the JavaScript application. Model contains dynamic data and its logic. It performs various types of action on the data like validation, conversion, computed properties, access control etc. Following is a list of methods that…

  • Backbone.js Events

    Backbone.js Events are the modules that can be mixed in to any object. It facilitates the objects to bind and trigger the custom events by using desired name of our choice. Following is a list of methods that can be used to manipulate the Backbone.js Events: Index Method Description 1. on It binds an event…

  • Backbone.js First Example

    The Backbone.js application is the mix of HTML and JavaScript. The first thing you need is an HTML page. Second, you need to add Backbone.js library: Add the JavaScript file: First Backbone.js Example

  • Backbone.js Features

    Following is a list of the most prominent features of Backbone.js: Backbone.js allows developers to develop one page applications and front-end much easier and better using JavaScript functions. Backbone provides different types of building blocks like models, views, events, routers and collections for assembling client side web applications. In Backbone.js when model changes, it automatically…

  • 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…