Is there library/framework for ruby that makes doing persistant objects
easy? At this point, I’m not in the least bit concerned about how the
back-end works (SQL, XML, proprietary). All I want is something where I
can store and reload a large conglomerate of interrelated objects with a
simple calls. I’d like to do this without an extensive learning curve,
or a lot of object customization. Support for migration between
different versions of the same classes is important.
I’ve looked through the RAA, but nothing jumped out at me. Google led
me to pstore (standard with ruby), but documentation seems to be
extremely scare on that.
I’ve looked through the RAA, but nothing jumped out at me. Google led
me to pstore (standard with ruby), but documentation seems to be
extremely scare on that.
PStore is fine for what it does, and it’s documented in the Pick Axe:
I’ve looked through the RAA, but nothing jumped out at me. Google led
me to pstore (standard with ruby), but documentation seems to be
extremely scare on that.
PStore is fine for what it does, and it’s documented in the Pick Axe:
But it reads and writes the whole file for any transaction, which may
not be what you want…
You’re right, that’s not what I want. What I really want, now that I
thiink about it, is for objects to be loaded “on-demand”, and for dirty
objects to be periodically “flushed to disk”. I probably need to give
this some more thought, and I’ll probably end up simply doing a SQL
database, or XML.
You’re right, that’s not what I want. What I really want, now that I
thiink about it, is for objects to be loaded “on-demand”, and for
dirty objects to be periodically “flushed to disk”.
That sounds to me like an OO database. Which does exactly that and it’s really nice for the application programmer.
Unfortunately the only decent one I know is GOODS and that has no Ruby
interface yet. There is a perl interface for the bravehearted “porter”.
Goods does exactly this Schema evolution and copes with several clients
using different schemas. I’ve worked with only from java, and it’s
really nice, so just for information, here’s a URL Generic Object Oriented Database Management System.
I’ve looked through the RAA, but nothing jumped out at me. Google led
me to pstore (standard with ruby), but documentation seems to be
extremely scare on that.
PStore is fine for what it does, and it’s documented in the Pick Axe:
But it reads and writes the whole file for any transaction, which may
not be what you want…
You’re right, that’s not what I want. What I really want, now that I
thiink about it, is for objects to be loaded “on-demand”, and for dirty
objects to be periodically “flushed to disk”. I probably need to give
this some more thought, and I’ll probably end up simply doing a SQL
database, or XML.
Any volunteers for porting Enterprise Objects Framework to Ruby?
···
On Thu, 04 Jul 2002 17:14:12 +0200, David Corbin wrote:
You’re right, that’s not what I want. What I really want, now that I
thiink about it, is for objects to be loaded “on-demand”, and for dirty
objects to be periodically “flushed to disk”.
Mnemonic looks interesting. To clarify a few things, it looks like
whenever you construct an object you need to actually construct Mnemonic
wrapper around the object. Is that correct? Is there anyway to build
that into the business class, so that client’s don’t need to deal with
Mnemonic?