hi,

we are currently in the process of evaluating and/or restructuring an
existing cocoon application. 
being a cocoon beginner i fail to see the benefits of
flowscript/javascript for the controller layer.

of course it is a good practice to have an explict controller layer
(control as in MVC),
BUT: why does it have to be in a scripting language?

imho, this has at least the following drawbacks 
(mostly related to crossing the java-javascript-boundary in eclipse
during development):

-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 

i would much prefer to do everything in java itself.

so my questions are:
-am i missing anything?
-is there a recommended way to migrate the flowscript to java?
-will this change in cocoon 2.2?

any advice is greatly appreciated.
thanks
matthias



Matthias Merdes 
Senior Software Developer
_________________________________________

Heidelberg Mobil International GmbH

Phone: +49 6221 533 254
Fax:   +49 6221 533 129

eMail: [EMAIL PROTECTED]

_________________________________________

Schloss-Wolfsbrunnenweg 33
69118 Heidelberg
Germany

Amtsgericht Mannheim / HRB 701994
CEO: Thomas Reinhart
________________________________________
  

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

Reply via email to