Home arrow Zope arrow Page 9 - ZPT Basics (part 2)

Looking Ahead - Zope

Dig deeper into the world of ZPT with examples andillustrations of how to create, manipulate and use variables andconditional tests in your templates.

TABLE OF CONTENTS:
  1. ZPT Basics (part 2)
  2. A Little Male Bonding
  3. The Number Game
  4. A Question Of Scope
  5. Switching Things Around
  6. Comparing Apples and Oranges
  7. If It's Thursday, It Must be Italy
  8. Submitting To The King
  9. Looking Ahead
By: Harish Kamath, (c) Melonfire
Rating: starstarstarstarstar / 13
September 25, 2002

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
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!

 
 
>>> More Zope Articles          >>> More By Harish Kamath, (c) Melonfire
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

ZOPE ARTICLES

- Creating Zope Products
- Plone Content Types With Archetypes
- Flat User Management in Zope
- Creating Basic Zope Applications
- Getting started with Zope for Linux and Sola...
- ZPT Basics (part 4)
- ZPT Basics (part 3)
- ZPT Basics (part 2)
- ZPT Basics (part 1)
- Exception Handling In DTML
- DTML Basics (part 4)
- DTML Basics (part 3)
- DTML Basics (part 2)
- DTML Basics (part 1)
- Using Zope With Apache

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: