Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

OODB in Rebol

 [1/7] from: mlo::info::fundp::ac::be at: 1-Nov-2002 16:44


Hello the ML, Does anyone know if an OO database exists in Rebol like ZODB in Python or Poet in Java? Thank you. Miguel

 [2/7] from: tim:johnsons-web at: 1-Nov-2002 7:33


* miguel lopez <[mlo--info--fundp--ac--be]> [021101 06:53]:
> Hello the ML, > Does anyone know if an OO database exists in Rebol like ZODB in Python or > Poet in Java?
Hello Miguel: If by OO, you mean Object-Oriented, I don't think that 'save would qualify, but you might want to take a look at that native function. However, DocKimbel has developed a very nice MySQL driver, which I use - it is built using rebol 'scheme protocol and sockets. And I've built my own object and dialect to work with it. I'm sure many others on this list have their own constructs. I'm not picking up DocKimbels site from my location currently, but MySQL has a link to it at http://rebol.softinnov.org/mysql I hope this helps -- Tim Johnson <[tim--johnsons-web--com]> http://www.alaska-internet-solutions.com http://www.johnsons-web.com

 [3/7] from: mlo:info:fundp:ac:be at: 1-Nov-2002 18:12


Thank you for your answer. I knew this driver. But I read that rebol is also a storage format like xml. Does it exist a middleware which consists on a persistent mechanism? Miguel

 [4/7] from: greggirwin:mindspring at: 1-Nov-2002 11:59


Hi Miguel, << Does anyone know if an OO database exists in Rebol like ZODB in Python or Poet in Java? >> Not at the present time. I don't know of any bindings to Poet, O2, Matisse, or any others, and there isn't one written in REBOL; probably for two reasons. 1) There is a long-standing bug in direct file access seeking, which would make it difficult. 2) REBOLs native format is very capable all by itself, whether you store things in "serialized" format, plain block structures, or something else. Since it's good enough to handle a probably couple thousand records, there isn't a great impetus to build something. --Gregg

 [5/7] from: nitsch-lists:netcologne at: 1-Nov-2002 20:35


Am Freitag, 1. November 2002 18:12 schrieb miguel lopez:
> Thank you for your answer. > I knew this driver. > But I read that rebol is also a storage format like xml. Does it exist a > middleware which consists on a persistent mechanism? >
like xml - thats 'save or 'mold for saving, 'load for loading. everything loaded in memory, and only tree-style. for some 10 to 100 kb and simple data-sturctures that's ok. AFAIK object-oriented database means "keep most of the data on disk", and "support cyclic structures". thats missing / not needed.
> Miguel
-Volker

 [6/7] from: al:bri:xtra at: 2-Nov-2002 9:10


Volker wrote:
> like xml - thats 'save or 'mold for saving, 'load for loading.
everything loaded in memory, and only tree-style. for some 10 to 100 kb and simple data-sturctures that's ok. I'm using a datafile that's over 1MB and getting fast response "surfing" through it using a browser and my Wiki. The data file supports cyclic structures and has no preferred "grain" as it were. It's not really in a state to be released yet; I'm still working on it. Andrew Martin ICQ: 26227169 http://valley.150m.com/

 [7/7] from: reffy:ulrich at: 1-Nov-2002 14:31


Object database? What is that? A Is 1000 1000 ReshapeOf 1000000 Random 8000 If this array which contains 1000000 random numbers isn't an object, then I don't have a clue as to what an object is. I wouldn't expect in the norm that this object would be held in memory. If I reference it in further expressions, I would expect the underlying software to be able to iterate over its elements whether it is in memory or paged to disk. And if the next expression that I type is something like: A *= 100 Then, again, the interim result and the modified A should also be "paginated" if you know what I mean. The attributes which might be tightly bound to A need not be held on disk, but could. For example, A:'title' Is 'A whole lot of random numbers' A:'bgc' 'fgc' Is 'Yellow' 'Blue' Would someone comment on this? Dick