Frame Juggling: Building a Live Preview 4.49


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.

Comments on this Talk

Jon Jonathan Atkins, 29 Jun 11:35 PM

Loved it

Headshot Corey Frang, 01 Jul 03:52 AM

Quite possibly one of the most brilliant Observer patterns I've ever seen

Avatar-missing-icon-09 Jeremy Wolfe, 02 Jul 02:43 PM

Amazing pattern. IMO, the best part of the con.

Have an account? Sign in or register.

Leave a Comment

10 Ratings: 4.49

Delivery: 4.57

Content: 4.40

Last Five Ratings