[Zope] Organisational vs. Functional hierarchies

Lennart Regebro regebro at gmail.com
Tue Apr 19 12:44:13 EDT 2005


On 4/19/05, David Given <dg at cowlark.com> wrote:
> I apologise if this is a newbie question, but I can't seem to find
> anything in the documentation about this.
> 
> The way Zope seems to want to organise things is so that folders roughly
> equate to classes. That is, if I have B inside A, then B inherits its
> behaviour from A. All of B's siblings are the same sort of object.

You can do it like that, yes. You only HAVE to, if you develop
everything with pythin scripts. Disk-based products overcome this
completely.

> But to make this work, I need to duplicate all the code in each 'Text'
> and 'Images' folder...

Well, no. You can just put all of it in the top folder. <ugh> :)
Or, as mentioned above, make a python product.

> Is this in fact possible, or do I need to start tinkering with custom
> products?

Well, you *should* in any case. ;)


-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope mailing list