Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > xmlrpclib or twisted?

Reply
Thread Tools

xmlrpclib or twisted?

 
 
flupke
Guest
Posts: n/a
 
      12-06-2004
Hi,

previously i made an application that used sockets to
do some network based processing.
My next app is again going to be a client/server app
and i wanted to see if i can't find an easier way to
make the networking going.
I bumped into xmlrpclib and also twisted (pb).
I'm not sure which on of these would suit my needs better.
I am planning to build a web GUI for the client so if i
use twisted, i would already have the components in there
to do so, so this could be a plus for twisted.
The client will connect to the server to receive data.
The data is the result of one of several queries and these raw
results would then be displayed in the client via a webgui or
wxPython. (leaning towards webgui)

Any other ideas?

Thanks
Benedict
 
Reply With Quote
 
 
 
 
Istvan Albert
Guest
Posts: n/a
 
      12-06-2004
flupke wrote:


> I am planning to build a web GUI for the client so if i


If you are planning to build a browser based interface
then use an available webserver and don't build
your own.

Istvan.
 
Reply With Quote
 
 
 
 
Andy Gross
Guest
Posts: n/a
 
      12-06-2004

If you're not concerned about interoperability with other languages and
are already using Twisted, I'd go with PB. Especially if you are using
complicated datatypes that have to be serialized and sent over the wire
- PB has a nice Cacheable type that doesn't serialize the whole object.
XMLRPC on the other hand is a little simpler and will work with
third-party stuff.

/arg


On Dec 6, 2004, at 5:11 AM, flupke wrote:

> Hi,
>
> previously i made an application that used sockets to
> do some network based processing.
> My next app is again going to be a client/server app
> and i wanted to see if i can't find an easier way to
> make the networking going.
> I bumped into xmlrpclib and also twisted (pb).
> I'm not sure which on of these would suit my needs better.
> I am planning to build a web GUI for the client so if i
> use twisted, i would already have the components in there
> to do so, so this could be a plus for twisted.
> The client will connect to the server to receive data.
> The data is the result of one of several queries and these raw
> results would then be displayed in the client via a webgui or
> wxPython. (leaning towards webgui)
>
> Any other ideas?
>
> Thanks
> Benedict
> --
> http://mail.python.org/mailman/listinfo/python-list


 
Reply With Quote
 
flupke
Guest
Posts: n/a
 
      12-14-2004
flupke wrote:
<snip>

Thanks for the info.

Benedict
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xmlrpclib timeouts p2esp Python 2 03-03-2004 05:53 AM
mod_python with xmlrpclib Michael Python 0 02-26-2004 11:46 PM
RE: xmlrpclib Brian Quinlan Python 0 10-19-2003 02:23 AM
xmlrpclib sashan Python 0 10-19-2003 12:57 AM
xmlrpclib/timeoutsocket not happy together in 2.3 Larry Python 0 09-16-2003 07:30 PM



Advertisments