I have to slightly disagree with Mark (already expecting a reply from him) about this. Not that I agree that MVC- 2 is a "real" pattern, but the term is used sometimes to distinguish the MVC pattern that is used within web applications and the more strict approach that I used when I coded in Smalltalk for example.
Mark�s correct about the Model 2 / MVC concept, but I think some developers still like to call what Struts and other frameworks like it use, a MVC2. I�ve also seen it called Web MVC as well. Again, it�s to indicate that there are some small differences. For example, there�s no automatic way of notifying a browser when a change occurs to the model. Yes, there are some push technologies available, but it�s not normally seen in web frameworks. The Struts framework for example, doesn�t� have any mechanism that notifies a client browser, when the state of the Model changes. With a more traditional MVC approach, this would be available. No is that due to the technology (browser holds a stateless connection), or is that a different pattern? That sounds a little subjective to me. However, the term is out there. Perform a search for �MVC 2� or �MVC-2�. You�ll see some hits, not hundreds, but people are using the term. For what its worth! Now comes the time when Mark tells my email apart J Chuck > There's no such thing as "MVC-2" (it's "Model 2") and it's not an > architecture; it's a design pattern. Further, what little difference > between the two is thoroughly explained on the first page of > jakarta.apache.org/struts. > > Mark > > -----Original Message----- > From: bhatia10 [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 29, 2002 12:11 PM > To: Struts Users Mailing List > Subject: Difference between MVC and MVC2 architectures > > > What is the difference between a MVC and MVC-2 architectures. How does > Struts satisfy the MVC-2 architecture and why is it not just the MVC > architecture. > > I would appreciate it if someone cud explain this briefy. > > Regards. > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

