Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 Offline storage web framework

I am looking for a web app framework which can automatically generate an HTML5 offline storage based app, so while the users become disconnected they still can view the data which normally is stored on a server

Also currently I am using Django and it would be great if there was a framework which could pull data from Django and present that as an offline app.

From the related questions suggested by stackoverflow, while writing this question, I found one interesting link mentioning that GWT has such functionality, I would like to know more about that if possible and if it can generate an HTML5 offline app

Thanks in Advance

like image 729
denysonique Avatar asked Jan 16 '11 15:01

denysonique


People also ask

Does HTML5 support offline storage?

The local storage is a type of HTML5 offline storage that allows user string data to be saved synchronously in their browser. Information is kept in name and value pairs and not available between different browsers on the same device. Local storage can be used as an alternative to cookies.

What is HTML5 offline storage space?

HTML5 introduced many storage APIs that let you store a large amount of data locally in your users' browsers. But the amount of space allocated for each app is, by default, restricted to a few megabytes. Google Chrome lets you ask for a larger storage quota, beyond the previous limit of just 5 MB.

Does HTML5 have local storage?

Because HTML5 local storage is natively integrated into Web browsers, it is available without third-party browser plug-ins. It is described in the HTML5 specifications. Local storage is mainly used to store and retrieve data in HTML pages from the same domain.

What allows HTML5 application to work in an offline state?

Offline web applications are available through the new HTML Offline Web Application API, also known as HTML Application Cache. Beyond simply serving pages to the user when an Internet connection is unavailable, often an offline application requires storage of user's information.


1 Answers

Rather than server-side frameworks, you should be taking a look at JavaScript frameworks.

Dojo Storage will transparently select between providers such as Google Gears, Adobe AIR or plain old HTML 5 local storage. Dojo 1.5 - dojox.storage: http://dojotoolkit.org/api/1.5/dojox/storage

There's also jQuery local storage: http://plugins.jquery.com/project/saveit

... or jStorage, which can act as a storage plugin for jQuery, Prototype or MooTools: http://www.jstorage.info/

With any of these, you should be able to use a quick little AJAX call to pull (JSON perhaps) data from your server and use one of these tools to help minimise your storage code.

like image 152
Steve Avatar answered Oct 20 '22 04:10

Steve