Home arrow Zope arrow Page 9 - DTML Basics (part 4)

Endzone - Zope

In this concluding article, dip your toes in the waters of more advanced DTML programming, with explanations of the , and tags.

TABLE OF CONTENTS:
  1. DTML Basics (part 4)
  2. With Or Without You
  3. A Polite Request
  4. Let Me In
  5. Climbing A Tree
  6. The Real Thing
  7. Call Of The Wild
  8. The Writing On The Wall
  9. Endzone
By: Harish Kamath, (c) Melonfire
Rating: starstarstarstarstar / 5
July 17, 2002

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
And that's just about it. In this concluding article of a four-part series, I helped you dip your toes in the waters of more advanced DTML programming, demonstrating some of the more advanced tags available in the language. First, I showed you how to access elements in the namespace via the construct, and how to add items to the namespace via . Next, I demonstrated the widget, which provides a very unique take on the problem of constructing tree-based structures, and provided some insight into how the tree menu of the Zope management interface works by attempting to duplicate some of its functionality. Finally, I demonstrated how DTML allows you to call methods with , and make your code more readable with .

Obviously, there's more to DTML than what you've learned over the past couple of weeks in this tutorial. What I've taught you in this four-part series is just the basics - you now know enough to begin reading other people's DTML code (and making sense of it), and also to begin futzing around with scripts of your own. Here are a few links to help you get started:

The Zope Book, at http://www.zope.org/Documentation/ZopeBook/

Learning Zope, at http://www.zope.org/Members/itamar/LearningZope/

DTML reference material, at http://www.zope.org/Documentation/ZopeBook/AppendixA.stx

Until next time...be good!

Note: All examples in this article have been tested on Linux/i586 with Zope 2.5.0. Examples are illustrative only, and are not meant for a production environment. Melonfire provides no warranties or support for the 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: