Hello.

First of all, thanks for commenting on this.
Comments inline...


>I strongly believe in XForms, but the sample you pointed show that the use
>with Java Beans for DB connectivity and data validation is currently too
>complex. I am thinking in what will happen if every form will be code like
>the example in a huge application? What about changes in the large DB
>application?
I know. I'm with you. It is a pain to code everything like this, but I
really prefer to code logic in Java and not in XML. After all you finally
build a MVC miniapp this way.

>Can a generator build the Java Beans automatically what about the Action
>automatically generated? Maybe we can find the answer in this area.
I think that's the way to go. There was some talk on this list a while ago
but we need more work on this.

>Please dont take this email in the wrong sense. I know this is a very new
>technology and you are doing your best effort to get it run under Cocoon.
Of course, I do not :-)
It's very instructive.

>But maybe we can find another way to make it easier.
I hope so.

>I think many people will stay at the current model:
>XML Form + stylesheet + validation form + DB modular actions.
I proposed different approaches in my conclusions. Another one would be to
have modular DB actions for Xindice-like databases. But that would not solve
the problem.
Maybe a totally different approach would be needed.

I do not like my solution that much, but this is the simple one I've found
by now. I think we need to start working on it putting things out of the
Action and maybe later out of the model.
I've been thinking about some XML descriptors that could build the Action
and Bean autmatically and/or maybe a transformation phase after that for the
DB actions...I'm not sure...I should learn more to accomplish something like
that...

Again, thanks for your comments. I really appreciate them.

Best.


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to