[EMAIL PROTECTED] wrote:
> Is it wrong to use Struts with MMBase or does it make MMBase more powerful?
I would advice to have a real good reason to use Struts or any similar
framework together with MMBase. I attended the talk of Nico and destilled
two good reasons for using Struts together with MMBase:
1. Input validation can be done easier.
2. It's more fun if you like java.
The second reason is only valid for Java-developers, but it can be
considered a good reason. The added complexity may actually be an advantage
for your company then ('vendor locking').
Making good forms (beyond editwizard/generic editors) with just plain MMBase
taglib may get a bit messy, because there are as yet no good, fast ways to
validate lots of complicated user input. We are hoping to improve on that a
bit (using e.g. the field-types project). For the moment choosing Struts to
tackle this problem may be a perfectly sensible thing.
The advantage of not using Struts, is I think the original advantage of JSP
itself (vs. other Servlets). A simple JSP, with only non-specific taglibs
(like the mmbase taglib) can be quickly understood, and quickly
developed/bug-fixed, because there is no need to redeploy the complete
application on every iteration, and the functionality is not so easily
scattered.
Michiel
--
Michiel Meeuwissen mihxil'
Mediacentrum 140 H'sum [] ()
+31 (0)35 6772979 nl_NL eo_XX en_US