[Zope] Want to access ZClass Instance from external program
Kapil Thangavelu
kthangavelu@earthlink.net
Tue, 17 Oct 2000 16:14:54 -0700
Jon Prettyman wrote:
>
> I have a folder containing a bunch of ZClass instances that I want to
> access from an external (non-web) python application.
>
> I need to be able to read the values of the instance properties.
>
> Is there a way to do this with the ZClient stuff? If not, what can I
> use. If yes, any pointers?
>
> -jon
its easiest to it with (IMO)
xml-rpc
and find your zclasses with calls to objectids and query the
propertysheets directly for property info.
check out
http://www.zope.org/Members/Amos/xmlrpclib.py
you'll need to fix a base class and an import.
www.xml-rpc.com
www.xml.com search for amos
and zope.org for howtos on xmlrpc
Cheers
Kapil