From: Edgar P Dollin <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: 'Struts Developers List' <[EMAIL PROTECTED]>
Subject: RE: PATCH: html:cancel tag. Made a javascript version for submitting
Date: Wed, 23 Jun 2004 14:12:28 -0400
So you would have to view be disconnected, and therefore when changes occur in the business objects have only testing and a human mind connect the two
Absolutely. If I am not understanding your question let me know...but I think that you should be able to use any presentation technology(that relies on standard java beans) with any controller that can manipulate those beans given specific url requests, and any model technology that can serve up standard pojo beans. I don't think that coupling those pieces is good MVC design practice. I also think that the more you can seperate your model and view the better. You are bound to have some coupling with the controller and the model, but that is the point of a controller, to decouple the model and the view. Making each capable of plug and play. If I switch from hibernate to EJB as my model it should be transparent to the view. Struts does this VERY well. however if I switch from HTML to WML, Swing, XAML, Velocity or anything else there are issues. Those issues are complicated by the struts tags. The tags are great for what they are used for...but I am not sure they should carry the "struts brand name" (can't think of a better way to put this).
????? Considering the poor shape of open source view level testing tools this argument seems to be resting on shaky grounds.
Edgar
-----Original Message----- From: Nathan Bubna [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 11:49 AM To: Struts Developers List Subject: Re: PATCH: html:cancel tag. Made a javascript version for submitting
Michael Rasmussen said:
> I think I would go the other way with this. In "my" perfect struts world
> there would be no struts tags at all.
+1
> Struts would have no clue as to what > you were using as the presentation layer. (JSP, Swing, WML) ...
or Velocity :)
> Put them in jakarta-taglibs and leave struts as a controller. > Just my .02 ...
or just make the struts taglibs an optional package developed as a struts sub-project.
Nathan Bubna [EMAIL PROTECTED]
--------------------------------------------------------------------- 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]
_________________________________________________________________
MSN 9 Dial-up Internet Access fights spam and pop-ups – now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]