本文介绍了HTML5 Web存储抽象库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
根据我在HTML5中读到的网络存储,有许多不同的存储选项,不同浏览器的支持各不相同。
From what I've read of web storage in HTML5, there are a number of different storage options with varying support across different browsers.
是否有任何受欢迎的图书馆用于抽象HTML5应用程序中的Web存储?
Are there any popular libraries for abstraction of web storage in HTML5 applications?
推荐答案
有几个基于YUI的库用于抽象底层存储:
There are a couple of YUI-based libraries for abstracting the underlying storage away:
- YUI 2: Storage Utility
- YUI 3: Storage Lite
如果您想将它们与其他库一起使用,则需要移植它们,尽管它看起来像某人有。
You'd need to port them if you wanted to use them with another library, though it looks like someone has already done that for jQuery.
这篇关于HTML5 Web存储抽象库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!