forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Views... or Templates?
Date Fri, 22 Jul 2005 14:20:22 GMT

I have been thinking a lot about "Views", the positioning in the Forrest
concepts and the naming.

I came to the conclusion that the best thing to do is to call them
Forrest Templates. It's the templating system that is used to style the
pages.

At this point, one thing comes to mind... what makes this different from
other templating systems? I mean, why not use [Velocity], [XSLTAL] or
JXpath templates from Cocoon?

Whichever system, the Forrest templates will be the first to be called
for processing, and they will be resolved through the locationmap
instead of the source files as now. Then, the template found will point
to the source(s) needed, and again ask for those through the locationmap.

The default templates will point to the sourcefiles with the same name,
but users will be able to override this.

[Velocity] http://jakarta.apache.org/velocity
[XSLTAL] http://wiki.bitflux.org/Templates_TAL

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Mime
View raw message