[Zope] PageTemplate ... dtml-comment

Tino Wildenhain tino@wildenhain.de
Sun, 03 Nov 2002 20:54:20 +0100


Hi Mark,

usually ZPT are self documenting if you can resist to dont do
magic things there.
For examle:  <a href="to product info page" tal:attributes="href 
product/url"
              tal:contents="product/description">Description of a 
product</a>

seems to be pretty self documenting.
Add to this: well documented python scripts and stuff
and if it is not enough: provide a propery with your ZPT
where you can write extensive documentation.

Regards
Tino

--On Sonntag, 3. November 2002 12:40 -0700 Mark Gibson 
<mark@dimensional.com> wrote:

> What is the recommended way for commenting page templates?  The
> <dtml-comment> in dtml was awkward, but it was readily apparent that the
> content between the tags was for comment only.
>
> Could use html comments <!-- -->, unless you don't want the commentary in
> the published html.
>
> How are you handling this?
>
> Mark
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )