cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] New: Templates
Date Sun, 05 Dec 2004 11:45:52 GMT
   Date: 2004-12-05T03:45:51
   Editor: DanielFagerstrom <danielf@nada.kth.se>
   Wiki: Cocoon Wiki
   Page: Templates
   URL: http://wiki.apache.org/cocoon/Templates

   no comment

New Page:

= Templates =

There is a general feeling that [http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html
JXTemplateGenerator] need to be refactored so it becomes more supportable, and also so that
some components are possible in other parts of Cocoon, see:
 * [http://marc.theaimsgroup.com/?t=109932680200001&r=1&w=2 Templating Engine - Next
steps?] and also
 * [http://marc.theaimsgroup.com/?t=109901879000001&r=1&w=2 (RT) StringTemplate: The
answer to our templating needs?]
 * [http://marc.theaimsgroup.com/?t=109903957300001&r=1&w=2 Expression languages]
 * [http://marc.theaimsgroup.com/?t=110120743000001&r=1&w=2 Planning Cocoon's future]

== Design ==

A TemplateEngineDesign has been propsed and partially implemented:

 * [http://marc.theaimsgroup.com/?t=110132589800001&r=1&w=2 (Design) JXTG 2.0]
 * [http://marc.theaimsgroup.com/?t=110173410800002&r=1&w=2 (RFC) "Cocoon Templates":
Name and Tag Interface]

== Attribute Driven Templating ==

In some cases e.g. when using [http://www.macromedia.com/software/dreamweaver/ Dreamweaver],
using attributes as template directives is better as it doen't disturb WYSIWYG. It might also
make the templates less verbose and easier to read. This has been discussed in various threads
and a design proposal can be found in AttributeTemplates:

 * [http://marc.theaimsgroup.com/?t=110194009800005&r=1&w=2 (Design) JXTG 2.0 (Just
say no!)]
 * [http://marc.theaimsgroup.com/?t=110202105300004&r=1&w=2 (Design) JXTG 2.0 (Just
say yes!)]
 * [http://marc.theaimsgroup.com/?t=110210250600004&r=1&w=2 (Design) JXTG 2.0 (Just
my opinion)]
 * [http://marc.theaimsgroup.com/?t=110207413700001&r=1&w=2 What do we need taglibs
for?]
 * [http://marc.theaimsgroup.com/?t=110210719800001&r=1&w=2 (RT) do me a favor, don't
call them taglibs]
 * [http://marc.theaimsgroup.com/?t=110216463400003&r=1&w=2 (RT) Attribute Driven
Templates]
 * [http://marc.theaimsgroup.com/?t=110218519700002&r=1&w=2 (RT) Attribute Driven
Templates]

== Formatting ==

There has also been discussions, design and implementation activities about factoring out
the format part of templating and CForms to a separate layer:

 * [http://marc.theaimsgroup.com/?t=109941988300003&r=1&w=2 (RT) Attribute Rendering
and CForms Convertors]

Mime
View raw message