JavaScript Widget Development Best Practices (Part 1: Overview)
a familiy of widgets of different sizes This is the beginning of a new article series where we will see best practices, common pitfalls, and “how to”s on creating JavaScript Widgets for external sites....
View ArticleJavaScript Widget Development Best Practices (Part 2: the Setup)
initial setup In the former part of the series we had a brief introduction on challenges in developing JavaScript widgets. In this article, we’re going to continue from where we left: We will start by...
View ArticleJavaScript Widget Development Best Practices (Part 3: Cache Revalidation)
setting a far future expires header and cache revalidation makes your widget load faster In the former post we have outlined a broad brushstrokes initialization flow of our external JavaScript Widget:...
View ArticleJavaScript Widget Development Best Practices (Part 4: Cross-Domain...
outside in, inside out, that’s how things work around In the former part of the series we’ve seen how to revalidate the cache and load our widget code using a self updating bootloader script. Now it’s...
View ArticleJavaScript Widget Development Best Practices (Part 5: Getting Your Hands Dirty)
getting our hands dirty I’m giving a talk on JavaScript Widget development best practices tomorrow at jstanbul 2012. At the conference, I will have a 30-minute timeframe to express as much as I can...
View ArticleJavaScript Widget Development Best Practices (Part 6: Refactoring the Widget...
refactoring the codebase into logically-related modules In the former article of the series We rendered the user interface of our widget inside an anchor element in publisher’s website; We...
View Article