Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 20139 invoked from network); 10 Oct 2005 15:01:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2005 15:01:31 -0000 Received: (qmail 65998 invoked by uid 500); 10 Oct 2005 15:01:29 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 65731 invoked by uid 500); 10 Oct 2005 15:01:28 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 65720 invoked by uid 99); 10 Oct 2005 15:01:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 08:01:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gianugo@gmail.com designates 72.14.204.192 as permitted sender) Received: from [72.14.204.192] (HELO qproxy.gmail.com) (72.14.204.192) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 08:01:29 -0700 Received: by qproxy.gmail.com with SMTP id e11so1176297qba for ; Mon, 10 Oct 2005 08:01:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=JHpKehdVu8rpdqNkJOWqb0Rnrg4SXcKwmRpmWcsZGxgPnk+dT4y9fPuXx87+sFOjYhDKo02JBpbSpimreRGZJdynWBfcJp9T13pbrGYJl9LJe/fGtb+jSmHhdm8yd1ZAsWZ/HmSMlmnwIdgthTaRH0QRFXBcNdW8n7FohgzGWjo= Received: by 10.65.147.12 with SMTP id z12mr3255205qbn; Mon, 10 Oct 2005 08:01:05 -0700 (PDT) Received: by 10.65.141.15 with HTTP; Mon, 10 Oct 2005 08:01:05 -0700 (PDT) Message-ID: <7557e99f0510100801n3835a46nd8496df9c0b8bbb9@mail.gmail.com> Date: Mon, 10 Oct 2005 17:01:05 +0200 From: Gianugo Rabellino To: dev@cocoon.apache.org Subject: XULifying CForms (yet another attempt?) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I've been playing quite a bit these days with Xul, after a few years' hyatus which made me appreciate the comeback even more. :) I'm more and more inclined in devoting some of my Copious Free Time to a Xul CForms renderer, and I wanted to catch up with other fellow members and see what's going on. I understand from http://issues.apache.org/bugzilla/show_bug.cgi?id=3D25295 that Jorg is already doing something, so before reinventing wheels I'd love to know what the current status is and if/how I might help. So far, I have identified a few points on my radar: 1. server roundtrip model: Xul doesn't really fit in a request-response model where all data travel at once upon hitting a submit button. This might lead to two different alternatives: (a) ajax all over the place, where more or less every widget submits events to a Cocoon server or (b) server roundtrips being avoided whenever possible thanks to the richest functionalities of a Xul frontend (think repeaters). Convergence with the new Ajax model of CForms somewhat blurs the line, yet I feel that a mere translation of CForms widgets to Xul without a rethink of the roundtrip model might be somewhat limiting (as in "uh, ok, so what?"). Actually, I might go as far as saying that the whole Xul/CForms marriage might not have that much sense now that we have Ajax and all the Web 2.0 yadda-yadda. That is, unless we figure out some real advantage in server interaction. 2. the role of XBL. I feel XBL (xul binding/extension language) might play an important role in producing advanced widgets (again, think repeaters, calendar popups, double selection lists... well, you name it). Still, XBL is tightly coupled with CSS, and I'm not sure how to manage the CSS->XBL relationship within Cocoon. 3. HTML orientation of CForms: despite a clear intention to stay as neutral as possibile, CForms has a strong bias towards HTML in its most advanced widgets (well, think HTMLarea to see my point). I'm not sure if it's entirely possible to get rid of the HTML heritage, and I kinda feel that in some cases it even doesn't make much sense (hey, after all Xul is happy with xhtml snippets). Well, these are just a few initial thoughts, which don't even deserve the status of [RT]: let's say I'm just trying to break the ice and see what's going on in Xul/Cocoonland. Awaiting for your comments! Ciao, -- Gianugo Rabellino Pro-netics s.r.l. - http://www.pro-netics.com Orixo, the XML business alliance: http://www.orixo.com (blogging at http://www.rabellino.it/blog/)