Helma Logo
main list history
previous version  overview  next version

Version 23 by michi on 07. December 2005, 09:56

Collecting ideas for Helma 2 Template Framework.

Quick links to the latest opinions regarding the future of Helma Templates:

* Jürg: <a href="http://helma.org/pipermail/helma-dev/2005-December/002461.html">06-12-05</a>
* Hannes: <a href="http://helma.org/pipermail/helma-dev/2005-February/001696.html">16-02-05</a>, <a href="http://helma.org/pipermail/helma-dev/2005-November/002359.html">23-11-05</a>, <a href="http://helma.org/pipermail/helma-dev/2005-December/002453.html">02-12-05</a>
* Andreas: <a href="http://helma.org/pipermail/helma-dev/2005-February/001714.html">17-02-05</a>, <a href="http://helma.org/pipermail/helma-dev/2005-December/002436.html">01-12-05</a>
* Tobi: <a href="http://helma.org/pipermail/helma-dev/2005-December/002457.html">05-12-05</a>
* Robert: <a href="http://helma.org/pipermail/helma-dev/2005-December/002458.html">05-12-05</a>
* Johannes: <a href="http://helma.org/pipermail/helma-dev/2005-December/002426.html">01-12-05</a>
* Manfred: <a href="http://helma.org/pipermail/helma-dev/2005-December/002452.html">02-12-05</a>
* Philipp: <a href="http://helma.org/pipermail/helma-dev/2005-December/002450.html">02-12-05</a>
* Chris Z: <a href="http://helma.org/pipermail/helma-dev/2005-December/002443.html">01-12-05</a>
* Matthias: <a href="http://helma.org/pipermail/helma-dev/2005-December/002456.html">04-12-05</a>, *Helma 2 Templates - matthias*
* Michi: *Helma 2 Templates - michi*
* *Helma 2 Templates - velocity sample*
* *Helma 2 Templates - freemarker sample*

While discussing a possible new Templating Framework we should agree on a certain common programming task, on which we will demonstrate our different proposals:
<i>Lets assume an antville-like object-structure. We have a skin on site-level, and want to display a list (a table with rows of alternating colors) of all topics, and a verbose localized string of the number of topics (=Site.topics.count()). For each topic we want to display its title, and a verbose localized string indicating the number of stories that are contained within that topic. If no topics are present, then the whole table and its localized h1-header on top should not be rendered, instead a simple localized message should be displayed.</i>
Lets ellaborate on our different proposals with code samples on different wiki pages. Please also include the corresponding macro code. Additionally it would be nice to see, how this would be solved with Velocity/FreeMarker.

     removed
     added