Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 97967 invoked from network); 5 May 2004 22:50:01 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 May 2004 22:50:01 -0000 Received: (qmail 47839 invoked by uid 500); 5 May 2004 22:49:43 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 47793 invoked by uid 500); 5 May 2004 22:49:43 -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 47780 invoked from network); 5 May 2004 22:49:42 -0000 Received: from unknown (HELO warden.diginsite.com) (208.29.163.248) by daedalus.apache.org with SMTP; 5 May 2004 22:49:42 -0000 Received: from wlvims01.diginsite.com by warden.diginsite.com via smtpd (for daedalus.apache.org [208.185.179.12]) with SMTP; Wed, 5 May 2004 15:49:40 -0700 Received: from WLVIMS01 ([127.0.0.1]) by WLVIMS01.digitalinsight.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with SMTP id com for ; Wed, 5 May 2004 15:49:39 -0700 Received: by calexc01.diginsite.com with Internet Mail Service (5.5.2657.72) id ; Wed, 5 May 2004 15:48:30 -0700 Message-ID: <31DF72A980E5D511B48C000102BD8685061DB3C1@calexc01.diginsite.com> From: Ralph Goers To: "'dev@cocoon.apache.org'" Subject: RE: JXTemplate performance Date: Wed, 5 May 2004 15:48:28 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain 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 Oops. I forgot to mention that the main layout could handled by the jxtemplate generator in this case. -----Original Message----- From: Ralph Goers Sent: Wednesday, May 05, 2004 3:02 PM To: 'dev@cocoon.apache.org' Subject: RE: JXTemplate performance This may sound a tad bit bizarre, but it looks like I could define a fairly generic layout with sections for "header", "nav", "body", "footer", etc. Each section can use import uri="cocoon:something" to generate that section. In turn jxtemplate generator can be used in those to create subsections, etc. This is a lot like what we do with XSLT although we create the separate parts through aggregation and then use a layout stylesheet to put it all together. Does this seem realistic and might it perform better than XSLT? In both cases (for us) the header, nav, and footer are constant but the body (or a part of it) changes with every request. Ralph -----Original Message----- From: Sylvain Wallez [mailto:sylvain@apache.org] Sent: Wednesday, May 05, 2004 2:33 PM To: dev@cocoon.apache.org Subject: Re: JXTemplate performance JXTemplate as a transformer certainly runs way slower than XSLT, since the template being the input of the transformer, its compilation occurs for every request. Also JXTemplate isn't cachable both in its generator and transformer incarnations. Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }