JSDBJS 数据访问包
JSDB 是 JavaScript 用来访问数据的开发包,是一个数据驱动的脚本语言,支持数据库、XML 和 Web 以及 Email。
JSDB is based on Mozilla SpiderMonkey and class libraries developed by Raosoft, Inc. The open-source version is free with fairly generous license terms. Additional functionality or even less restrictive license terms may be purchased from Raosoft, Inc.
JSDB can treat any DBF/xBase, ASCII, Oracle, Sybase, DB/2, Postgres, MySql, Access, or Microsoft SQL Server table equivalently, translating high-level (set(row,field,value), get(row,field)) function calls to database-specific SQL commands. The same applies to email: you can communicate with Lotus Notes, Exchange (MAPI), and SMTP/POP3 mail systems interchangably with a single set of function calls.
JSDB also includes a stream object that gives you a common interface to files, COM ports, sockets, HTTP, pipes, and memory. The ability to treat memory as if it were a file helps you write reusable code that is easily adapted to a variety of situations.
For writing distributed XML web applications, JSDB comes with an Internet server component and an XML parser, both implemented in a balance of C++ and JavaScript for optimum speed and flexibility.
You might use JSDB to:
- translate XML into SQL statements,
- translate SQL databases into XML,
- generate HTML documentation from an XML or Oracle database,
- download web pages while you sleep,
- index their contents in a database,
- send personalized email based on a database,
- or run a web database