These be updates, folks. | The Dojo Toolkit
Speaking of the CDN
Google has started their own Ajax library delivery system, offering Dojo >= 1.1.1 as a cross-domain build: Give it a try just like you would the AOL CDN:
Note, there a some minor differences between the AOL and Google CDN, at least regarding this initial release. The theme CSS on the Google CDN has not been compressed or otherwise optimized, namely. Most examples you see using the AOL CDN, however, can simply be run by substituting the new URL for your dojo.xd.js - all the same X-Domain nuances still apply ...
More on Google
To follow up on Shane's recent Google dojo.data stores, I took the liberty of creating SMD's defining all the available Google Ajax API's: web, book, local, news, books, images, and videos, demo'd as a single test file, and a wrapper for the Google Translate API. Accessing the entire Google datacenter is as easy as:
dojo.require("dojox.rpc.Service");
dojo.require("dojo.io.script");
dojo.addOnLoad(function(){
var goog = new dojox.rpc.Service(dojo.moduleUrl("dojox.rpc","SMDLibrary/google.smd"));
goog.webSearch({ q:"Dojo Toolkit "}).addCallback(function(data){
/* first group of results */
});
});
The google.smd library will be available in Dojo 1.2, though you can use the SMD with 1.1, and probably 1.0 versions as well.
No comments:
Post a Comment