“The Past, Present, and Future of Local Storage for Web Applications”
This is about the advantageous differences between local storage and web application storage. The differences being that local storage have options of storing informations in the following manner:
- The registry
- INI files
- XML files
- Embeded databases
- Own file format invention
- Web applitions only option is to store data as cookies which have downsides:
** What is Web Storage?**
The HTML5’s web storage feature lets you store some information locally on the user’s computer, similar to cookies, but it is faster and much better than cookies. However, web storage is no more secure than cookies. Please check out the tutorial on PHP cookies to learn more about cookies.
The information stored in the web storage isn’t sent to the web server as opposed to the cookies where data sent to the server with every request. Also, where cookies let you store a small amount of data (nearly 4KB), the web storage allows you to store up to 5MB of data.
There are two types of web storage, which differ in scope and lifetime:
- Local storage — The local storage uses the localStorage object to store data for your entire website on a permanent basis. That means the stored local data will be available on the next day, the next week, or the next year unless you remove it.
- Session storage — The session storage uses the sessionStorage object to store data on a temporary basis, for a single browser window or tab. The data disappears when session ends i.e. when the user closes that browser window or tab.

What is HTML5 storage?

-
- IE 8.0+
-
- Firefox 3.5+
-
- Safari 4.0+
-
- Chrome 4.0+
-
- Opera 10.5+
-
- Iphone 2.0+
-
- Android 2.0+
HTML5
The future of HTML5
Currenly the future looks good for HTML5 but there is more to life than “5 megabytes of named key/value pairs,” and the future of persistent local storage and there are competing visions. One vision is SQL. In 2007, Google launched Gears, an open source cross-browser plugin which included an embedded database based on SQLite. This influenced the creation of the Web SQL Database. Web SQL Database (formerly known as “WebDB”) provides a thin wrapper around a SQL database, allowing you to store code from JavaScript.