May 29th in o2.js Modules by . no comment .

Cross-Domain AJAX Requests With JavaScript

We will soon finalize our Mobile JavaScript Application and convert it to an Android-market-ready .apk file. But before that we’ll need some enhancements to our o2.Jsonp object. o2.Jsonp, which allows cross-domain communication using JSON with Padding, was first mentioned in this post. You can click here, to get the source …

Continue Reading
April 24th in Basics, Tutorial by . no comment .

JavaScript Objects

What are JavaScript Objects? Everything in JavaScript is an object. The only special case is null, and undefined. null null is a special value that all variables are considered to have if they have been defined but have not been assigned a value. undefined undefined is a global property (variable) …

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