JSDB初体验

官方介绍:

JSDB is JavaScript for databases, a scripting language for data-driven, network-centric programming on Windows, Mac, Linux, and SunOS. JSDB works with databases, XML, the web, and email. It is free and open-source. Use it as a JavaScript shell, to run CGI programs, or as a web server.

 

 

其实就是js,数组用[], 对象用{}, 试跑了一下,非常强大,先MARK一下,有空玩。

 

看几个例子:

 

读取网页

var w = new Stream('http://www.xxx.com/'); w.readFile();

 

读取文件

var s = new Stream('d:/temp.txt') s.readFile();

 

 

有关链接:

 

 Home 

 

Tutorial

 

Cookbook

 

More examples

 

Reference 

你可能感兴趣的:(JSDB初体验)