[Zope] - dtml tagspace

Andrew M. Kuchling akuchlin@cnri.reston.va.us
Tue, 8 Dec 1998 09:34:23 -0500 (EST)


Jeff Bauer writes:
>Now that Andrew Kuchling has open pandora's box by
>describing in explicit detail how to "roll your own"
>dtml tags, it might be a good time to discuss how
>to protect "tagspace".  Otherwise, Digital Creations
>may produce future dtml tags that will stomp user-defined
>tag names, if this becomes a popular pastime.  A simple
>convention for tag names prefixed by <whatever> could
>be reserved for user designation.

	It would be worth figuring out if adding tags is the way to
go, though; perhaps it's better to simply create objects and call
methods on them.  But I'm paralyzed by the fact that I don't really
know how to do that: if document A is being processed, and object B is
in the same folder, how do I call one of B's methods through DTML?

-- 
A.M. Kuchling			http://starship.skyport.net/crew/amk/
But in our enthusiasm, we could not resist a radical overhaul of the system,
in which all of its major weaknesses have been exposed, analyzed, and replaced
with new weaknesses.
    -- Bruce Leverett, "Register Allocation in Optimizing Compilers"