Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 63263 invoked from network); 21 Oct 2003 09:48:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Oct 2003 09:48:43 -0000 Received: (qmail 50502 invoked by uid 500); 21 Oct 2003 09:48:12 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 50460 invoked by uid 500); 21 Oct 2003 09:48:12 -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 50446 invoked from network); 21 Oct 2003 09:48:11 -0000 Received: from unknown (HELO trinity.anyware-tech.com) (217.112.237.100) by daedalus.apache.org with SMTP; 21 Oct 2003 09:48:11 -0000 Received: (qmail 8833 invoked from network); 21 Oct 2003 09:48:24 -0000 Received: from unknown (HELO anyware-tech.com) (10.1.0.254) by trinity.anyware-tech.com with SMTP; 21 Oct 2003 09:48:24 -0000 Message-ID: <3F9500EA.1040605@anyware-tech.com> Date: Tue, 21 Oct 2003 11:48:26 +0200 From: Sylvain Wallez Organization: Anyware Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: fr, en, en-us MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: JavaScriptInterpreter vs. FOM_JavaScriptInterpreter References: In-Reply-To: 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 X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Carsten Ziegeler wrote: >Can anyone please give me short hint/pointer why we have so two classes that look very identical? > FOM_JavaScriptInterpreter is the one that implements the FOM (Flow Object Model), and the only one that should actually be used. A good thing would be to remove the current JavaScriptInterpreter and replace it by the FOM_JavaScriptIntepreter. But I fear that is will break many applications that rely on the FOM_Cocoon object. We should have better designed this with interfaces... Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com