[Zope] a metric for killing DTML.

Tom Deprez Tom Deprez" <tom.deprez@uz.kuleuven.ac.be
Fri, 2 Nov 2001 15:14:18 +0100


Great idea,

I'm thinking on that as well, as eg a general practice book. How to mold an
application into the ZODB etc.
But, unfortunately I think that I'm not the best person for doing this. I
think there are people who have much more practice in Zope than I have. I'm
not a person who can work the whole day on Zope (unfortunate).
But if somebody starts on, I'm always willing to help in the best way I can.

Tom.

----- Original Message -----
From: "Casey Duncan" <c.duncan@nlada.org>
To: <anthony@interlink.com.au>; <zope@zope.org>
Sent: Friday, November 02, 2001 3:06 PM
Subject: Re: [Zope] a metric for killing DTML.


> On Thursday 01 November 2001 02:13 am, Anthony Baxter allegedly wrote:
> > Like any site that's been around for a while, we've got a lot of
> > DTML that shouldn't be DTML. We're gradually killing it, but
> > we're looking at detecting stuff that _shouldn't_ be in DTML.
> > One metric that's come up is "any DTML method that has 3 or more
> > calls to REQUEST.set() is probably up to no good."
> >
> > Have other people found other useful rules of thumb about when
> > to avoid DTML?
> >
> > Anthony
>
> Just for something nice to think about...
>
> Wouldn't it be cool if somebody wrote a "Zope best practices" guide that
> encapsulates what language is best to use for what... And when you know
that
> you've hung too far out on a limb that's shakey...
>
> Zope gives you so many damned choices...
>
> Anyway, one problem is us oldbies who only had DTML or external Python as
> choices (and we liked it!). I have a tendancy to overuse DTML as a logic
> language and also Python to generate HTML code... I'm in remedial therapy
> now, so I hope to break some of those old habits... 8^)
>
> /---------------------------------------------------\
>   Casey Duncan, Sr. Web Developer
>   National Legal Aid and Defender Association
>   c.duncan@nlada.org
> \---------------------------------------------------/
>
> _______________________________________________
> 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 )