[Zope] Nested hashes, ZopeDB bloat, and URL

chrisf chrisf@fagmed.uit.no
Fri, 01 Nov 2002 16:10:44 +0100


Consider this,

I have a single Family python product.
Family objects contains a hash of subfamily objects.
Subfamily objects contain a hash of proteins.
Protein  objects contain a hash of amino_acids.
Amino_acid objects contain a hash of atoms.

Since we are talking about a couple thousand proteins and a over a
million atoms, I don't want to make anything under Family a proper zope
object.
I have seen ZopeDB bloat and its is not pretty.

Yet because they are not proper objects, they can not be refered to on
the URL or otherwise.
ie  http://whatever:8080/Family/Subfamily/Protein/Amino/Atom
everything bounces back to the one true product Family


Any clues:

Session variables ?
Operator overloading __call__, __getattr__?
Aquistion ?

Any help greatly appreciated Chris :)