durusmail: durus-users: OODB vs SQL
OODB basics
2005-10-08
2005-10-09
2005-10-09
2005-10-09
2005-10-09
2005-10-09
2005-10-09
2005-10-09
2005-10-09
2005-10-09
2005-10-11
2005-10-12
Re: OODB basics
2005-10-11
OODB vs SQL
2005-10-09
2005-10-09
2005-10-09
Re: OODB vs SQL
2005-10-10
Re: OODB vs SQL
2005-10-10
OT: Durus
2005-10-13
2005-10-13
2005-10-13
2005-10-09
2005-10-09
2005-10-09
2005-10-10
2005-10-11
2005-10-11
2005-10-11
2005-10-11
Re: OODB vs SQL
2005-10-11
2005-10-11
2005-10-11
2005-10-12
2005-10-12
2005-10-12
Demo application [was: Re: [Durus-users] Re: OODB vs SQL]
2005-10-13
Re: OODB vs SQL
2005-10-11
Durus basics
2005-10-09
2005-10-09
2005-10-10
2005-10-10
2005-10-10
2005-10-13
2005-10-13
2005-10-13
2005-10-13
Re: OODB basics
2005-10-13
OODB vs SQL
Patrick K. O'Brien
2005-10-09
John Miller wrote:
> On Oct 9, 2005, at 12:45 PM, Patrick K. O'Brien wrote:
>
>> Oleg Broytmann wrote:
>>
>>>    Thank you. Have I missed something important?
>>
>>
>> Hmm.  Tough question.  I'm convinced that there is nothing in the
>> Relational world that can't be achieved in an OODB with the  exception of
>> language independence.
>
>
> What about relationships? I guess one thing I've not been able to
> understand about OODBs is how to achieve relations like I can with
> relational databases.

Schevo introduces several things to achieve this.  For one, every Entity
class automatically gets a corresponding Extent class that manages
instances of that particular Entity.  Dealing with the Extent is like
dealing with a Relational table.  Next, a Schevo Entity has fields,
which are like Python attributes but are actually instances of Field
classes.  One field class is an Extent Field, which supports a reference
from one entity to another, in a child/parent or many:one relationship.
 These references are automatically indexed, referential integrity is
enforced, and deletes of parents can be declared to be restricted (the
default), cascade, or set the field to unassigned (kind of like an SQL
NULL, but less evil).

--
Patrick K. O'Brien
Orbtech       http://www.orbtech.com
Schevo        http://www.schevo.org
Pypersyst     http://www.pypersyst.org
PyDispatcher  http://pydispatcher.sourceforge.net

reply