Hi,
One option would be to use a dictionary per key. Then use the observer design pattern for keeping them consistent. But maybe your OODB offers already a solution? Regards Ernst > chunsj at embian.com chunsj at embian.com > Mon Nov 26 01:22:30 UTC 2007 > > Hi, > > my data class has following attributes; > > title > content > creation date > modified date > type > > and except content, the collection of > elements of this data shlould be indexed; that is, > title, creation/modified date and type be key. > > If single key is required, then dictionary will be my choice(or > should I use tree?). What is the best data structure for multiple > keyed data? This question has been one of my hurddle to the > OODB; if like now, sql db will be used, I know how to handle this. > > Thanks in advance. seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi,
don't know whether magma or omnibase does have solution for this. It seems that I/devloper does have to provide properly designed data structure... ----- Original Message ----- From: Ernst <[hidden email]> To: [hidden email] Sent: 07-11-26 18:00:11 Subject: Re: [Seaside] Re: Best data structure for... Hi, One option would be to use a dictionary per key. Then use the observer design pattern for keeping them consistent. But maybe your OODB offers already a solution? Regards Ernst > chunsj at embian.com chunsj at embian.com > Mon Nov 26 01:22:30 UTC 2007 > > Hi, > > my data class has following attributes; > > title > content > creation date > modified date > type > > and except content, the collection of > elements of this data shlould be indexed; that is, > title, creation/modified date and type be key. > > If single key is required, then dictionary will be my choice(or > should I use tree?). What is the best data structure for multiple > keyed data? This question has been one of my hurddle to the > OODB; if like now, sql db will be used, I know how to handle this. > > Thanks in advance. [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Check these pages:
About MagmaCollections - http://wiki.squeak.org/squeak/2639 Magma Queries - http://wiki.squeak.org/squeak/5859 Carlos Lenz On Nov 26, 2007 8:41 AM, "S.J.Chun" <[hidden email]> wrote: > Hi, > > don't know whether magma or omnibase does have solution for this. > It seems that I/devloper does have to provide properly designed data > structure... > > > ----- Original Message ----- > From: Ernst <[hidden email]> > To: [hidden email] > Sent: 07-11-26 18:00:11 > Subject: Re: [Seaside] Re: Best data structure for... > > Hi, > One option would be to use a dictionary per key. Then use the observer design > pattern for keeping them consistent. > But maybe your OODB offers already a solution? > Regards > Ernst > > > chunsj at embian.com chunsj at embian.com > > Mon Nov 26 01:22:30 UTC 2007 > > > > Hi, > > > > my data class has following attributes; > > > > title > > content > > creation date > > modified date > > type > > > > and except content, the collection of > > elements of this data shlould be indexed; that is, > > title, creation/modified date and type be key. > > > > If single key is required, then dictionary will be my choice(or > > should I use tree?). What is the best data structure for multiple > > keyed data? This question has been one of my hurddle to the > > OODB; if like now, sql db will be used, I know how to handle this. > > > > Thanks in advance. > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |