jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rod Macpherson" <rmacpher...@abovehealth.com>
Subject RE: Cactus MVC Architecture
Date Fri, 02 Sep 2005 16:40:20 GMT
Hi Vincent,

The diagram implies Model View Controller with the labels but as you
said it's not attempting to describe MVC per se. Not a big deal, the
diagrams are clear and simple in terms of describing the structure. 

As far as the argument, I was trying to convey that there is a lot of
confusion about MVC that never seems to be clarified. I see the three
tiers as a data model, a constrainted view of that data model (the view)
and something that drives the code that creates the view (the
controller). JSPs, Servlets are a front-end for control and view
elements. MVC is a good architecture whether you hook up a GUI or not.
If you don't, you've still got a "view" which is why IMO the JSPs are
independent. Anyway, it's way off topic from cactus:)



-----Original Message-----
From: Vincent Massol [mailto:vmassol@pivolis.com] 
Sent: Thursday, September 01, 2005 10:46 PM
To: 'Cactus Users List'
Subject: RE: Cactus MVC Architecture

Hi Rod,

> -----Original Message-----
> From: Rod Macpherson [mailto:rmacpherson@abovehealth.com]
> Sent: jeudi 1 septembre 2005 23:38
> To: Cactus
> Subject: Cactus MVC Architecture
> 
> Is Cactus repeating a common mistake in describing the MVC
architecture?
> 
> http://jakarta.apache.org/cactus/features.html
> 
> 
> With MVC you have a data model, a view of that data model and a 
> controller. The view is not visual anymore than the OSI presentation 
> layer is visual. The view is a presentation of a data model. The 
> controller is a component. That I render the control interface and the

> view of my data on a JSP is fluff that lives outside of the core MVC.
> 
> Is this miguided, correct, something in between?

Actually we're not even trying to describe the MVC architecture. It was
just a convenient way to explain all the places where Cargo could help
in testing.

I'm not sure I understand your argument but if you want to submit a
better image, we'll happily replace this one with yours.

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org


Mime
View raw message