Return-Path: Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 4889 invoked by uid 500); 12 Aug 2003 19:33:57 -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 4562 invoked from network); 12 Aug 2003 19:33:53 -0000 Received: from adicia.telenet-ops.be (195.130.132.56) by daedalus.apache.org with SMTP; 12 Aug 2003 19:33:53 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by adicia.telenet-ops.be (Postfix) with SMTP id 6432037F79 for ; Tue, 12 Aug 2003 21:33:57 +0200 (MEST) Received: from yum.ot (D5E001A2.kabel.telenet.be [213.224.1.162]) by adicia.telenet-ops.be (Postfix) with ESMTP id 14EB937ED1 for ; Tue, 12 Aug 2003 21:33:57 +0200 (MEST) Subject: Re: Small suggestion for flow: Cocoon instead of cocoon From: Bruno Dumon To: dev@cocoon.apache.org In-Reply-To: <200308120128.41235.shooz@myrealbox.com> References: <200308120128.41235.shooz@myrealbox.com> Content-Type: text/plain Organization: Outerthought Message-Id: <1060716645.14864.118.camel@yum.ot> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Tue, 12 Aug 2003 21:30:45 +0200 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 2003-08-12 at 07:28, Steve K wrote: > Hey folks - > > I hope it isn't too late for such a trivial suggestion, and I hope this hasn't > been discussed before, but is there any particular reason the global cocoon > object in flow is lowercased? I am used to working with JavaScript in > Mozilla and its "window into the guts" object name is "Components". You can > see some examples here: > > http://www.mozilla.org/scriptable/components_object.html > > Plus, Microsoft's use of JavaScript in its technologies (WSH, ASP) does the > same with similar objects (WSH has WScript, ASP has Request, Response, > Server, Session). > Doesn't javascript use the same naming convention as Java: lowercase for instances, uppercase for classes? The "cocoon" object is actually an instance of a class called FOM_Cocoon. Similary, the "window" object in a browser is also lowercased. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center bruno@outerthought.org bruno@apache.org