[ZDP] Start Implementation of ZDP

Martijn Faassen m.faassen@vet.uu.nl
Mon, 30 Aug 1999 10:39:33 +0200


Stephan Richter wrote:

> BTW, I agree that ZClasses are the way to go. The XML rendering is simply too
> slow.

I vaguely wonder how much faster ZClasses will be -- probably faster as
the datastructure can be flatter, but if you structure it the same as an
XMLDocument is structured, there can't be that much of a difference.

Anyway, ZClasses are nice, but how are you actually going to fit
structured data inside them? Deriving from a base class (DTML Method for
instance) will only get you unstructured data. Using propertysheets is
limited too. We can derive from Python base classes, but is that what we
want? Or am I missing something about ZClasses? I'd like to be able to
look at DC's code for some of the ZClasses they have on the portal
site..

You can also derive a ZClass from an XMLDocument and provide a set of
methods to manipulate it. I don't know how well that would work.

So, how do you fit a structured document in a ZClass is the answer I'd
like answered. Perhaps I'm asking the wrong question -- you work with
unstructured documents (or perhaps structured text) with a lot of
attributes associated to it?

Regards,

Martijn