standalone process to interact with the web

Diez B. Roggisch deets at nospam.web.de
Thu Aug 2 13:20:33 EDT 2007


Bruno Desthuilliers schrieb:
> beginner a écrit :
>> On Aug 1, 5:04 am, Bruno Desthuilliers <bruno.
>> 42.desthuilli... at wtf.websiteburo.oops.com> wrote:
>>> beginner a écrit :
>>> (snip)
>>>
>>>> Yes exactly. I just don't want to reinvent the wheel as I imagine
>>>> there are already tons of libraries and frameworks that support RPC or
>>>> the like functions.
>>> Why go thru the pain of RPC, SOAP or such bloated horrors ? Why not just
>>> use plain old HTTP with a RESTful API ? Then you just need to make your
>>> app wsgi compliant.
>>
>> I am not familiar with RESTful API. I will look into it.
>>
> It's nothing else than the correct use of the HTTP protocol. And it's 
> much more simpler than all those XMLRPC, SOAP and whatnot monstruosities.

While I'm with you regarding the monstrosity of SOAP, XMLRPC certainly 
isn't among the crappy IPC-protocols. Using it, you get type marshalling 
for some simple, yet important cases for free. Including such things as 
argument-order, and ordered values. Which for example make transmitting 
a dict a trivial operation of transmitting the two sequences of key/values.

I don't see that with REST.

Diez



More information about the Python-list mailing list