jackxiao / jslibs

Automatically exported from code.google.com/p/jslibs
0 stars 0 forks source link

API for Sedna XML Database #91

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm actually quite interested in alternative database models rather than
classic relational SQL databases.

At work we're going to be starting using the Sedna XML database. Our next
project at work is going to be in ruby, but personally I really love the
idea of using an XML database along with JavaScript that already has e4x
built in.

Sedna: http://modis.ispras.ru/sedna/index.html
C API: http://modis.ispras.ru/sedna/c-samples.html
Ruby API: http://sedna.rubyforge.org/
MonkeyScript API draft:
http://sites.google.com/a/monkeyscript.org/api-draft/sedna

I can probably make due with the extra parts that make use of the database
easy if jslibs provides an underlying API with:
SednaError, SednaAuthenticationError, SednaConnectionError, and
SednaTransactionError
s = new Sedna(connectionData);
r = s.execute(stringQuery); // SednaResult
r.next();
s.autocommit; // get/set
s.begin(); s.commit();
s.close();
And the constants.

I did make some notes on async/nonblocking stuff in the MonkeyScript draft.
Though I don't know how well that can really be done at this point.

Original issue reported on code.google.com by nadir.se...@gmail.com on 1 Apr 2009 at 2:15