Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 1802 invoked from network); 6 Oct 2005 18:35:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2005 18:35:21 -0000 Received: (qmail 67703 invoked by uid 500); 6 Oct 2005 18:35:19 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 67646 invoked by uid 500); 6 Oct 2005 18:35:19 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 67635 invoked by uid 99); 6 Oct 2005 18:35:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 11:35:19 -0700 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Oct 2005 11:35:22 -0700 Received: (qmail 1710 invoked by uid 1339); 6 Oct 2005 18:34:57 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Oct 2005 18:34:57 -0000 Date: Thu, 6 Oct 2005 11:34:57 -0700 (PDT) From: Martin Cooper To: MyFaces Development Subject: JavaScript in MyFaces (was Re: New date parser in javascript) In-Reply-To: <5a99335f0510051921u62f7e016u814063609d8a9cb5@mail.gmail.com> Message-ID: <20051006112608.J98472@minotaur.apache.org> References: <5a99335f0510051921u62f7e016u814063609d8a9cb5@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Rating: localhost 1.6.2 0/1000/N X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Can I suggest a high-level discussion of how you're going to structure all of the JavaScript code in MyFaces? I'm concerned that you'll end up with a fragmented JavaScript code base, with each widget using its own style and way of doing things, which would be, um, less than optimal. I'm also very concerned right now that, unless I'm mistaken, all of the code seems to be going into the global JavaScript namespace. This is OK, I guess, if you're building an application, but it's definitely not OK for a toolkit, since you're quickly going to end up with conflicts as people use your toolkit to build applications. (Unfortunately, it seems that the Prototype toolkit itself has this problem.) My 2 cents... -- Martin Cooper On Thu, 6 Oct 2005, Martin Marinschek wrote: > Hi *, > > I have added the first draft of a javascript date parser - it would be > great if you could check it out, add functionality as needed (should > be pretty straightforward) and (of course) use it! > > regards, > > Martin >