July 27th in Widget by . no comment .

JavaScript Widget Development Best Practices (Part 4: Cross-Domain Communication)

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 time to pass initialization parameters to our widget, and request some state data from the widget API server. Let’s recap: Our lovely publisher …

Continue Reading
June 4th in PhoneGap by . 2 comments .

Creating A Mobile JavaScript Chat – Part 4: Cross-Domain Restrictions

In the former tutorial of this series, we created a sample mobile application that’ll run in an Android mobile device. All the HTML, CSS and JavaScript files, which the application was using, were stored in the /assets/www folder of our mobile project. You can click here, to get the source …

Continue Reading
June 1st in JSONP by . no comment .

JSONP with Timeout Using o2.js — Quick Example

In the recent post, we’ve seen how to implement error handling with our JSONP requests, using o2.JsonpController, and o2.JsonpState objects. The article was a little lengthy, and I thought it’d be nice to summarize the usage with a quick code exampe:

Continue Reading
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
May 16th in o2.js Modules by . no comment .

News and Upcoming

Today, it’s been my first week at grou.ps . Grou.ps was kind enough to let me use o2.js in production code. This helped me enhance and stabilize the framework furher. I’ll try to summarize what has changed in the following week in o2.js core briefly: MIT License From now on, …

Continue Reading
May 8th in Discussion by . 4 comments .

Some Good News and What’s Upcoming…

For those who haven’t heard: I’ve changed jobs. And it was a truly fast transitional week, leaving LiveGO and joining the grou.ps family. My work hours at grou.ps are a little “shifted” to compansate the 10-hour lag between the grou.ps HQ at Palo Alto, and the Istanbul Development Office. This …

Continue Reading
o2.js _
Fork Ribbon