Introduction to Backbone.js
Location and Pricing
Most Accelebrate courses are delivered as private, customized, on-site training at our clients' locations worldwide for groups of 3 or more attendees and are custom tailored to their specific needs. Please visit our client list to see organizations for whom we have delivered private in-house training. These courses can also be delivered as live, private online classes for groups that are geographically dispersed or wish to save on the instructor's or students' travel expenses. To receive a customized proposal and price quote for private training at your site or online, please contact us.
In addition, some courses are available as live, online classes for individuals. See a schedule of online courses.
Backbone.js Training Objectives
Backbone.js Training Outline
What is Model-View-Controller?
How does Backbone.js fit into this model?
What about the back-end?
A very simple model
Retrieving our simple model
Saving our simple model
The model in depth
Building a Model with extend()
Getters and setters
Constructors and defaults
Collections: Multiple models
Overview of the collections API
Creating your own Collection
Adding and removing elements
Comparing and sorting elements
Data manipulation as a batch operation
Manipulating collections with Underscore.js
Iteration functions (forEach, map, filter)
Accessors: last, first
Searching: contains/include, etc
Aggregation functions: max, min, etc.
Display information with Views
Display a Model
Display a Collection
Display Aggregated (Reduced) Data
Backbone.sync: How to talk to a server
The RESTful model of CRUD interaction
Standard syncing over REST
Alternatives for non-RESTful applications
Update server-side data with forms
Perform client-side form validation
Submit a form to update an object
Change views with a router
Start on a main route
Create links to display different views
Advanced topics and techniques
Create an automatically updating view
Extracting common code to libraries
Update data with a changes feed
Make requests over a websocket
Organize with Pagination
All attendees receive courseware and a related textbook.
Software needed for each student PC: