[Twisted-Python] xml
Christopher Armstrong
radix at twistedmatrix.com
Sat Jan 27 17:38:13 MST 2007
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/
More information about the Twisted-Python
mailing list