On 8 April 2010 10:02, Friedrich Dominicus <frido@q-software-solutions.de> wrote:
Friedrich Dominicus <frido@q-software-solutions.de> writes:
I just  wonder about experiences with non relational databases like e.g - Magma - Gemstone - others Ok to  get a bit more concrete assume I have a simple inheritance as in the  example
[snip]
Or asked anotherway. How is inheritance handled in the diverse persistence tools..
Another question is how easy or difficult is it to have let's say something like a person with addresses, phone numbers etc.
How would I have to query let's say the street address of a certain Person. e.g
I can't say for OR mappers, but for OODBs like Gemstone or Magma, everything is handled seamlessly. You need to care only about your data model, and can do anything, what naturally you want to do with your data. OODB handling all of it behind the scenes. All what is you have to do is to designate the transaction boundaries, where you dealing with data, so you can abort /commit it at some logical point. The rest of stuff can be used without caring about persistence - you working with objects as if they are just objects , as if you having your data in image. As simple as that. Of course, there are indexes and other helpful stuff, which could help you work more efficiently with larger data sets, but it is optional. So, while in RDBMS your are a servant of database (because you have to follow all requirements for every query/data model you put there), with OODB - it is a database your servant and doing everything for you, without much interference and without dictating you how your data structures should be organized. So, i think this answering your question about inheritance: if you need inheritance, just use it. :)
Regards Friedrich
-- Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
-- Best regards, Igor Stasenko AKA sig.