[Zope] How-to develop a folderish product?

Oliver Bleutgen Oliver Bleutgen <myzope@gmx.net>
Sun, 17 Jun 2001 19:56:02 +0200


> I mean objects that can contain other objects, like folders can.

> There is at least one product that is not folderish: the poll product
> created in the product development tutorial. I suspect there are more.

>>Here is another really good resource.
>>http://www.zope.org/Documentation/ZDG/

Hi Rene,

I had the very same Problem, i.e. nice explanation
for developing non-folderish python products in the
docs you mentioned, but nil for folderish products.

What I did was simply looking at the source
from OFS/Folder.py and just use the same base
classes like Folder does. That way you just don't get
the functionality which is defined in folder.py, i.e.
the content-view, IIRC. You also get to see what
is needed for a folderish product from the zope developers
point of view.

I did that because I felt I had more control about what
happens where, but I assume thats just paranoia on my
side and one could derive from OFS.folder without problems.
But looking at the source at this stage of learning
gives a lot insight.

cheers,
oliver