Author: admin

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

  • Backbone.js Tutorial

    Backbone.js tutorial provides basic and advanced concepts of Backbone.js. Our Backbone.js tutorial is designed for beginners and professionals both. Backbone.js is a framework or JavaScript library for creating single page web application. Our BackboneJS tutorial includes all topics of Backbone.js such as features, architecture, first example, events, model, collection, router, history, sync, view, utility etc.…

  • Interpolation in Angular 2

    Interpolation is used for one-way data binding in Angular. It embeds an expression into the HTML template. By default, expression should be surrounded by {{ and }}. This expression is also known as template expression. Angular evaluates an expression surrounded by {{ and }} and then converts a result to a string and assigns it…

  • Two-way Data Binding in Angular

    Here you will learn how to do two-way data binding in Angular. Two-way data binding refers to sharing data between a component class and its template. If you change data in one place, it will automatically reflate at the other end. For example, if you change the value of the input box, then it will…

  • Event Binding in Angular 2 (v11)

    Events are handled in Angular using the following special syntax. Bind the target event name within parentheses on the left of an equal sign, and event handler method or statement on the right. Example: Binding Button Click Event Copy Above, (click) binds the button click event and onShow() statement calls the onShow() method of a component. Example: Handle Button Click Event in…