2. Who invited this guy?
• Ben Vinegar
• Front-end Engineer at Disqus
• Former team lead at FreshBooks
• Somewhere in there, Guestlist
Sunday, October 17, 2010
3. • dis·cuss • dĭ-skŭs'
• Distributed commenting platform
• Served on over 300k sites
• ~200m unique visitors per month
Sunday, October 17, 2010
17. jQuery conflicts
• What if it already exists? (Likely)
• Use $.noConflict
• Does more than let you use Dojo,
Mootools, Prototype ...
Sunday, October 17, 2010
38. easyXDM
• Exposes a postMessage-like interface to
communicate with windows/frames
• But backwards compatible with older
browsers using whatever-works
• http://easyxdm.net
Sunday, October 17, 2010
47. Play it safe with iframes
• Don’t expose vulnerable actions on the
website host
• Hide them behind an iframe
• Restrict endpoint requests to originate
from iframe
Sunday, October 17, 2010
50. Blocking scripts
• You can’t guarantee users will put your
snippet at the end of the page
• Their mistake, but your app’s reputation
• Difficult to change later
Sunday, October 17, 2010
51. Version like a pro
• You will inevitably have multiple versions
• Can you serve both at the same time, on
the same page?
• Getting people to upgrade is hard
Sunday, October 17, 2010
52. Thanks
• Ben Vinegar
• @bentlegen | http://benv.ca
• Disqus is hiring
http://disqus.com/jobs
Sunday, October 17, 2010