YAPC::Asia 2006 Tokyo Sessions

Template Toolkit for non-web applications

www.template-toolkit.org says "The Template Toolkit is a fast, powerful and extensible template processing system. It is ideally suited to the production and maintenance of web content and other dynamic document systems."

Template Toolkit is an excellent system for web content, but it is also really useful for many other tasks. If you've thought about using the m4 macro language to help manage your system configuration files, but you didn't like it, you should try Template Toolkit. If you need to run a mail merge but you hate Windoze and/or Word, you should try Template Toolkit. If you're being forced to use Java and your IDE won't write at least half your code, you should try Template Toolkit. Or in Perl, if h2xs and ModuleMaker don't do it for you, you should try Template Toolkit.

This talk will explain how.

www.template-tookit.org によれば、「Tepmlate Toolkit は高速で、パワフルで、かつ拡張可能なテンプレートシステムです。Web コンテンツやその他の動的なドキュメントシステムの開発やメンテナンスに最適です」。

Template Toolkit は Web コンテンツに最適な、すばらしいシステムですが、他のタスクにも有用です。m4 マクロ言語をつかってシステム設定ファイルを管理しようと思ったことがある(でもそれが好きじゃない)なら、Template Tookit を試してみるべきです。mailmerge を走らせる必要があるけど Windows や Word が嫌いなら、Template Toolkit を試してみるべき。Java を書かなきゃならないのに IDE は半分のコードも生成してくれないなら、Template Toolkit を使ってみよう。Perl で h2xs や ModuleMaker がうまく動かないなら、Template Toolkit の出番。

このトークではそれをどうやるか、解説します。