Gears and Standards
April 8th, 2008 | by Aaron Boodman | published in Google Gears
Posted by Aaron Boodman, Gears EngineerGears is about more than just offline web applications. For example, we recently added desktop shortcut functionality, and we’re working on resumable uploads, a geolocation API, and lots more fun things for the fu…
April 3rd, 2008 | by Dion Almaer | published in Google Gears
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…
April 3rd, 2008 | by Dion Almaer | published in Google Gears
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…
April 1st, 2008 | by Aaron Boodman | published in Google Gears
Posted by Aaron Boodman, Gears EngineerAs of yesterday, it is possible to use Google Docs offline. We’ve all been working on this for a while now, and I think sometimes we take it for granted. A web-based word processor you can use without an internet …
This is not an April Fool’s joke!
April 1st, 2008 | by Aaron Boodman | published in Google Gears
Posted by Aaron Boodman, Gears EngineerAs of yesterday, it is possible to use Google Docs offline. We’ve all been working on this for a while now, and I think sometimes we take it for granted. A web-based word processor you can use without an internet …
March 31st, 2008 | by Ben Lisbakken | published in Google Gears
Posted by Ben Lisbakken, Gears TeamUsing a JavaScript API to cache web pages offline, interact with a client side database and introduce threading into your application isn’t immediately intuitive because it’s such a foreign concept for a web API. I r…
March 31st, 2008 | by Ben Lisbakken | published in Google Gears
Posted by Ben Lisbakken, Gears TeamUsing a JavaScript API to cache web pages offline, interact with a client side database and introduce threading into your application isn’t immediately intuitive because it’s such a foreign concept for a web API. I r…
March 27th, 2008 | by Dion Almaer | published in Google Gears
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.
March 27th, 2008 | by Dion Almaer | published in Google 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…
Cross-domain messaging with Gears
March 18th, 2008 | by Dion Almaer | published in Google 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…
Gears Database API and Aptana Jaxer
March 13th, 2008 | by Dion Almaer | published in Google Gears
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 …
Google Gears in Your Pocket
March 4th, 2008 | by Chris Prince, Gears Team | published in Google Gears
Posted by Chris Prince, Software EngineerToday is an exciting day for mobile application development, as it marks the first release of Google Gears on mobile devices. Gears is initially available for Internet Explorer on Windows Mobile 5 and 6.Conside…
February 21st, 2008 | by Brad Neuberg | published in Google Gears
Posted by Brad Neuberg, Developer AdvocateAs a Developer Advocate who wants to help developers use Gears, I’ve created some simple open source utilities to make it much easier to work with Google Gears without having to delve into JavaScript. This new …
Gears 0.2 Released!
February 19th, 2008 | by Dion Almaer | published in Google Gears
Posted by Aaron Boodman, Gears TeamWe’re happy to announce that we’ve updated Gears to version 0.2. All users have been updated, so you can begin developing applications for the new version right now.Gears 0.2 includes:New modules: HttpRequest and Time…
February 1st, 2008 | by Dion Almaer | published in Google Gears
Posted by Dion Almaer, Gears TeamDavid Falck and Shelly Mujtaba, members of Autodesk Labs, recently announced a new release of Project Draw that allows you to take your diagrams offline using Google Gears.Project Draw is a browser based diagraming uti…