[Seaside] generating relationships
ssastre at seaswork.com
Thu May 14 13:19:20 UTC 2009
just relate the objects in instance variables. In collections when N and one
when one :)
In a second phase you make convenience methods so they talk each other so they
answer what you need.
Only if the ammount of data is big then you may need to do something else
> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre
> de sergio_101
> Enviado el: Thursday, May 14, 2009 09:50
> Para: Seaside - general discussion
> Asunto: [Seaside] generating relationships
> i just got through with the gemstone tutorial
> ).. a really great tutorial on some of the facets of seaside..
> one question i do have is:
> if i have some objects like:
> where an artist has many fans
> an album belongs to an artist
> an artist can have many fans
> a fan can have many artists
> how do i articulate those relationships?
> how would i articulate something like..
> give me a list of all fans of a specified artist..
> give me all albums from this artist..
> sergio t. ruiz
> network analyst
> red red design
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside