Hi, is there MVC pattern for implementing Seaside applications? BTW, I'm using GLASS. Thus, I'll be using GemStone/S OODB for persisting objects so that they exist across sessions? Lastly, what mechanism(s) and/or technique(s) should one use to get stuff into GemStone/S?
Thanks in advance, -Conrad _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Seaside is not MVC based, Seaside is component based.
Cheers Philippe 2008/2/26, Conrad Taylor <[hidden email]>: > Hi, is there MVC pattern for implementing Seaside applications? BTW, I'm > using GLASS. Thus, I'll be using GemStone/S OODB for persisting objects so > that they exist across sessions? Lastly, what mechanism(s) and/or > technique(s) should one use to get stuff into GemStone/S? > > Thanks in advance, > > -Conrad > > > > > > > _______________________________________________ > 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 |
Philippe Marschall wrote:
> Seaside is not MVC based, Seaside is component based. > > Cheers > Philippe > > 2008/2/26, Conrad Taylor <[hidden email]>: It may be component based but does that mean you cannot use MVC for developing each component? Isn't the SUComponent just a view on some underlying model? Regards, Frank _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2008/2/26, Squeaker <[hidden email]>:
> Philippe Marschall wrote: > > Seaside is not MVC based, Seaside is component based. > > > > Cheers > > Philippe > > > > 2008/2/26, Conrad Taylor <[hidden email]>: > > > > It may be component based but does that mean you cannot use MVC for > developing each component? Seaside components combine V and C. Cheers Philippe > Isn't the SUComponent just a view on some underlying model? > > Regards, > Frank > > > _______________________________________________ > 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 |
I do web-framework style "MVC" in Seaside. (Always wished web
frameworks had chosen a different name than MVC since it is quite a bit different from the GUI pattern MVC we know from Smalltalk and as described in the Design Patterns book.) Object subclasses for my model. WAComponent subclasses to do my view stuff. WATask subclasses to do my controller stuff. On Tue, Feb 26, 2008 at 8:16 AM, Philippe Marschall <[hidden email]> wrote: > 2008/2/26, Squeaker <[hidden email]>: > > > Philippe Marschall wrote: > > > Seaside is not MVC based, Seaside is component based. > > > > > > Cheers > > > Philippe > > > > > > 2008/2/26, Conrad Taylor <[hidden email]>: > > > > > > > > It may be component based but does that mean you cannot use MVC for > > developing each component? > > Seaside components combine V and C. > > Cheers > Philippe > > > > > Isn't the SUComponent just a view on some underlying model? > > > > Regards, > > Frank > > > > > > _______________________________________________ > > 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 |
In reply to this post by squeakman
> It may be component based but does that mean you cannot use MVC for > developing each component? > > Isn't the SUComponent just a view on some underlying model? > > Regards, > Frank > The thing is that MVC is not the happiest name for this due to architecture differences. But certainly you can conserve the spirit (intention) of the MVC pattern. I'm using them in a variant of it to program in a Dolphin Smalltalk style: MVP. There, javascript is not replacing exaclty the View. It sometimes does the View part and others the Presenter part which are programmed in the seaside components. As architecture you have Model and Component and Component is defining (coupled) the application domain and the View domain. Cheers, Sebastian _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by David Mitchell-10
Hey David, do you have an example that you can share?
-Conrad
On Tue, Feb 26, 2008 at 6:25 AM, David Mitchell <[hidden email]> wrote: I do web-framework style "MVC" in Seaside. (Always wished web
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |