A simple Backbone application for demonstration purposes.
- Introduction to Backbone
- MVC principles
- Adapted MVC: the Backbone Router and View
- Demonstrate example application in its finished state
- Briefly reveal code in
Day1/finish/
- index.html
- backbone-example.js
- Models
- Collections
- Views
- Tying it all together
- Questions
- Modularizing the example application using require.js
- Dynamically load scripts based on declared dependencies
- Anatomy of a module
- text plugin usage to load templates
- RequireJS Optimizer: combines and minifies modules, Learning Suite usage
- Handlebars Helpers
- Defines new template syntax
- Adding to Learning Suite
- Using Backbone in the context of LearningSuite
- Role of and reason for LSModel and LSCollection
- Backbone.Validation
- ajax() support