[Zope] call zope methods from the operating system
Tue, 2 Jul 2002 18:29:15 -0400
I've been using httplib and urllib to do integration between Zope and
external applications and vice versa. The performance has been very good
and Deiter is correct -- if you don't want loose coupling, expect lots of
I tried both ways and after much effort, chose httplib /urllib. If you'd
like any example code let me know.
From: email@example.com [mailto:firstname.lastname@example.org]On Behalf Of
Sent: Tuesday, July 02, 2002 3:12 PM
To: horst wald
Subject: Re: [Zope] call zope methods from the operating system
horst wald writes:
> >>can I call Zope
> >>methods from the operating system (e.g. MySQLDA) without a loopback?
> >You can with "XML-RPC" or "ZPublisher.Client" or "httplib.HTTP"...
> I would call httplib or urllib a loopback (if you use it like
> But that would be really slow, wouldn't it?
> Could you give me an example for "XML-RPC" or "ZPublisher.Client" ?
When you call "httplib" or "urllib" loopbacks, then
"XML-RPC" and "ZPublisher.Client" are loopbacks as well
(both use HTTP as transport).
If you do not want this loose coupling, you may need something
like JPE (Java Python Environment) but for your components.
Expect lots of work!
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -