del.icio.us .:. stumble .:. digg

Case-Hardened Web Badges: the Live Version .:. kentbrewster.com

Here at last is my presentation from Web 2.0, which I've been criminally remiss in posting. It's live now because of L.M. Orchard's marvelous Firefox Download Day Mega Widget, which uses some of the techniques.

Start Presentation in New Window

Please keep in mind that this is a presentation, not a book. Lots of stuff is hinted at; much was said live that isn't here, obviously. If you'd like me to present this--or something like it--at your conference, please contact me and I'll see what I can do.

Yes, the examples really do work; copy, paste, save, and run, and you'll see it live, right there in your browser.

As always, have fun, and please let me know how it goes.

Post a Comment

Kent Brewster .:. 20080818083703
Hi, Sameer. $ needs to point to a global variable visible from outside the badge so incoming data from dynamically-generated SCRIPT tags will know where to land. If you click all the way through the presentation to "Getting Outside Data" -- around page 20 or so -- it should be pretty clear.
Sameer Sundresh .:. 20080818005248
I don't quite understand--what exactly is the point of the whole "window[trueName] = {}; var $ = window[trueName];" construct, as opposed to simply "var $ = {};"? Since objects are passed by reference in JavaScript, the language already provides us with unforgeable names (object references, actually) for free.

Steve Wilhelm .:. 20080619002258
Awesome!

Copyright Kent Brewster 1987-2008 .:. FAQ .:. RSS .:. Contact