[Schevo-devel] [TUTORIAL] - Create and Evolve a Simple OO Application

Ilias Lazaridis ilias at lazaridis.com
Wed Feb 23 16:49:47 EST 2005


Matthew Scott wrote:
> Ilias Lazaridis wrote:
> 
>>> add "1:n" relation to Cars
>>
>> naturally, witin OO, this is done with adding a collection.
>>
>> how is this done within schevo?

I'm sorry, "this" refered to "1:n relations" within schevo.

how do I model them? (just drop the line/lines of relevant code).

> Schevo does not as yet have any collection field types.  As any 
> operation on a collection (insert, remove, move) would need to be 
> embodied in a transaction, it increases the complexity that supporting 
> this type of field would need.

ok

> As mentioned already, there is no deadline or schedule for implementing 
> such field types, although it is a long-term goal.

ok, thanks for the information.

> See the manyToMany example I just committed to the Subversion repository 
> for an example of a many-to-many relationship (people owning things) 
> using a separate entity.  It also illustrates the use of multiple 
> allowed types in an entity field.

ok, will look in the next step which covers M:N.

.



More information about the Schevo-devel mailing list