Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 9069 invoked from network); 5 May 2004 06:53:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 May 2004 06:53:07 -0000 Received: (qmail 45332 invoked by uid 500); 5 May 2004 06:52:35 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 45310 invoked by uid 500); 5 May 2004 06:52:34 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 45271 invoked from network); 5 May 2004 06:52:32 -0000 Received: from unknown (HELO wabe.csir.co.za) (146.64.10.166) by daedalus.apache.org with SMTP; 5 May 2004 06:52:32 -0000 Received: from cs-emo.csir.co.za (cs-emo.csir.co.za [146.64.10.40]) by wabe.csir.co.za (8.12.8/8.12.5) with ESMTP id i456mmVP021809 for ; Wed, 5 May 2004 08:48:48 +0200 Received: from GW-EMO-MTA by cs-emo.csir.co.za with Novell_GroupWise; Wed, 05 May 2004 08:48:48 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Wed, 05 May 2004 08:48:32 +0200 From: "Derek Hohls" To: , Subject: Re: Vote: to unify, or not to unify - results Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-MailScanner-Information: Please contact sys-admin at csir.co.za for more information X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-0.3, required 8, QUOTED_EMAIL_TEXT -0.83, SIGNATURE_LONG_SPARSE -0.30, SPAM_PHRASE_02_03 0.76) X-MailScanner-From: dhohls@csir.co.za 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 Bruno Then the question - if XSP is NOT a "preferred" generator; and JXT is a "fake" generator - what exactlly are we supposed to be using for simple generation use cases; or are we saying all users have to be full-on Java programmers and create custom generators each time they want to do something that requires a little logic?? Sorry to keep asking this, but there are some *very* mixed signals on this one going out! Derek >>> bruno@outerthought.org 2004/05/04 08:34:08 PM >>> On Tue, 2004-05-04 at 18:39, Nacho Jimenez wrote: > >Other than the CPA, we would show other options. For example, if a newbie > >were reading up on JXTemplates, rather than saying that you can use Jexl or > >JXPath, we would choose our CPA (for example, JXPath), but have a link to a > >homologous page that explains the same things, but for Jexl. This would > >reduce one more variable, and thus one more possible source of delay or > >confusion to a newbie. So new users will be able to get up and running much > >faster, and once they have more experience, will be able to go over the > >alternative approaches. > > > > > This is just an example of what I think we should avoid... The > average user does not give a shiling about JXTemplates, JXPath, JEXL or > whatever load of letters we decide to acronymize today. > > The user wants to know how can he set up his ubercool website > accessing XML documents and SQL data with the mimimum of fuss, and > hence, the document he is looking for is a step by step guide to do that. > > In one of those steps, he's shown how to get a needed parameter > from the context, using our recommended method (JXTemplateTransformer, > through a JXPath expression). (unrelated to the main topic, but couldn't resist) I wouldn't recommend to use the JXTemplateTransformer (unless you have good reasons to), as it is a fake generator, which has the disadvantage that templates can't be cached but need to be compiled on each use. > There, on a side note, you can have an > overview on what JXTemplateTranformer is, why is it our preferred method > to access the parameter he needs and wich alternatives he could use, and > pointers to the wikiPages of the related tecnologies for a deeper study > if he needs it. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center bruno@outerthought.org bruno@apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org