Template Toolkit

It’s just typical. I wait a couple of months for the new Template Toolkit book from O’Reilly to appear on Safari (the online bookshelf) and then when I give in and buy the paper copy it appears on Safari a few days later.


I don’t know what the book is like yet having only just received it from Amazon, but Template Toolkit is a really useful Perl module – I’ve used it in several projects and it’s just so easy to separate code from the HTML.
Template Toolkit is not limited to just serving dynamic pages on a website though, you can use it to rebuild static HTML pages based on templates, perform mail-merge style operations with email templates, and anything really where templates contain the content and you have access to Perl to parse the templates and insert variables.
(Part 2)