[Zope3-Users] (Beginner's) Questions concerning ZopeX3 Component Communication

Lennart Regebro regebro at gmail.com
Fri Feb 17 16:24:22 EST 2006


On 2/17/06, Reinhold Strobl <reinhold.strobl at gmx.net> wrote:
> I am new to ZopeX3 and currently working with components. I would like to build
> a client/server application. The client (no browser) should be able to invoke
> methods of the component in the ZopeX3 Server. I have seen examples based on
> XML-RPC, but are there no other possiblities, which enables remote calls "in an
> integrated way",
> I mean, is something like following is possible:
>
> Server (Zope):
> ===============================
> Interface IReceipeInfo
> Implementation of that interface:
> class ReceipeInfo(object):
>     implements(IReceipeInfo)
>     ...
>     def getTimeToCook(self):
>         return ...
>
>
>
> Client (Python)
> ==============================
> rec = ReceipeInfo()
>
> rec.getTimeToCook()
>
>
> ----------------
> I mean, is a remote call in that kind possible?

No. The client and server are two different computers. For that reason
you must use some kind of network protocol to communicate between
them.
--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope3-users mailing list