cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conal Tuohy" <Conal.Tu...@vuw.ac.nz>
Subject RE: sitemap, jx and flow design (was: servicemanager and jxtg)
Date Tue, 25 Jan 2005 21:49:19 GMT
Daniel Fagerstrom wrote:


> Instruction Inclusion
> =====================
> 
> Now for the instructions (jx:forEach etc) we have the 
> question if they 
> should be choosed:
> 
> 1. Programatically: There is an abstract base class with 
> common template 
> generator functionality. To implement e.g. JXTG this base class is 
> extended. And the extended class enumerates the instructions 
> that should 
> be used and also choose parsing strategy etc.
> 
> 2. Configuration: Instructions or set of instructions are made 
> components and connected to the template generator in the 
> configuration.
> 
> 3. Within the template language: There are special 
> instructions in some 
> common base template language that allow the user to include sets of 
> (Java written) instructions.

What kind of instructions did you have in mind? 

The reason I ask is I wonder if it's really necessary to add extra instructions to the template
language? A language with conditionals, iteration, AND recursion is surely already Turing-complete,
and doesn't really need more control structures? 

Con

Mime
View raw message