~/talk

Client Side MVC and The Gosh Darn Back Button

Talkat Spotlight: Advanced JS 2013 · on Saturday, 2013-12-07· [frontend-architecture, javascript]
slides:none on file

Shows how long-lived single-page apps at Shopify admin leak memory (examples: jQuery.data cache causing retained DOM, event-handler closures, and identity-map growth) and how frameworks mitigate it: Backbone's view.remove, Ember/Batman's lifecycle hooks and bindings, and changing from a global cache to storing data on nodes. Demonstrates Batman.js powering the admin, measures a problematic chat client ballooning 50MB to 1GB, and argues lifecycle-managed enter/exit callbacks as the practical fix.

AI-written summary · about

  1. 0:00The problem of memory leaks
  2. 1:20Old world vs new world
  3. 3:15jQuery data and memory leaks
  4. 7:13JavaScript garbage collection
  5. 11:51Why leaks matter today
  6. 13:40Lessons from iOS development
  7. 17:38Frameworks and lifecycle
  8. 22:57Data binding as a solution
  9. 27:24Trade-offs and protection
  10. 30:04Q&A and final thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.