Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 47520 invoked by uid 500); 10 Feb 2003 14:33:47 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 97558 invoked from network); 10 Feb 2003 14:05:46 -0000 Message-ID: <3E47B1BA.4080208@anyware-tech.com> Date: Mon, 10 Feb 2003 15:05:46 +0100 From: Sylvain Wallez Organization: Anyware Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: fr, en-us, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: JavaScript for Java programmers (who want to use the Cocoon flow layer) References: <3E46A349.7000109@verizon.net> In-Reply-To: <3E46A349.7000109@verizon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Christopher Oliver wrote: > In order to reduce the barrier to entry of the Cocoon flow layer for > Java programmers that haven't done much with JavaScript I thought I'd > give an overview of some of the similarities and differences between > JavaScript (specifically Rhino - http://www.mozilla.org/rhino) and Java. Thanks a lot for this very nice presentation that will certainly help a lot of people ! > And the Cocoon flow layer adds the following objects and functions to > that: > > // interface to various cocoon abstractions: > - cocoon > - environment // property of type > org.apache.cocoon.environment.Environment I'm wondering (this is related to Cocoon and not to JS) if making the Environment available to the flow is a good thing. The Environment is private to the pipeline machinery, and making it public here is IMO a door open to very bad things. I would limit the visibility to the objectModel, just like for every other sitemap-related component in Cocoon (matchers, actions, generators, etc). Thoughts ? Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org