[Zope] binary data

Dieter Maurer dieter@handshake.de
Thu, 14 Jun 2001 18:28:08 +0200 (CEST)


Klaus Herrmann writes:
 > >   Make your ZClass folder-like (derive from "ObjectManager" or
 > "Folder")
 > >   and then use standard files.
 > > 
 > > Don't you like this idea?
 > > 
 > 
 > sure but i can only put one file in a document this way, right?
Why do you think so?

   Deriving from a "Folder" (making it a base class) gives your
   ZClass Folder behaviour. It can do what a Folder can.
   Its instances become Folders. And as such can
   store arbitrary many objects, including files.

You will need to give your class an "index_html" to display
the "content" of your instances.


Dieter