Helma Logo
main list history
previous version  overview  next version

Version 3 by matthias on 04. December 2005, 11:56

Collecting ideas for Helma 2 Template Framework.

http://helma.org/pipermail/helma-dev/2005-February/001696.html

Syntax example for helma.skins.2.0: (by *matthias* - 2005/12/04)
link:http://dev*link:http://dev.helma.org/static/helma.dev/Wiki/Helma%202%20Templates/Helma.Skin2.xml%20(matthias%20-%204.12.05)05)*

it:
* is valid xml
* renders in a browser (without showing ugly server code) -> you might need to rename the extension to *.html
* seperates logic from template
* avoids the need of having many, many files...
* is based on the proposal from hannes (see link above)
* introduces <h:Prototype:macroName /> as an alternative to h:macro="Prototype:macroName"

Note:
the <script runat="server"> is just there to have the code in the same file. the idea would be to allow it just for file based skins and evaluate it just the same way as code in .js files.

     removed
     added