In this article, we will look at events in Backbone.js. We will see how backbone provides us events and how we can use backbone events in our application. Continue reading
BackboneJS
BackBone Tutorial – Part 7: Understanding Backbone.js Routes and History
In this article, we will try to look at Routes in Backbone.js. We will try to understand how routes can be useful in a large scale single page applications and how we can use routes to perform action based on requested URL. Continue reading
BackBone Tutorial – Part 6: Understanding Backbone.js Views
In this article, we will try to look at the View classes in Backbone.js and see how view classes help us in updating the relevant parts of the application easily. Continue reading
BackBone Tutorial – Part 5: Understanding Backbone.js Collections
In this article we will discuss about Backbone.js collections. We will see how we can use collections to manipulate a group of models and how we can use restul API to easily fetch and save collections. Continue reading
BackBone Tutorial – Part 4: CRUD Operations on BackboneJs Models using HTTP REST Service
In this article we will discuss how we can perform CRUD operations on a backbone model using a REST based HTTP service. Continue reading
BackBone Tutorial – Part 3: More about Backbone Models
In this article we will look at some more concepts related to backbone models. We will try to see how we can override the default model behavior. We will look at the signification of model IDs, how we can validate a model and finally how a model can be persisted either locally or on a server. Continue reading
BackBone Tutorial – Part 2: Understanding the basics of Backbone Models
When we talk about any MV* pattern, model is undoubtedly the most important part of the architecture/application. Its the model that contains all the application data. Along with keeping the data the model class performs various set of actions on the data. Actions like possibility to validate the data, possibility to persist the data, defining access to various parts of data contained in the model (access control). Continue reading
BackBone Tutorial – Part 1: Introduction to Backbone.Js
It was a long time ago (almost a decade back) when most software applications were getting built as standalone applications. These applications were targeted at a single user and ran on their operating systems. Then came the need to share data across multiple users and a need to store data at a central location. Continue reading
A Beginner’s Guide for Creating Single Page Applications using Backbone.js and Marionette.js
In this article we will discuss about the backbone.js and marionette.js frameworks and see how we can use them to create single page JavaScript applications. Continue reading