Wednesday, October 19th, 2005

Ajax Massive Storage System and Really Simple History framework

Category: Articles

Brad Neuberg has posted full instructions for working with both the Really Simple History framework as well as AMASS, the AJAX MAssive Storage System.

The Really Simple History framework

The Really Simple History (RSH) framework makes it easy for AJAX applications to incorporate bookmarking and back and button support. By default, AJAX systems are not bookmarkable, nor can they recover from the user pressing the browser’s back and forward buttons. The RSH library makes it possible to handle both cases.

Download the Really Simple History framework


AMASS

The AJAX MAssive Storage System (AMASS) uses a hidden flash applet to allow JavaScript AJAX applications to store an arbitrary amount of sophisticated information on the client side. This information is permanent and persistent; if a user closes their browser or navigates away from the web site, the information is still present and can be retrieved later by the web page. Information stored by web pages is private and locked to a single domain, so other web sites can not access this information.

AMASS makes it possible to store an arbitrary amount of sophisticated data, way pass the 4K limit of cookies or the 64K limit of Internet Explorer’s proprietary client-side storage system. An AMASS-enabled web site can store up to 100K without user permission. After 100K, users are prompted on whether the web site can store the requested amount of information. Users can approve or deny the storage request. The AMASS system informs the client-side application on whether the storage request was allowed or denied.

View the README files for both, where you can download the frameworks; they are both open source under a BSD license, so feel free to use them in your own consulting.

Example of using the storage handler

function statusHandler(status) {
if (status == Storage.SUCCESS) {
  var results = storage.get(keyName);
  alert("Results from statusHandler="+results);
}
else if (status == Storage.PENDING) {
  alert("Results pending approval of storage space from user");
}
else if (status == Storage.FAILED) {
  alert("Storage request denied");
}
};

Download the AJAX MAssive Storage System

Posted by Dion Almaer at 4:55 am
6 Comments

+++--
3.4 rating from 7 votes

6 Comments »

Comments feed

great stuff, would like to see it integrated into the prevailing API projects (dojo,prototype, etc). still waiting for the “libc” of ajax….

Comment by grumpY! — October 19, 2005

Hi Grumpy; in November and December I plan on integrating the work I’ve done into Dojo. I’m also looking for commercial sponsorship to accelerate development of both frameworks.

Comment by Brad Neuberg — October 19, 2005

Think AMASS + TrimPath = Javascript Database. Check it out:

http://www.sysbotz.com/articles/jsdb.htm

Comment by youknow — October 20, 2005

The latest.zip file of AMASS seem to be corrupted.The downloaded file does not open correctly. Please upload a valid file.I am planning to evaluate this zip.

Comment by sanjay — August 9, 2006

Hi,

Has anyone had any issues with the RSHF in IE. When trying the following example http://shrinkster.com/hqu in IE I see the loading bar at the bottom of the screen (not really what you want with an Ajax app) yet in Firefox I dont see this.

Any suggestions greatly appreciated.

Kieran

Comment by Kieran — August 26, 2006

The link now works http://codinginparadise.org/projects/dhtml_history/latest.zip. Brad has just moved his site onto Google Code hence the problem.

Thanks

Comment by Chris Gilbert — September 27, 2007

Leave a comment

You must be logged in to post a comment.