RE: Cactus MVC Architecture

2005-09-02 Thread Rod Macpherson
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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Cactus MVC Architecture

2005-09-01 Thread Vincent Massol
Hi Rod,

 -Original Message-
 From: Rod Macpherson [mailto:[EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]