Dojo Offline demo released with API

| by Rob Thornton Follow 0 Followers on Feb 28, 2007. Estimated reading time: 1 minute |

A note to our readers: You asked so we have developed a set of features that allow you to reduce the noise: you can get email and web notifications for topics you are interested in. Learn more about our new features.

Brad Neuberg has released a screencast of a web-based word processor running on Dojo Offline. At the same time, the Javascript API is being released and is ready for evaluation.

Moxie is the word processor, with Javascript source and HTML source already available. It features local storage and offline access, demonstrating the use of the Dojo Offline API, which is available as well. The Javascript API is partly functional (more so in IE and Firefox than Safari), due to it delegating to the browser’s native cache if offline storage is unavailable. Neuberg describes how to get started:

To start using Dojo Offline now in conjunction with the browser cache, you must have the following in your JavaScript code: = false. You must also turn on HTTP caching headers on your web server; how to turn on these HTTP headers and which ones to turn on are explained in the Dojo Storage FAQ. See the Moxie code links below for more examples of how to use the API. Note that the Dojo Offline JavaScript API has changed, especially for syncing, since our API blog post about a month ago and has become much simpler — see the Moxie source for details. The demo of Moxie shown in the screencast above can also be played with right in your browser. Please note that both Moxie and Dojo Offline are still alpha; you are literally seeing Dojo Offline being developed in front of your eyes, and glitches remain in both of them. Please debug and provide test cases for errors you find to help development.

Neuberg is encouraging evaluation of Dojo Offline and looking for feedback. He has already begun development of the offline storage piece, based on Polipo.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Nice supplement by Michel Löhr

Dojo is a nice supplement library in addition to the default libs which come with Ruby. Can't wait to have Moxie released as stable.

Re: Nice supplement by Michel Löhr

With Ruby I mean Ruby on Rails :-)

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you