Re: [Zope] Connecting to Zope with a Thick Client
I know that OSE is very complete and quite stable. On the other hand Twisted seems more Python and less C++, but I don't know how mature it is. It may be that they are not really comparable and that one will be much better suited to what I'm trying to do - will have to inverstigate . . . Etienne At 01:07 PM 14/10/2003 +0100, Andrew Veitch wrote:
It might be worth looking at twisted
I've not used it myself but I've heard it's good.
A
* Etienne Labuschagne <elabuschagne@gmsonline.co.za> [2003-10-14 15:43]:
I know that OSE is very complete and quite stable. On the other hand Twisted seems more Python and less C++, but I don't know how mature it is.
It may be that they are not really comparable and that one will be much better suited to what I'm trying to do - will have to inverstigate . . .
You can also look at ZEO, specifically the zrpc package which uses Python's asyncore and socket modules. You probably won't be able to use it as is but there is more than enough there to get you going and its closer to Zope than Twisted and OSE. -- Roché Compaan Upfront Systems http://www.upfrontsystems.co.za
On Tue, Oct 14, 2003 at 05:47:45PM +0200, Roch? Compaan wrote:
* Etienne Labuschagne <elabuschagne@gmsonline.co.za> [2003-10-14 15:43]:
I know that OSE is very complete and quite stable. On the other hand Twisted seems more Python and less C++, but I don't know how mature it is.
It may be that they are not really comparable and that one will be much better suited to what I'm trying to do - will have to inverstigate . . .
You can also look at ZEO, specifically the zrpc package which uses Python's asyncore and socket modules. You probably won't be able to use it as is but there is more than enough there to get you going and its closer to Zope than Twisted and OSE.
actually I think ZEO might provide an interesting opportunity to connect twisted <-> zope. but I haven't tried yet :-) -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's THE BITCH! (random hero from isometric.spaceninja.com)
On Tuesday 14 October 2003 16:47, Roché Compaan wrote:
You can also look at ZEO, specifically the zrpc package which uses Python's asyncore and socket modules.
Note that the ZEO protocol currently needs for all clients and the server to trust each other; there is no security across the zeo link. -- Toby Dickenson
On Tue, Oct 14, 2003 at 06:38:07PM +0100, Toby Dickenson wrote:
On Tuesday 14 October 2003 16:47, Roch? Compaan wrote:
You can also look at ZEO, specifically the zrpc package which uses Python's asyncore and socket modules.
Note that the ZEO protocol currently needs for all clients and the server to trust each other; there is no security across the zeo link.
True. I wouldn't use ZEO directly for the original poster's "fat clients". Instead, I would consider building a server, maybe in Twisted, that implements the necessary protocol and uses zope's nice features like security, acquisition, etc. It would be some work but I suspect this approach could be very powerful and pretty clean. Alternatively, you could extend ZServer / Medusa to provide your protocol of choice, but that doesn't sound like as much fun :-) -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's SPOOKY TOFU ORTHOPEDIST! (random hero from isometric.spaceninja.com)
Thanks for all the replies. Paul, is you say create a server in Twisted, do you mean a server in the same sense as ZServer? Luckily coding just about anything in Python is fun, so the extending of ZServer seems like a viable option. Wouldn't this be better anyway, or do you think it would be much more work than creating a server in Twisted? I'll have a look at ZServer's XML-RPC implementation, maybe I can get some tips there on adding another protocol. Thanks Etienne At 01:52 PM 14/10/2003 -0400, Paul Winkler wrote:
On Tue, Oct 14, 2003 at 06:38:07PM +0100, Toby Dickenson wrote:
On Tuesday 14 October 2003 16:47, Roch? Compaan wrote:
You can also look at ZEO, specifically the zrpc package which uses Python's asyncore and socket modules.
Note that the ZEO protocol currently needs for all clients and the server to trust each other; there is no security across the zeo link.
True. I wouldn't use ZEO directly for the original poster's "fat clients". Instead, I would consider building a server, maybe in Twisted, that implements the necessary protocol and uses zope's nice features like security, acquisition, etc. It would be some work but I suspect this approach could be very powerful and pretty clean. Alternatively, you could extend ZServer / Medusa to provide your protocol of choice, but that doesn't sound like as much fun :-)
--
Paul Winkler http://www.slinkp.com Look! Up in the sky! It's SPOOKY TOFU ORTHOPEDIST! (random hero from isometric.spaceninja.com)
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Wed, Oct 15, 2003 at 07:05:23AM +0200, Etienne Labuschagne wrote:
Thanks for all the replies. Paul, is you say create a server in Twisted, do you mean a server in the same sense as ZServer?
yep
Luckily coding just about anything in Python is fun, so the extending of ZServer seems like a viable option. Wouldn't this be better anyway, or do you think it would be much more work than creating a server in Twisted?
honestly i have no experience to base this judgment on. Twisted has a reputation for being very easy to bang out servers in, and I think it would be fun :-)
I'll have a look at ZServer's XML-RPC implementation, maybe I can get some tips there on adding another protocol.
sounds good. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's TOPLESS BUTTOCK GENERALISSIMO! (random hero from isometric.spaceninja.com)
participants (4)
-
Etienne Labuschagne -
Paul Winkler -
Roché Compaan -
Toby Dickenson