Backbone JS
Course Overview
Backbone JS is an attempt to discover the minimal set of data-structuring (models and collections) and user interface (views and URLs) primitives that are generally useful when building web applications with JavaScript.
When working on a web application that involves a lot of JavaScript, one of the first things you learn is to stop tying your data to the DOM. It’s all too easy to create JavaScript applications that end up as tangled piles of jQuery selectors and callbacks, all trying frantically to keep data in sync between the HTML UI, your JavaScript logic, and the database on your server. For rich client-side applications, a more structured approach is often helpful.
With Backbone, you represent your data as Models, which can be created, validated, destroyed, and saved to the server. Whenever a UI action causes an attribute of a model to change, the model triggers a “change” event; all the Views that display the model’s state can be notified of the change, so that they are able to respond accordingly, re-rendering themselves with the new information.
In a finished Backbone app, you don’t have to write the glue code that looks into the DOM to find an element with a specific id, and update the HTML manually when the model changes, the views simply update themselves.
Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
This course mainly for developers, the Backbone js a JavaScript framework extensions. Individuals with interest in learning can take up the course.
Individuals taking the course should have programming skill with JavaScript concepts.
You get hired as application developer in product based IT companies like E&Y, Ctrl S, Data grid, Spino technologies and more.
The main concepts covered are Model-View-Controller, Basic Backbone, and Event handling, Collections: Multiple models, manipulating collections with Underscore.js, Display information with Views, Change views with a router, Backbone. Sync: How to talk to a server, Update server-side data with forms
Introduction
Model-View-Controller
Basic Backbone
Event handling
The model in depth
Collections: Multiple models
Manipulating collections with Underscore.js
Display information with Views
Backbone.sync: How to talk to a server
Update server-side data with forms
Change views with a router
Advanced topics and techniques
Improve Performance