Subject Re: [Firebird-Architect] Embedded Javascript
Author Jim Starkey
marius popa wrote:
> On Sun, Dec 14, 2008 at 1:25 PM, Jim Starkey <jstarkey@...> wrote:
>
>> Did the idea go anywhere? Is there a good model for extending
>> JavaScript for SQL access?
>>
> here is an good model that seems to be used with javascript engine on
> the server side (i think about the http side not sql engine side)
> http://www.wxjavascript.net/mysql/index.html
> maybe something like jdbc for java script is needed
>
>
That's the general idea, though I think there is room for improvement in
the API. Did you catch the note:

The MySQL module makes the MySQL <http://www.mysql.com> database
available in JavaScript. This module has been tested with MySQL
version 5.0. If you use another version, and you encounter problems,
you can try to rebuild this module with your MySQL version.

Can you imagine working on a database system without even lip service to
API compatibility from version to version? Yuck!

--
Jim Starkey
President, NimbusDB, Inc.
978 526-1376