[Zope] Acquisition from a DTML method in a subdirectory

Chris Withers lists at simplistix.co.uk
Wed Mar 10 09:13:19 EST 2004


Jim Anderson wrote:

> Maybe just a bit of a masochist - LOL. I've started reading
> more about ZPT, and it looks like it will help. I haven't
> gotten to far yet, but I haven't dumped DTML from my vocabulary
> yet because I have a concern about tieing ZPT with python modules.

What do you mean?

> I haven't seen how to do that yet. Give me a bit more time on
> reading then maybe I'll be ok with ZPT.  The Zope Book
> encourages using ZPT, but also says that there are times to use
> DTML.

There are never times to use DTML ;-)

> I need to be able to program a lot of logic and tie it in with the
> presentation. I'm getting to the point with DTML where I think
> I can do that with most of my work in python, and a sprinkling
> of DTML. I'm not quite there yet, however :(

Yeah, do most of the work in Script (Python)'s, and then present that work using 
ZPT. ZPT is good in that it gives you good hints as to when stuff should be in a 
python script...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk




More information about the Zope mailing list