Holger Blasum wrote:
> Dear *,
>
> naively I volunteered for a talk on zope in autumn to a (small) CS student
> audience. However, I must confess that do not understand the
> basics about the API:
>
> What is the most general and state-of-the-art way (including
> necessary imports from the zope python library), to non-interactively
> - add an Object o of type (class) t in context (directory location) c to Zope ?
> - call a method m of that object (that eg was found in its source code) ?
> - (optional) set and alter a public attribute a of that object ?
> - delete that Object o from context c ?
Look at Appendix B of the Zope Book:
http://www.zope.org/Documentation/Guides/ZopeBook/AppendixB.dtml
Specifically, look at the manage_addProduct documentation found in the
ObjectManager class.
Shane
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )