Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 89211 invoked from network); 24 Nov 2003 08:58:08 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Nov 2003 08:58:08 -0000 Received: (qmail 43838 invoked by uid 500); 24 Nov 2003 08:57:38 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 43665 invoked by uid 500); 24 Nov 2003 08:57:37 -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 43409 invoked from network); 24 Nov 2003 08:57:35 -0000 Received: from unknown (HELO kerberos) (62.116.51.59) by daedalus.apache.org with SMTP; 24 Nov 2003 08:57:35 -0000 Received: From mail.at.efp.cc ([62.116.51.60]) by kerberos (WebShield SMTP v4.5 MR1a); id 1069664266407; Mon, 24 Nov 2003 09:57:46 +0100 Received: from WRPO (wrpo.at.intra.efp.cc [194.107.80.156]) by mail.at.efp.cc (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id hAO8vjX05576 for ; Mon, 24 Nov 2003 09:57:46 +0100 From: "Reinhard Poetz" To: Subject: RE: CocoonForms compared with JSF Date: Mon, 24 Nov 2003 09:56:58 +0100 Message-ID: <005a01c3b268$ebd42e40$1e01a8c0@WRPO> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <1069517164.2479.298.camel@yum.ot> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal 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 > -----Original Message----- > From: Bruno Dumon [mailto:bruno@outerthought.org]=20 > Sent: Saturday, November 22, 2003 5:06 PM > To: dev@cocoon.apache.org > Subject: RE: CocoonForms compared with JSF >=20 >=20 > On Sat, 2003-11-22 at 14:24, Danny Bols wrote: > > > From: Reinhard Poetz [mailto:reinhard@apache.org] > > > Sent: zaterdag 22 november 2003 13:42 > > > To: dev@cocoon.apache.org > > > Subject: CocoonForms compared with JSF > > > > > > > > > > > > Over the last days I had an offlist discussion with Sylvain and I=20 > > > don't want to keep back a very nice summary of Sylvain comparing=20 > > > CocoonForms with JSF. I set up a Wiki page:=20 > > > http://wiki.cocoondev.org/Wiki.jsp?page=3DCocoonFormsJSF > > > > > > We would be very interested in your opinions because this will=20 > > > become a "FAQ" in the future (This week I hold a presentation on=20 > > > Control Flow and only mentioned CocoonForms in a few=20 > sentences but=20 > > > in the break after it the "JSF-question" was one of the=20 > first ones I=20 > > > got ;-) > > > > > > And I'm with you J=F6rg, that we have to show that CocoonForms is=20 > > > *NOT* tied to HTML at all. Maybe a XUL example and a second skin=20 > > > would be great! > > > > > > Awaiting your comments :-) > >=20 > > Nice summary. > > One thing worth mentioning IMO is the Inversion Of Control. Since=20 > > woody is integrated in flow the script has control over the form=20 > > processing steps. I don't know if JSF has solutions for this. >=20 > Indeed a good point to mention, though I think it's more=20 > about separation of concerns. Most other webapp frameworks=20 > like struts, JSF or tapestry cover both the flow and form=20 > concerns, while woody only does forms. added to the wiki page > Another thing that makes woody different from JSF, at least I=20 > think so, is that widgets in woody hold strongly typed data,=20 > and that validation happens on this data, not on string=20 > values. IIRC JSF only does conversion as part of the binding. added to the wiki page > Then there's also other stuff like the fact that the=20 > structure of a form is described in a form definition (I have=20 > no idea how JSF actually builds its component tree), and that=20 > lightweight instances of this form definition are created=20 > (i.e. what's common to all instances is only held once in=20 > memory). Of course, this may make the structure of a Woody=20 > form less flexible (but more formal), though with the=20 > addition of Tim's union widget we can describe everything of=20 > regular complexity (concatentation, repetition and alternation). not added to the wiki page - if somebody is sure about this feel free to add it to the wiki page >=20 > And last but not least, Woody fits better into Cocoon. IIRC,=20 > JSF requires compliant implementations to support at least JSP ;-) not added because JSF requrires JSP, CocoonForms requires Cocoon ;-) -- Reinhard