Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 38480 invoked from network); 23 Dec 2003 08:43:46 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Dec 2003 08:43:46 -0000 Received: (qmail 16129 invoked by uid 500); 23 Dec 2003 08:43:18 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 16087 invoked by uid 500); 23 Dec 2003 08:43:18 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 16072 invoked from network); 23 Dec 2003 08:43:18 -0000 Received: from unknown (HELO smtp1.xs4all.be) (195.144.64.135) by daedalus.apache.org with SMTP; 23 Dec 2003 08:43:18 -0000 Received: from outerthought.org (otsrv1.iic.ugent.be [157.193.121.51]) (authenticated bits=0) by smtp1.xs4all.be (8.12.9/8.12.9) with ESMTP id hBN8hN2I026102 for ; Tue, 23 Dec 2003 09:43:25 +0100 Message-ID: <3FE8002B.4030907@outerthought.org> Date: Tue, 23 Dec 2003 09:43:23 +0100 From: Marc Portier Organization: Outerthought User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: code ethics on js-java integration Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Yo people, after the recent introduction of the WoodyPipelineConfig object, I am tempted to change the line 125 in woody2.js see: http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript/woody2.js?rev=1.3&view=auto for: bizData["woody-form"] = this.form; towards: bizData[Packages.org.apache.cocoon.woody.transformation.WoodyPipelineConfig.WOODY_FORM] = this.form; this is a natural reflex from pure Java land, but I'm left to doubth now it this kind of more tight integration is desirable into the js-area? conceptually I only see benefits in doing so ATM, but maybe there are some other considerations that I'm missing? (e.g. performance penalty? lack of cross language refactoring tools? ...) regards, -marc= -- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ mpo@outerthought.org mpo@apache.org