Hi! Does someone know why ObjectManager has its own "API"? I think it would be better if the API would be like python's dictionary: has_key, values, items ... Somehow I don't like objectValues, objectItems ... Will this be changed for Zope3? thomas -- Thomas Guettler <guettli@thomas-guettler.de> http://www.thomas-guettler.de
From: "Thomas Guettler" <guettli@thomas-guettler.de>
Does someone know why ObjectManager has its own "API"?
Because there are things you need to do, and then you need an API. It's kinda hard to get out only DTML-Methods from a dictionary, for example.
Somehow I don't like objectValues, objectItems ...
Get used to it. :-)
On Wednesday 04 December 2002 04:32 pm, Thomas Guettler wrote:
Hi!
Does someone know why ObjectManager has its own "API"? I think it would be better if the API would be like python's dictionary:
has_key, values, items ...
Somehow I don't like objectValues, objectItems ...
Will this be changed for Zope3?
Yes, In Zope3 folders are little more than glorified dictionaries. ObjectManagers are way too big for their britches in Zope 2 (API speaking)... -Casey
participants (3)
-
Casey Duncan -
Lennart Regebro -
Thomas Guettler