Code Review: Start your App Engine and run the cloud offline with your docs
By Dion Almaer, Google Developer ProgramsThe big buzz continues to revolve around our Google App Engine launch. We are seeing a host of applications being developed, and were even pleasantly surprised to see people port the APIs allowing you to run App…
Bob Lee is a lot of Twubble
By Dion Almaer, Google Developer ProgramsBob Lee is a Software Engineer at Google, currently leading up the charge on the core Android APIs. He is also one of the founders of the Google Guice project, and was the interviewee on the very first Google De…
Visualizing Your Data at Google I/O
By Nir Bar-Lev, Product ManagerThis post is one in a series that previews Google I/O, our biggest developer event in San Francisco, May 28-29. Over the next two months, we’ll be highlighting sessions and speakers to give Google Code blog readers a be…
By Dion Almaer, Google Developer ProgramsThis post is one in a series that previews Google I/O, our biggest developer event in San Francisco, May 28-29. Over the next two months, we’ll be highlighting sessions and speakers to give Google Code blog rea…
By Steven Saviano, Software EngineerThis post is one in a series that previews Google I/O, our biggest developer event in San Francisco, May 28-29. Over the next two months, we’ll be highlighting sessions and speakers to give Google Code blog readers …
This Sunday (6th April): OpenSocial Hackathon in London
By Dan Peterson, Product ManagerOn the heels of hi5′s OpenSocial launch, this Sunday, the 6th of April, BT is hosting an OpenSocial Hackathon at BT Centre in London. This is an ideal opportunity to get started building apps with OpenSocial, or come and…
Posted by Dion Almaer, Gears TeamBrad Neuberg and Ben Lisbakken of the Gears team gave a brown bag talk on some of the new and interesting features in Gears.They show a lot of examples and tools such as:PubTools: Brad developed this set of tools to ena…
Posted by Dion Almaer, Gears TeamBrad Neuberg and Ben Lisbakken of the Gears team gave a brown bag talk on some of the new and interesting features in Gears.They show a lot of examples and tools such as:PubTools: Brad developed this set of tools to ena…
By Dion Almaer, Google Developer ProgramsUsing iTunes? I had the pleasure of taking a trip back to my home land of England to meet up with the team behind the Google Gears for Mobile product.As someone who loves Web development, it is an exciting propo…
Posted by Dion Almaer, Gears Team
Malte Ubl, who brought us xssinterface, has a new project that has Gears support.
Joose is a self-hosting meta object system for JavaScript inspired by the Perl Moose. Joose supports inheritance, traits, mixins, method wrappers and more.
Where Gears comes into the mix is through the Joose.Gears meta class which enables automatic delegation of methods to be executed as a Gears worker. If Gears is not present, the worker is executed in the main thread. The workers result will be sent to a method called “on”.ucfirst($worker_name) if available:
Class("HardWork", {
meta: Joose.Gears,
has: {
data: {is: rw, init: {}}
},
methods: {
onDoWork: function (result) {
ok(result == 1001, "Gear Worker returns correct result")
}
},
workers: {
doWork: function (start) {
var counter = start;
for(var i = 0; i counter++
}
return counter
}
}
})
var hw = new HardWork();
hw.doWork(1)
You can take a peak at the innards to see another interesting use of Gears.
Posted by Dion Almaer, Gears TeamMalte Ubl, who brought us xssinterface, has a new project that has Gears support.Joose is a self-hosting meta object system for JavaScript inspired by the Perl Moose. Joose supports inheritance, traits, mixins, method w…
By Dion Almaer, Google Developer ProgramsI got to meet developers in Colorado this week. Working from the Google Boulder office with its fun climbing wall (*so* Boulder) was a treat, and there were several API announcements that were really exciting.Fi…
Cross-domain messaging with Gears
Posted by Dion Almaer, Gears TeamMalte Ubl has written a small abstraction library called xssinterface that enables cross domain callbacks. The site specifies which methods may be called as well as which domains are allowed to call the methods.The libr…
By Jacob Moon, Google Developer ProgramsIf you’re a frequent visitor to code.google.com for product updates and reference materials for Google APIs you’re working with, you might have noticed that the page loading time (or page rendering time dependin…
Gears Database API and Aptana Jaxer
Posted by Dion Almaer, Gears TeamAptana Jaxer is a new product that allows you to write server side Ajax applications, and one of the features is a server side database API.As soon as I saw this, I started to play with an unofficial wrapper that would …