On Wed, 17 Nov 2004 21:52:56 -0800, Craig McClanahan <[EMAIL PROTECTED]> wrote:
It's sort of interesting that a "page controller" is one of the things
people really like about Tiles, for the same reason I like it --
cutting down on the number of moving parts :-).

I am not wholly in love with the tiles controller. I find it inconvenient to handle errors that might occur in the controller once the HTTP response is already committed. I would prefer to have those errors happen before control is forwarded, so that I can use a basic error page rather than having a blank tile appear, or having to sprinkle <c:catch> tags throughout my pages. I like the basic idea, but I don't like deferring that processing to after-Struts.


On the other hand, I think the basic model of mapping a piece of handler code to a "view path" in about the same way we map code to request URL paths is brilliant and makes many things work much more cleanly. I'd just rather do it in a "view controller" than in a JSP tag.

At 11:56 PM -0800 11/17/04, Dakota Jack wrote:
The bottom line is that Shale is wholly inconsistent with the Struts
approach.  If Struts 2.0 becomes Shale, Struts is dead.

Jack, don't take this personally, as I appreciate your energy and your efforts to articulate an alternative -- but I see this as alarmist and overblown. I have been trying to track this thread, and I have yet to see a convincing argument backing up this statement.


I'm still looking for the personal time to get Shale running and to look at making an app with it, but if you're going to make this statement (and you have a couple of times), then I think you need to come up with a concise explanation of why Shale is "wholly inconsistent with Struts." If you've made this point, I apologize for missing that email. Maybe you could add it to the web site you're developing, or on a page in the Wiki?

Elaborating from this, one might ask "what is Struts?" Particularly when one looks at the chain-processing model, the definition becomes much more amorphous. Then again, I don't think the answer is critically important. I don't really care what it's called; I just want a webapp framework that makes my job easier. Continuity with Struts 1.x will help with that, since I won't have to live through retraining myself and the whole team -- but we've learned to deal with lots of change anyway.

Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex


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



Reply via email to