Return-Path: Delivered-To: apmail-xml-general-archive@xml.apache.org Received: (qmail 19215 invoked by uid 500); 17 Nov 2001 05:48:57 -0000 Mailing-List: contact general-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: general@xml.apache.org Delivered-To: mailing list general@xml.apache.org Received: (qmail 19204 invoked from network); 17 Nov 2001 05:48:56 -0000 X-Authentication-Warning: new-smtp1.ihug.com.au: Host p240-apx1.syd.ihug.com.au [203.173.140.240] claimed to be expresso.localdomain Date: Sat, 17 Nov 2001 16:54:30 +1100 From: Jeff Turner To: general@xml.apache.org Cc: general@jakarta.apache.org Subject: Re: Business-Oriented XML Message-ID: <20011117165430.C2168@socialchange.net.au> Mail-Followup-To: general@xml.apache.org, general@jakarta.apache.org References: <3BF5EE5E.88D1DB01@joot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3BF5EE5E.88D1DB01@joot.com> User-Agent: Mutt/1.3.23i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, Nov 16, 2001 at 08:58:06PM -0800, Dave Jarvis wrote: > Hello, again. > > Neeme Praks wrote: > > Have you ever had a look at Apache Cocoon project? That achieves all the > > Yes. > > > benefits you outlined in your paper plus more. > > Here are a few items BOX addresses that Cocoon does not (as far as I can > discern; please correct my errors): > > o doesn't provide an inherent state-based architecture (it's an aside, > not focus) Nope, they threw out the "reactor" (state machine) pattern as being too hard to manage. > o doesn't automatically apply a different view of logic based on the > domain Certainly can :) Have a look at Cocoon 2's class org.apache.cocoon.selection.HostSelector. > o extremely complex; it mixes multiple languages and odd syntax (e.g., > &connectDatabase) That's just your particular XSP, which uses an XML entity "&connectDatabase;" to pull in other XSP. If you put your logic in logicsheets as intended, then your XSP pages are pure XML. > o makes it easy to couple presentation and logic (see below) Actually, XSP makes it easy to mix *content* and logic (presentation is in XSLs). > o lacks an integrated expression parser > o doesn't expose a consistent syntax for doing tasks such as: > - file I/O > - sending XML to remote servers Have a look at Cocoon 2's xscript SOAP demo (xscript being an XSP equivalent of James Strachan's xtags taglib). > - calling native code (Java, C, Perl, etc.) > - SQL statements > o cookies, FORM parameters, and URL encoded variables are not treated > uniformly > o doesn't use plain XML (i.e., embeds other language source directly) Anyway, if you've got time, hop on cocoon-dev.. I'm sure there's much mutual learning to be had (it's a fun place to lurk anyway). Cocoon 2 has a very generic architecture, and I've no doubt that your code could be integrated as an XSP alternative. --Jeff --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org