A team of AJAX experts is working on a new capability to enable Web applications to work offline.
Brad Neuberg, a San Francisco-based software architect and programmer, said that he, along with the support of some developers at SitePen, of Palo Alto, Calif., is working on the Dojo Offline Toolkit, a small, cross-platform, generic download that allows Web applications to work offline. The tool kit is based on the popular Dojo Toolkit, an Asynchronous JavaScript and XML development system maintained by the Dojo Foundation. Major companies such as IBM and Sun Microsystems are members of the Dojo Foundation.
“I had been prototyping and playing with some ideas around bringing true offline access to Web applications in a simple, generic way,” Neuberg said.
To accomplish his goals, Neuberg said he will be working for the next three months “on bringing the Dojo Offline Toolkit from the drawing board to reality.”
The tool kit will be an open-source library that brings true, offline access to Web applications, where “users will be able to access their Web applications and work with their data even if no network connection is available, just like desktop applications,” Neuberg said.
Dojo Offline Toolkit will use a simple, small Web proxy that runs locally. The proxy will cache files that need to cached for later access without hitting the network, Neuberg said.
In addition, to enable the browser to talk to the local Web proxy, the new tool kit will use a standard technology known as PAC (Proxy AutoConfiguration). A PAC file is a small bit of JavaScript that is invoked on each browser request.
With the Dojo Offline Toolkit, the Web browser does not know if the user is online or offline, since the proxy serves up the user interface either way, Neuberg said.
The last step of the process is to wrap the Dojo Offline Toolkit into a small installer for each target platform and to have it start up silently on system startup, Neuberg said.
Source: eWeek