websql.js

码农软件 · 软件分类 · HTML5开发相关 · 2019-03-07 17:58:15

软件介绍

websql.js 封装了异步的 WebSQL 调用,使用延迟承诺并提供 SQL 工具方法。

示例代码:

 <script src="path/to/when.js"></script>
 <script src="path/to/websql.js"></script>
 // Using a CommonJS Promisses/A implementation:
 define(["websql", "when"], function(websql, when) {
	 websql.config({
		 defer: when.defer
	 });
	 ...
 })

 // Using jQuery Deferred implementation:
 define(["websql", "jquery"], function(websql, $) {
	 websql.config({
		 defer: $.Deferred
	 });
	 ...
 })
var wsdb = websql("test");
wsdb.read("SELECT * FROM ...");
 .then(function(resultSet) { ... });

本文地址:https://codercto.com/soft/d/841.html

Game Engine Architecture, Second Edition

Game Engine Architecture, Second Edition

Jason Gregory / A K Peters/CRC Press / 2014-8-15 / USD 69.95

A 2010 CHOICE outstanding academic title, this updated book covers the theory and practice of game engine software development. It explains practical concepts and techniques used by real game studios,......一起来看看 《Game Engine Architecture, Second Edition》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换