logo       

[Cocoon Wiki] New: Templates: msg#00024

Subject: [Cocoon Wiki] New: Templates
   Date: 2004-12-05T03:45:51
   Editor: DanielFagerstrom <danielf@xxxxxxxxxxx>
   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]



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe