03 2013 档案

摘要:这是这个系列教程的第二部分,也是最后一部分,第一部分教程请点击这里While thelast part of the tutorialcovered the basic CRUD methods get/getAll/put/delete, this part is about the real thing: running queries against the store.To do so, we need to get familiar with two things: Creating indexes, and creating keyRanges.上一讲,我们讲了几个基础操作API方 阅读全文
posted @ 2013-03-09 14:40 池中物王二狗 阅读(1179) 评论(0) 推荐(0) 编辑
摘要:最近的HTML5项目中要用到客户端数据持久化,就尝试了一下HTML5客户端数据持久化方案。本来选用的是indexedDB来保存服务器数据至本地,但由于webkit升级后原本用IndexedDB写好的逻辑报错,加之操作IndexedDB比较奇葩,干脆又选用了web sql。但是web sql 对于前端人员用习惯了javascript再来写sql语句操作数据库总感觉怪怪的。所以自己把sql语句封装成了一个js库,取名为websqlWrapper.websql浏览器支持情况,pc与移动端都比较良好介绍WebsqlWrapper是一个简化websql操作的javascript库,在BSD协议下开源发布 阅读全文
posted @ 2013-03-01 22:11 池中物王二狗 阅读(3145) 评论(4) 推荐(1) 编辑

转载入注明博客园 王二狗Sheldon Email: willian12345@126.com https://github.com/willian12345
点击右上角即可分享
微信分享提示