And that's about it for the moment. In this article, you learnt a littlemore about ZPT, specifically how to introduce decision-making logic intoyour templates by means of variables and conditional tests. You also sawhow all that theory can be put to practical use by implementing a simpleform processor for use on a Web page.
In the next segment of this series, I'll be rounding out thefundamentals with a look at the various loop constructs provided by TAL.As with everything you've seen so far, TAL comes with its own twist(pardon thepun) on the traditional way of implementing loops. Come back next timeto see what I'm talking about...and, until then, go practise.
Note: All examples in this article have been tested on Linux/i586 withZope 2.5.0. Examples are illustrative only, and are not meant for aproduction environment. Melonfire provides no warranties or support forthe source code described in this article. YMMV!