Plugin jQuery: jQuery totalstorage : Local Storage Plugin

jQuery totalstorage : Local Storage Plugin
http://www.jqueryrain.com/?http://upstatement.com/blog/2012/01/jquery-local-storage-done-right-and-easy/
https://github.com/jarednova/jquery-total-storage
gins, , Web
26/06/2013

Nội dung

jQuery totalstorage : Local Storage Plugin

A jQuery plugin to manage local storage and cookies simultaneously in a simple interface.

We found that HTML5 Local Storage gave us the best return in terms of reliability and speed. Internet Explorer compatibility? Not so much. So we wrote totalStorage, a jQuery plugin that combines the ease and usefulness of totalStorage with the universal compatibility of cookies (along with some helpful tools like automatic JSON encoding/decoding).

  • The browser doesn’t support local storage it will fall-back to cookies! (Using the wonderful $.cookie plugin).
  • Send it strings, numbers even complex object arrays! TotalStorage does not care. Your efforts to defeat it will prove futile.
  • Simple as shit. jStorage and some other very well-written plugins provide a bevy of options for expiration, security and so forth. Frequently this is more power than you need and vulnerable to confusion if you just want it to work (JWITW)
Tags: Html5 Local Storage

Nguồn: www.jqueryrain.com/2013/06/jquery-totalstorage-local-storage-plugin/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận