If you haven't had a chance to check out Ingy's new module "Jemplate", you should. It basically enables compiling Template Toolkit (TT) templates into javascript. You reference the javascript in your html document, make an ajax call to get some data, then voila, client side TT processing. Lots of fun.
Jemplate
malte on 2006-03-18T13:10:19
Damn, just this morning I thought I should make a JavaScript-Backend for TT.
Agreed!
ajtaylor on 2006-03-19T04:29:10
I just started using Jemplate for a web app I've been working on, and it is a breath of fresh air being able to use TT for both the server and browser side HTML generation! I've grown quite proficient at DOM manipulation w/ javascript, but why jump through all those hoops if you don't have to?
Jemplate is HIGHLY recommended.