New Dojo Offline Release

By on July 6, 2007 9:55 am

SitePen and Dojo are proud to announce a new beta release of Dojo Offline. This release has a huge amount of exciting new functionality, including a full port to Google Gears, a port from Dojo 0.4 to 0.9, and more.

Dojo Offline is an open-source toolkit that makes it easy to create sophisticated, offline web applications. It sits on top of Google Gears, a plugin from Google that helps extend web browsers with new functionality. Dojo Offline makes working with Google Gears easier; extends it with important functionality; creates a higher-level API than Google Gears provides; and exposes developer productivity features. In particular, Dojo Offline provides the following functionality:

  • 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: See 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.


  • NJStanford

    We have built a system using the initial 0.4.2++ release of the dot toolkit.

    An upgrade would be nice and the slurp() method would be helpful.
    My concern is adding google gears to the system.

    Is google gears required or just an optional feature?

  • @NJStanford: I’d love to hear more about the system you have built. Unfortunately, the 0.4.2 C plugin is deprecated — we have made a commitment to Google Gears, since Google has the resources to maintain a C based plugin and get it distributed much better than we can. Google Gears is therefore now a required part of the system. The 0.4.2 plugin will not be maintained in any way moving forward.


  • I have many articles related to dojo offline editor
    Though i have got all things related to dojo
    but i confused how to run dojo offline editor i have locally configured appachi 2.20 please help me to run dojon i run this at local hot but got error when press save button message appeared un able to save xmlHttp request 404
    please Help

  • Pingback: SitePen Blog » Blog Archive » Bayeux as JSON and Python Cometd Improvements()