From: George Moschovitis Date: 2005-10-29T02:37:03+09:00 Subject: Re: The "perfect" ORM? > I dislike putting the metadata for my objects into the objects > themselves. The metadata is stored in the object class not the actual instances. > As someone pointed out, if I "reopen" the class, it is a little > better. Og 0.24.0 allows reopening. > In addition, my memory of Og is that it encourages thinking in > database terms (like "has_many") -- true or not? I dont think that has many is a database term, it just decribes object relations amd allows Og to automagiaclly generate some useful methods. This is an abstraction. > 1. To think in object (and persistence) terms, not database terms. I think, using Og you almost forget that you are using a database. In fact you dont need an RDBMS store. > 2. To specify the minimum information necessary in order to marshal > each of my types. Og supports this. > 3. To store the metadata separately from my classes/objects so as to > minimize impact on them. (But probably not in a separate file.) You can do this in the latest version. Og is constantly evolving stay tunned for even better abstractions. Even better you can help us with suggestions and/or patches. Join the mailing list ;-) regards, George. -- http://www.gmosx.com http://www.navel.gr http://www.nitrohq.com