InfoQ

News

Dojo Offline demo released with API

Posted by Rob Thornton on Feb 28, 2007 08:00 AM

Community
.NET,
Ruby,
Java
Topics
Rich Internet Apps
Tags
AJAX,
Dojo

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: dojo.off.requireOfflineCache = 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.

3 comments

Reply

Nice supplement by Michel Löhr Posted Mar 7, 2007 1:28 AM
Re: Nice supplement by Michel Löhr Posted Mar 7, 2007 1:29 AM
Re: Nice supplement by berkay NiQuiL Posted Jun 30, 2008 5:55 PM
  1. Back to top

    Nice supplement

    Mar 7, 2007 1:28 AM 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.

  2. Back to top

    Re: Nice supplement

    Mar 7, 2007 1:29 AM by Michel Löhr

    With Ruby I mean Ruby on Rails :-)

  3. Back to top

    Re: Nice supplement

    Jun 30, 2008 5:55 PM by berkay NiQuiL

Exclusive Content

Rationalizing the Presentation Tier

Thin client paradigm characterized by web applications is a kludge that needs to be repudiated. Old compromises are no longer needed and it's time to move the presentation tier to where it belongs.

Agile Project Management: Lessons Learned at Google

In this presentation filmed during QCon 2007, Jeff Sutherland, the creator of Scrum, talks about his visit at Google to do an analysis of Google's first implementation of Scrum.

AtomServer – The Power of Publishing for Data Distribution

In this article, Bryon Jacob and Chris Berry introduce AtomServer, their implementation of a full-fledged Atom Store based on Apache Abdera, which is now available as open source.

An Introduction to Virtualization

It is easy to think that virtualization applies only to servers. In reality the recent resurgence of the concept is also being applied to networking, storage, and application infrastructure.

REST Anti-Patterns

In this article, Stefan Tilkov explains some of the most common anti-patterns found in applications that claim to follow a "RESTful" design and suggests ways to avoid them.

Choosing between Routing and Orchestration in an ESB

In this article, Adrien Louis and Marc Dutoo discuss the differences and relative merits of using orchestration vs. routing in a typical ESB setup, and discuss various implementation options.

Enterprise Batch Processing with Spring

Wayne Lund discusses batch processing, Spring Batch objectives and features, scenarios for usage, Spring Batch architecture, scaling, example code, failures and retrying, and the future roadmap.

User Story Estimation Techniques

Developer Jay Fields draws on his experiences as a ThoughtWorks consultant to describe effective user story estimation techniques.