Re: [Zope3-Users] (Beginner's) Questions concerning ZopeX3 Component Communication
On 2/17/06, Reinhold Strobl [EMAIL PROTECTED] 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/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] (Beginner's) Questions concerning ZopeX3 Component Communication
On Feb 17, 2006, at 4:24 PM, Lennart Regebro wrote: On 2/17/06, Reinhold Strobl [EMAIL PROTECTED] wrote: 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. Well, some people are doing stuff a bit like that with direct ZEO connection (which has a protocol itself, yes), but there's no inherent security over the ZEO connection, so you have to be really careful (or excessively carefree), I'd think. Gary ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users