Re: MVC Question

2005-08-03 Thread Ted Husted
In the original SmallTalk MVC, the View does indeed update itself from the Model, via the Observer pattern. The original MVC pattern is like a loop. But, a direct link between the Model and the View is not practical for web applications, so we've modified MVC so that is more like a horseshoe, with

Re: MVC Question

2005-08-03 Thread Yan Hu
--- Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 8/2/05, Kent Boogaart <[EMAIL PROTECTED]> wrote: > > I guess my question is: is the action form considered part of the model? If > > not, what? Struts does not provide anything for the model. --

Re: MVC Question

2005-08-03 Thread Frank W. Zammetti
I've been in a position to train people in MVC before, and Struts in particular, and I've used diagrams to do this... one of the things I've always done in those diagrams is shown ActionForms straddling the space between V and C, and DTOs straddling the line between C and M. I think conceptually,

Re: MVC Question

2005-08-03 Thread Michael Jouravlev
On 8/2/05, Kent Boogaart <[EMAIL PROTECTED]> wrote: > I guess my question is: is the action form considered part of the model? If > not, what? Does it really matter, what you call it? Officially action form is not part of the Model. Model is supposed to reside in your own code, which you call fr

Re: MVC Question

2005-08-03 Thread Stéphane Zuckerman
I guess my question is: is the action form considered part of the model? If not, what? I think the question's been asked (in a different way) a few days/weeks ago. Here's what Frank W. Zammetti said about it : " The Model is something, conceptually, outside of Struts. Struts provides nothing

MVC Question

2005-08-02 Thread Kent Boogaart
Hi, I've just read this (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns /html/DesPageController.asp) MVC overview. They describe the view as obtaining its data directly from the model. I was under the impression that the view should obtain / update data only through th