login/register

Snip!t from collection of Alan Dix

see all channels for Alan Dix

Snip
summary

Dojo Offline is an open-source toolkit that makes it eas...
* An offline widget that you can easily embed in you ...
* A sync framework to help you store actions done wh ...
* Automatic network and application-availability det ...
... ion wit

The Dojo Offline Toolkit | The Dojo Toolkit
http://www.dojotoolkit.org/offline

Categories

/Channels/techie/JavaScript

[ go to category ]

/Channels/techie/web development

[ go to category ]

For Snip

loading snip actions ...

For Page

loading url actions ...

Dojo Offline is an open-source toolkit that makes it easy to create 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

HTML

<img src="/files/dot_logo.gif" style="margin-left: 2em; margin-top: 1em;"> <div style="clear: both;"> <p style="padding-top: 1.3em;">Dojo Offline is an open-source toolkit that makes it easy to create offline web applications. It sits on top of <a href="http://gears.google.com/" title="Google Gears">Google Gears</a>, 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:<br> </p><ul> <li> <a href="http://docs.google.com/View?docid=dhkhksk4_8gdp9gr#widget" title="An offline widget">An offline widget</a> 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 </li> <li> <a href="http://docs.google.com/View?docid=dhkhksk4_8gdp9gr#sync" target="_blank" title="A sync framework">A sync framework</a> to help you store actions done while offline and sync them with a server once back on the network </li> <li> <a href="http://docs.google.com/View?docid=dhkhksk4_8gdp9gr#network_status" target="_blank" title="Automatic network and application-availability detection">Automatic network and application-availability detection</a> to determine when your application is on- or off-line so that you can take appropriate action </li> <li> <a href="http://docs.google.com/View?docid=dhkhksk4_8gdp9gr#slurp" target="_blank" title="A slurp() method">A slurp() method</a> 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. </li> <li> <a href="http://docs.google.com/View?docid=dhkhksk4_8gdp9gr#dojo_storage" target="_blank" title="Dojo Storage">Dojo Storage</a>, 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 </li> <li> <a href="http://docs.google.com/View?docid=dhkhksk4_8gdp9gr#dojo_sql" target="_blank" title="Dojo SQL">Dojo SQL</a>, an easy to use SQL layer that executes SQL statements and returns them as ordinary JavaScript objects </li> <li> <a href="http://docs.google.com/View?docid=dhkhksk4_8gdp9gr#crypto" target="_blank" title="New ENCRYPT() and DECRYPT() SQL keywords">New ENCRYPT() and DECRYPT() SQL keywords</a> 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. </li> <li> Integration with the rest of Dojo, such as the Dojo Event system </li></ul></div>