Hi,

just two short answers, as far as I can do that:

Merdes, Matthias schrieb:
-cannot refactor java-javascript
-cannot semantically search for usages of java classes in javascript and
vice versa
-cannot navigate (F3) easily between java-javascript
-cannot easily unit-test the javascript stuff with junit
-cannot debug javascript during run-time in the java debugger
-business logic (or technical framwork-related logic) tends to creeping
into the flowscript

Yes, one has to try to keep the flowscript code minimized.

-will this change in cocoon 2.2?

No, javascript flowscript is not changing in 2.2.

A general note: if your webapplication tends to be REST-style and uses AJAX-requests, having continuations is a bad idea. IMHO flowscript is good for multi-page forms, eg. shopping wizards. But in all other cases you introduce a session on the server, making your webapplication stateful and you have to think about the lifetime of continuations.

Alex

--
Alexander Klimetschek
http://www.mindquarry.com


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

Reply via email to