HTML5是一种构建Web内容的语言描述方式,它赋予了网页更好的意义和结构。随着基于HTML的Web应用程序的大规模应用,开发人员经常会遇到以离线为背景的Web数据存储的问题。 HTML5提供了Web Storage和Web DataBase两种离线存储机制,分别用于存储key/value和复杂交互式的数据,与Cookie技术相比有较大的存储容量和较高的存取效率,有效解决了离线数据的存储与服务器同步的问题。%HTML5 is seen as a language description way of constructing Webpage content,which gives the Webpage meaning and structure better. With the large-scale application of HTML Web application,developers often encounter the problems of storing Web data background to offline,HTML5 provides Web Storage and Web Database Storage mechanism,which are respectively used for sto-ring the key/value and complex interactive data,it has larger storage capacity and higher effectiveness than cookie technology,so the offline data storage and server synchronization problems are solved efficiently.
展开▼