Friday, July 6th, 2007

Dojo Offline: 0.9 and Gears

Category: Dojo, Gears, Google, Offline

Brad Neuberg and SitePen have released a new beta of Dojo Offline. This release includes a full port to Google Gears, a port from Dojo 0.4 to 0.9, and more.


An offline widget that you can easily embed in your web page with just a few lines of code, automatically providing the user with network feedback, sync messages, offline instructions, and more.

A sync framework to help you store actions done while offline and sync them with a server once back on the network.

Automatic network and application-availability detection to determine when your application is on- or off-line so that you
can take appropriate action.

A slurp() method that automatically scans the page and figures out all the resources that you need offline, including images, stylesheets, scripts, etc.; this is much easier than having to manually maintain which resources should be available offline, especially during development.

Dojo Storage, an easy to use hashtable abstraction for storing offline data for when you don’t need the heaviness of Google Gear’s SQL abstraction; under the covers Dojo Storage saves its data into Google Gears.

Dojo SQL, an easy to use SQL layer that executes SQL statements and returns them as ordinary JavaScript objects.

New ENCRYPT() and DECRYPT() SQL keywords that you can mix in when using Dojo SQL, to get transparent cryptography for columns of data. Cryptography is done on a Google Worker Pool thread, so that the browser UI is responsive.

Integration with the rest of Dojo, such as the Dojo Event system.

To get started

Visit the Dojo Offline home page; read the new tutorial titled “Creating Offline Web Applications With Dojo Offline”; download
the new Dojo Offline 0.9 beta SDK
; and play with the demos.

Posted by Dion Almaer at 10:55 am

3.5 rating from 21 votes


Comments feed TrackBack URI

Awesome. This is going to make things even easier. I remember seeing Brad’s screencast a few weeks ago when he was showing Dojo Encrypt but didn’t release it yet … very informative. (Does anyone have that link?)

Comment by Mark Holton — July 6, 2007

Comment by Mark Holton — July 6, 2007

Note one thing that has changed from that video. We used to use DES for encryption, but we now use 256-bit AES which is more secure.


Comment by Brad Neuberg — July 6, 2007

BTW, I’ll be talking about this newest version of Dojo Offline at the Ajax Experience in 2 weeks.


Comment by Brad Neuberg — July 6, 2007

Leave a comment

You must be logged in to post a comment.