Simplifying dynamic websites with
mod_perl and The GIMP
- Slide 04
00 - 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09

Template System

  • I suck at parsers
  • Don't want anything complicated to be possible anyways
  • So, language supports:
    • substitute variable - optional printf, escaping, multiples
    • include-another-block - optional arguments
    • run named bit of code
    • if-then-else
  • Enforce header and footer behaviour