You are not logged in Log in Join
You are here: Home » Members » Stefan's Home » CallableFolder » swpackage_view

Log in
Name

Password

 
 

CallableFolder

Note: Even though the file dates may suggest otherwise all work on this page dates back to the year 2001. Just thought I'd let you know.

Callable Folders are Folders that have their __call__() method overridden to invoke a contained index_html method.

You could also think of them as folderish DTML Documents just a tad more flexible because the index_html can be anything callable (e.g. a Python Script).

If called from the Web the ZPublisher will do the calling for you, even with standard Folders. The difference is that with Callable Folders you can do it from DTML as well! Like in <dtml-var mycallablefolder>.

Callable Folders make IMO very neat containers (somehow "objects-on-the-fly") that allow to organize a Zope site in new ways and at the same time make one's DTML a bit cleaner. Please see the online help for more explanations and examples.

Sheesh, why does it sometimes seem that simple things are so hard to explain? Try 'em you'll like 'em! ;-)

To install simply extract the tarball into your Products directory and restart Zope.

Latest Release: 0.3.0 (Zope 2.3-2.4)
Last Updated: 2004-04-25 15:52:08
Author: shh
License: ZPL
Categories: Content Object
Maturity: Stable

Available Releases

Version Maturity Platform Released
0.3.0 Stable   2004-04-25 11:07:51
  CallableFolder-0.3.0.tar.gz (3 K) All md5