Interact with HTML5 localStorage and sessionStorage Easier with Jquery Storage API
Yesterday we wrote about Jcanvas, which is a jquery plugin to interact with HTML5 canvas element. Now, we would like to share information about HTML5 localStorage and sessionStorage API. The second element is the new feature of HTML5 and start widely used by developers to make their applications more perfect, especially HTML5-based games. HTML5 localStorage allows us to store information on the local storage medium, almost similar to a cookie.
JQuery Storage API Features
- To store object easily, encode/decode it with JSON automatically
- Ability to define namespace and use it as a specific storage
- Magic getter and setter to have access at an infinite object level with one call
- Add jquery.cookie and manage your cookies with this API
You can download it here