July 28th in Widget by . no comment .

JavaScript Widget Development Best Practices (Part 5: Getting Your 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 with respect to external JavaScript widget development best practices. Since 30 minutes is not enough for this, my aim is …

Continue Reading
July 22nd in Widget by . no comment .

JavaScript Widget Development Best Practices (Part 3: Cache Revalidation)

In the former post we have outlined a broad brushstrokes initialization flow of our external JavaScript Widget: What we did was to basically create a bootloader script that first loaded required resources asynchronously and then continued its flow with the initialization and rendering of the widget. Currently, those initialization and …

Continue Reading
April 24th in Module, Patterns and Practices, Tutorial by . 4 comments .

The JavaScript Module Pattern

Introduction Module Pattern is excellent for encapsulating component-specific knowledge. It was first coined by Eric Miraglia, years ago at Yahoo! User Interface Blog. Especially when developing external widgets to sites, this pattern is a good candidate, because your widget’s logic will be encapsulated inside a closure, and it will not …

Continue Reading
o2.js _
Fork Ribbon