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