[Zope] DTML Documents vs. DHTM Methods
Anthony Baxter
Anthony Baxter <anthony@interlink.com.au>
Tue, 20 Apr 1999 19:31:11 +1000
>>> "Johan Carlsson" wrote
> Where can I find a great explanation
> of the difference between DTML Methods
> and DTHL Documents?
Don't know if the ZDP (zdp.zope.org) has covered this yet, but
the short answer is:
Documents can have Properties. Methods cannot.
This means, for instance, that on certain documents, you could set
a property 'isFooTypeDocument', and check for that elsewhere in your
system. With methods, the only method-specific properties are the
id and title, available as 'document_id' and 'document_title'.
Anthony