This is a report of a first meeting on Kauri templating.
Needs and expectations
standalone running templating system, i.e.
- independent of
- plugable
- context provider (inc. locale & timezone of user)
- source resolver
- caching
-
URL support
- focus on language interpretation and execution
process
- kauri users should be able to
- work entirely static
- build upon wireframes
- support in wysiwyg editor (e.g. dreamweaver)
- not fully decided on
- we don't want our templates to "break" in such editors
- but active support could be overreaching
language features
templating use cases
- email formatting
- xml data resources representation
- generic page layout templating HTML
- skinning and overriding
- complex interaction layouts
- wireframing
- no logic controller, no data ?
- i18n ; template translation
- JSON resource representation
- DHTML expansion at browser
- subset of template language
content use cases
- field property
- repeater - foreach
- also for text with delimiter ?
- availability of status object: position, ...
- conditionals
- date + formatting
- javascript: formatting & escaping
- string features
- trimming
- uppercase, lowercase
- css classes based on conditions
- odd - even
- first - last
- mod n
- level n
- blurp html/xml
- url with arguments
- input of base uri's from context
- java property
- expressions
- concat, left$, right$, trim, date, ...
- also for conditions, e.g. ifchanged in loop
- extendable ?
- filters ? (cfr django)