[Seaside] [Q] Best data structure for...

Ramiro Diaz Trepat ramirodt at gmail.com
Mon Nov 26 13:03:30 UTC 2007


With MagmaCollections you can index all the attributes that you want
and then you can perform queries that use them as it was pointed by a
previous mail.
But if you are forced to use a RDBMS, then use GLORP, and hadle your
collections in a regular way.
I believe Norbert Hartl has just finished porting the latest version
of GLORP to Squeak.
Hope that helps

bye


r.


On Nov 25, 2007 10:22 PM,  <chunsj at embian.com> wrote:
> 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
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


More information about the seaside mailing list