On Mon, 30 Dec 2002, [UTF-8] Rickard Ă–berg wrote: > About the design of XWork. > > While WebWork was pretty ok, some of the features that were put in are > not optimally designed. Here are some of the things I'm concerned about: > * Commands. Having two actions on a page both using commands doesn't > work. Generally this feature feels a little weird.
Never used it; I probably agree. > * Validation. Clunky design, and not enough loosely coupled to the action. I personally *like* how webwork currently handles validation. This is one of Struts' weakest points, and webwork's solution rocks. How would you suggest it be done? > * Chaining. IMHO this needs a big rethink, and most of all we need to > check: what are the usecases to be implemented. Hmm... Having looked at an enterprise-scalable chaining mechanism myself, I'm not sure webwork's chaining is that bad. The only aspect to it that's inobvious is still the VS being available, and that's a documentation issue, not a code issue. Again: what issues make it need a rethink? > * Configuration. The monolithic style of the old configuration doesn't > really work. It needs to be possible to have multiple "sets" of actions > that can play nice together in a webapp. Agreed. > * Interceptor-style code. The old way was to use base classes to add > pre/post execution code (security/transaction handling/etc.). Bad bad > bad, for obvious reasons. Agreed again. Gimme more points I can disagree with, it's more fun that way. > * View code. The old taglib contained code that was to some extent > duplicated for the Velocity view. This needs to be refactored so that > views can share such implementations. Grr, I ask and ask and ask, and you never give me what I want. > These are the major things I think. Any comments on this? Any other part > that needs a rethink? I'd like to make sure the client code is not bound to the servlet lifecycle - by writing a Swing client, for example, or AWT (in my case.) --------------------------------------------------------- Joseph B. Ottinger [EMAIL PROTECTED] http://enigmastation.com IT Consultant ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork