[ZPT] can zpt help solve world hunger?
ender
kthangavelu@earthlink.net
Mon, 21 May 2001 05:24:33 -0700
hi,
nutshell version:
i was wondering if zpt can be used outside of zope (in a manner similiar to
dtml)? if not, whats needed to change this?
heres my scenario/workflow.
scenario 1
i'm going to be working with a designer. i think the easiest way to do this
is to let them create the pages as they wish and to insert unique ID attrs
into each page where dynamic content needs to go (with dummy data). i'd like
to take the pages they've generated peruse them to make sure they look
allright. then use a python script to insert the proper zpt namespace attrs
based on the id of a tag and then upload all the documents. this is rather
similiar to the way enhydra's xmlc works. looking over the cmf and its
fspagetemplate, this should be doable. i guess this doesn't require zpt usage
outside of zope, i'm just fishing here to see what people think of this
approach with zpt.
scenario 2
i'd like to use zpt to generate xml/ sql ddl on the fs. i'll be creating my
objects from other data sources and i'd like to use zpt to generate the
output. i'm currently doing this via dtml.
(this is for a non profit org. hence the title)
cheers
kapil thangavelu