Backbone: 3 Ways
summary
Backbone gets used three ways at Coursera: a full campus‑style single‑page front end with a pre‑renderer for SEO, a rewritten Django admin implemented as a generic form‑builder, and incremental course/forum UIs. Tools and patterns named: RequireJS, Underscore, Backbone.Relational, a custom region manager, and partial HTTP PATCH updates so only changed attributes travel. Surprising numbers: roughly 30,000 lines of front‑end code and a past bug that deleted 70,000 students. The rewritten pieces mostly work and speed editing and reuse.
AI-written summary · about
chapters (8)
- 0:00Start
- 1:56WHY USE A FRAMEWORK?
- 4:15Backbone Lightweight Model View Controller framework
- 6:35The Backbone Backend
- 11:34Backbone & jQuery
- 27:05The Router Determines what models/collections are valid URLS based on groups in cookie.
- 29:25Course Admin
- 39:13Keep your options open
related talks
54mTaking JavaScript Seriously with Backbone.js
47mScaling Backbone.js
40mUsing Backbone.js with Rails: Patterns from the Wild
22mLiving with Legacy JavaScript, Event Proxies, App Seams, and Chunking Rewrites
05mPatrick Mulder (Fidor Bank) interviewed at Fluent 2014
23mJSConf 2015 Peter Piekarczyk
01h 29mClient-Side UI Smackdown
29mBackbone.js, Jasmine and Rails: The Lust Story
