jQuery Conference San Francisco 2012

Frame Juggling: Building a Live Preview
This presentation, by Daryl Koopersmith , is licensed under a Creative Commons Attribution ShareAlike 3.0
80x15

Interacting with iframes is a JavaScript rite of passage. There will be hurdles: the Same Origin Policy, postMessage, and browser history will each rear their ugly heads. Fear not, for others have tread this path.

Learn the techniques and challenges required to create a live preview interface and how WordPress used jQuery's utilities to create a lightweight data-binding library to synchronize data and UI across multiple frames. Then, pull the whole experience together with seamless full page refreshes and an extensible API.

Conference Videos


Version: 1.0 (536) by Coby Randquist on 2014-07-21