from http://www.jsdb.org/
"As a general-purpose scripting environment I have found JSDB ... to be a superbly powerful and extensible environment for managing batch tasks." — A. M.
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. |
Start here
Then,
| September 22, 2011
Cool stuff |
Learn more
For 17 years, I have been building a powerful, robust C++ class library to support my commercial electronic form software. But I wanted something more flexible than compiled code — something that would let me improvise quick solutions, without all the hassle of setting compiler options. It would have to be self contained, capable of running with no DLLs or libraries to worry about. I scoured the internet, but I couldn't find anything that would fit the bill. I was afraid that I would have to write my own computer language — until I discovered Mozilla's JavaScript! It's open-source, has generous license terms, and is actively maintained by the language's inventor, Brendan Eich. This led me to create JSDB®, an interactive JavaScript interpreter, extended with powerful data-manipulation tools.
JSDB® uses the same language interpeter as FireFox (including E4X) to give you high-level control over powerful classes for databases, email, networking, and XML. Now, without ever firing up my compiler, I can write simple (and even complex) programs in 1/10th the time it used to take me with C++! I'm thrilled with JSDB, and I want to share it with you. It's open source, it's free to download, and it's unencumbered by IP claims. And I've just added a powerful graphical debugger to make it even easier to write network-centric programs with JSDB. I hope you like it! |
About
JSDB® is a JavaScript shell designed with network-centric programming in mind. It can be used as a database interface, XML processor, and internet-oriented scripting language. JSDB can do nearly any batch processing task that Visual Basic can do, and it has drivers to let you read and send email, query a MySQL database, and run regular expression searches, without having to learn a specific SQL syntax or install a bunch of ActiveX components. JSDB has everything you need to write a web server or database middleware, with a graphical debugger, itself written in JSDB.
Examples
A bulk mailer, using a desktop web GUI. | Visual, customizable, remote debugger |
What is it?
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
It includes a simple and fault-tolerant XML parser library, and a specialized parser for EFS forms used by Raosoft's EZSurvey and InterForm programs.
Pricing
You can download JSDB and use it for free. You can give it to a friend, and she can use it for free, too. You can even sell JSDB, but check the license terms first. To show your gratitude, please contribute your own useful or thought-provoking creations to the public domain. JSDB is based on the public-spirited contributions of many people who believe in sharing.
Legal
JSDB is a registered trademark of Shanti Rao. Raosoft is a registered trademark of Raosoft, Inc. The name JSDB may only be used to describe the software downloaded from this web site. Any alterations, including embedding in other programs, may not be called JSDB without the prior written permission of Raosoft, Inc.
JSDB has no warranty, express or implied. Don't use it for medical devices or avionics.
JSDB is subject to certain license terms which apply if you redistribute it in whole or part (including derived works). Contact us to purchase a CD with less restrictive license (for bundling with a closed-source product, for instance) from Raosoft, Inc. Prices are reasonable, starting at $50.
Please see the license for warranty and limited liability statements.
Get JSDB
Click here to download JSDB and start exploring today!
As demonstrated here (pay video) by pluralsight , you can use it like the old fashioned command line BASIC interpreter style:
jsdb
js> writeln("Hello World");
Hello World
js>var i - 1;
js>var j = 3;
js>i + j;
4
js>^c
// ^c exits
// execute script from file
jsdb hello.js
// use load to execute script from command line
>jsdb
>load ("hello.js");
Hello World
true
As demonstrated here (pay video) by pluralsight , you can use it like the old fashioned command line BASIC interpreter style:
jsdb
js> writeln("Hello World");
Hello World
js>var i - 1;
js>var j = 3;
js>i + j;
4
js>^c
// ^c exits
// execute script from file
jsdb hello.js
// use load to execute script from command line
>jsdb
>load ("hello.js");
Hello World
true
No comments:
Post a Comment