I'm looking for a persistent database system for Ciao. DHT seems to be much more complex than what I need and using the internal database and assert is not quite enough. I'd like a system that at least can keep terms dynamically sorted.
Any ideas?
John
I have started on an interface from Ciao to mongoDB. So far, I have much of the BSON code done, but I need to finish the mongo portion.
My goal is to have mongoDB available in a Ciao program as simply as possible including non-determinism.
Here is a document in MS Word format that I wrote as quickly as I could just to see if there is any interest in this. It explains how to use what I have completed so far.
John McCulloch
http://old.nabble.com/file/p35057457/bson_pl.docx bson_pl.docx
mcculloch wrote:
I'm looking for a persistent database system for Ciao. DHT seems to be much more complex than what I need and using the internal database and assert is not quite enough. I'd like a system that at least can keep terms dynamically sorted.
Any ideas?
John
I've got a version of this done that I think is ready for anyone to look at if there is any interest.
Soon it will be available for anyone to see. It is only in source form. One needs to have some prereqs to use it.
I just added support for regular expressions since mongoDB supports it and everything seems to work on the CIao and C++ side but I am not a regex expert and some results don't make sense to me, but I know the regex is being provided to mongo properly.
I would really like some feedback on the function of this code.
Thanks, John
mcculloch wrote:
I have started on an interface from Ciao to mongoDB. So far, I have much of the BSON code done, but I need to finish the mongo portion.
My goal is to have mongoDB available in a Ciao program as simply as possible including non-determinism.
Here is a document in MS Word format that I wrote as quickly as I could just to see if there is any interest in this. It explains how to use what I have completed so far.
John McCulloch
http://old.nabble.com/file/p35057457/bson_pl.docx bson_pl.docx
mcculloch wrote:
I'm looking for a persistent database system for Ciao. DHT seems to be much more complex than what I need and using the internal database and assert is not quite enough. I'd like a system that at least can keep terms dynamically sorted.
Any ideas?
John
Until I can get a way to present this more properly, you can see my code (and cut and paste if you want) here:
http://members.bex.net/johnnymcc
There is no documentation yet since I can't get LPDoc to work. Sorry.
There will be a better way to get this before too long.
John