[Twisted-Python] xml

Lee Connell lee.a.connell at gmail.com
Sat Jan 27 22:27:02 EST 2007


Jean Paul,

Do you use netstrings?  What version of netstrings.py do you use?  I'll have
another look at it, is this a non-maintained script? As far as XML, I'm just
use to it because of web development, that's all.

-Lee

-----Original Message-----
From: twisted-python-bounces at twistedmatrix.com
[mailto:twisted-python-bounces at twistedmatrix.com] On Behalf Of Christopher
Armstrong
Sent: Saturday, January 27, 2007 7:38 PM
To: Twisted general discussion
Subject: Re: [Twisted-Python] xml

On 1/27/07, Lee Connell <lee.a.connell at gmail.com> wrote:
> Jean-Paul,
>
> Thanks for your input,
>
> I looked at them all, AMP looked pretty cool, but that's just something
that
> is enhancing XML-RPC correct?

No, AMP is not based on XML-RPC at all; it's a custom protocol which
offers two-way communications (XML-RPC only supports client->server
request/response), and it doesn't use XML in the first place.

> Netstrings looked like a viable solution, but
> I like XML formatting better.

Why do you like XML formatting better? It's waaay more complicated
than netstrings, and if your protocol is simple, you shouldn't need
something too complicated.

> I am not sure if what I originally asked was correct, I am not designing
> some new protocol, all I am doing is looking for something to wrap up my
> packets which hold some commands and data, very basic stuff, is that
> considered writing my own protocol?

Yes :)

-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/

_______________________________________________
Twisted-Python mailing list
Twisted-Python at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.12/653 - Release Date: 1/26/2007
11:11 AM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.12/653 - Release Date: 1/26/2007
11:11 AM
 





More information about the Twisted-Python mailing list