[Seaside] Design Pattern For Accessing Model from View/Controller?

Philippe Marschall philippe.marschall at gmail.com
Wed Aug 29 07:32:29 UTC 2007


2007/8/29, Conrad Taylor <conradwt at gmail.com>:
> Hi, I have created a subclass of WAComponent.  Also, I have a class that
> represents a model and is a subclass of Object.  Thus, I was wondering,
> what's the best way to connect the my model to my component?  BTW, I have
> read the C. David Shaffer's tutorial, "Interlude:  Cleaning up the
> PersonalInformationView" and I'm just trying to see what the best approach
> for this.  Well, thanks in advance.

In general the view components directly reference the model, e.g. from
an instance variable.

Cheers
Philippe

> -Conrad
>
>
>
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


More information about the seaside mailing list