Overview of Backbone.js
This training provides a solid foundation of Backbone.js to its participants. At the end of this training course, participants will be able to:
- Build a responsive client-side web application using Backbone.js
- Set up the applications from start to end
- Display information using Views and update server-side data using forms
- Change views using Router and extract common code components
- Improve an application performance using Backbone.js
Duration
2 Days
Prerequisite for Backbone.js
Basic knowledge in JavaScript and some experience in building web application is required.
Course Outline for Backbone.js
MODELS
- Extending Backbone.Model
- Constructors
- Model Attributes
- Model Functions
- Validation
- REST Services
- Events
COLLECTIONS
- Extending Backbone.Collection
- Constructors
- Manipulating Collections
- Traversing a Collection
- Events
VIEWS
- Extending Backbone.View
- Rendering Content and Manipulating the DOM
- Templating with Underscore.js
- Templating with HandleBars.js
ROUTING
- Extending Backbone.Router
- History
- Route Parameters
- Events
- Changing the Route
- Using the Router as a Controller
EVENTS
- Binding / Unbinding Events
- Event Gotchas (i.e. listenTo vs. on)
- Triggering Events
- Event Aggregator
CONCLUSION
- Application View
- Application Architecture
- Building the Application for Deployment