~/talk

Frame Juggling: Building a Live Preview

links:none on file
slides:none on file

Built a WordPress live preview that actually works with every existing theme by combining jQuery utilities and Deferreds, using postMessage and CORS where possible and falling back to iframe-stuffing with AJAX to avoid history bloat. Implements throttling + a debounce-on-finish rule, seamless double-iframe swaps to prevent white flashes, and a lightweight mixin/observable layer for data binding across frames. The proof is a working prototype with instant updates for JS-handled properties and full-page refreshes for PHP-rendered templates.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14jQuery uses WordPress
  3. 1:50WordPress 34 Live Preview
  4. 4:15How does it work
  5. 4:50The problem
  6. 5:19Browser Security Fence
  7. 5:51PostMessage and Cores
  8. 6:41Refreshing
  9. 9:09Managing Requests
  10. 9:38Throttling
  11. 10:16Seamless Refreshing
  12. 12:09Inspect
  13. 13:00Backward Compatibility
  14. 15:20MBWTF
  15. 16:13Understand the Concepts
  16. 17:18Deferred
  17. 18:13Mixins
  18. 18:59Stacking
  19. 21:07Creating the first mixin
  20. 21:25Using callbacks
  21. 22:41Global events loops
  22. 23:41Observable values
  23. 24:22Set method
  24. 24:38Mix events
  25. 24:53Get method
  26. 27:10Proxy
  27. 27:43Pull
  28. 29:11Observable
  29. 29:35One Line Binding
  30. 30:20View
  31. 31:05ModelView
  32. 31:22Questions
  33. 33:59iframes
~/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.