wiki:munin-html-refactor

One important thing when refactoring munin-html is the html-template engine.

HTML::Template is simple and "encourages" separation of code and presentation. In janl's opinion it only lacks macro processing, which could be added through the use of filters and include files.

Feature wishes for new template engine

  • Macro expansion
  • Ability to check on content of variable, not just true/false
  • if/else, loops, unless(?)
  • include of partial files

Candidates

  • HTML::Template with hacking
  • Template toolkit
  • ?
Last modified at 2009-12-04T13:37:55+01:00 Last modified on 2009-12-04T13:37:55+01:00