TT2 is quite separate from any MVC-system (although it plays very nice with
Catalyst). You could run TT2 outside of a web-server (there is the ttree.pl script to do so) and it would generate all your html-pages at once -- and would even do so without re-generating the pages which remain unchanged) or run it in your web-server (CGI or mod-perl enabled Apache for instance) and the requested page(s) will be made on-the-fly.
Perhaps that is also possible with HTML::Template, but I like TT2 more. YMMV.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law