Last week Google announced an early beta of Gears, a "browser extension that enables web applications to provide offline functionality using following JavaScript APIs:
- Store and serve application resources locally
- Store data locally in a fully-searchable relational database
- Run asynchronous Javascript to improve application responsiveness"
I figured that meant it was an automatic fit within a Silverlight application. So, as a proof of concept I decided to tweak the Simple Database Demo and integrate Silverlight content into it. The results are here for you to see.
Thanks to how Google and Microsoft architected their respective products, that was 5 minutes of effort at most. You can choose your browsers View Source option on that example and see how script interacts with the Gears APIs and tweaks XAML in Silverlight.
If you play with Gears and Silverlight some more and create something cool, drop me a comment.
Update 1:
Danny Thorpe talks about his founding work on Gears whilst at Google.
Update 2: Fixed broken link to SilverGears sample.
Update 3: Fixed links again. Due to some issues with the hosting service for the "SilverGears" sample, I've moved it to a new host. I really appreciate Mike and Chris for hosting it on simplegeek.com thus far.
Update 4 (May 02, 2009): Those of you searching for information on local persistence store in Silverlight may want to see
this post which also looks at offline/out-of-browser support.
Labels: Google Gears, Silverlight
Email this | Bookmark this