At 8:37 AM -0800 11/10/04, Julian wrote:
Hi all,

I am an avid user of Cocoon and really love the
sitemap concept.  I am wondering if the current
direction of the struts-chain component is to only
manage action chaining.    IMHO, Struts is great as a
controller, but not nec. for the View in the MVC
world.  In other words, will it be possible to have an
analogous process to Coccon pipelines in Struts or is
it best to use the Cocoon plugin for "view"
processing?  I really enjoy how the seperation of
concerns has been achieved with Cocoon, but for
similar reasons, I cannot use Cocoon's Forms paradigm
or Java Server Faces yet.

I don't think that there's any reason to limit struts-chain to "action chaining." There's no reason one couldn't define view processing chains as well. I don't know Cocoon well enough to explain how struts-chain would be used to make an analogous process, but it certainly sounds like something Struts Chain could do.


There's a lot of other discussion going on the user list right now about whether Struts needs a concept of a "view controller" or not, and if so, how one might implement it.

Maybe you could articulate some of the shortcomings you see in how Struts fails "for the View in the MVC world" or what you'd want to do that it doesn't do now, in use-case terms.

Joe

PS as I was writing this, Don Brown responded, pointing out correctly that true pipelining won't be what Struts does, since it's not using SAX. However, you could probably approximate the behavior by chaining together commands which operate on the context.

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana

Reply via email to