Home arrow Zope arrow ZPT Basics (part 2)

ZPT Basics (part 2)

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

  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


In the first part of this series, I introduced you to Zope PageTemplates, explaining how they offered Zope developers an advantage overtraditional DTML by separating user interface code from program logic. Ialso told you a little bit about the three components of ZPT, and gaveyou a crash course in TAL syntax and expressions.

In this second part, I'm going to continue exploring the ZPT landscape,delving deeper into the mysteries of TAL with a look at the special TALattributes used to define template variables and perform conditionalprocessing in your templates. While I will be including lots of examplesto help you understand the concepts better, you *will* need to have readthe first part of this article in order to figure out what I'm drivingat in this second one. In case you haven't already - go get yourself upto speed and then flip the page for more.

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

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- 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: