[Web-SIG] [proposal] merging jsonrpc into xmlrpc

Ian Bicking ianb at colorstudy.com
Wed Apr 9 00:06:40 CEST 2008


Alan Kennedy wrote:
> [1] But it's a shame they didn't write it on WSGI: then their services
> could have run on the Google compute cloud ;-)

Indeed.  After seeing a BaseHTTPServer JSON-RPC server go up on the 
Python Cookbook I wrote a WSGI server and made it into a tutorial: 
http://pythonpaste.org/webob/jsonrpc-example.html (but it's not a 
maintained library -- at least I won't be maintaining it).

> [2] Perhaps some pythonista from Web-SIG is most appropriate to advise
> how JSON-RPC should move forward? After all, we're more accustomed to
> server-side stuff than those javascript folks ;-)

Let it die?  It is more complicated than necessary, when instead you 
could just make each function a URL of its own, and POST the arguments 
and get back the response, with 500 Server Error for errors.  It's hard 
to spec that up because it's too simple.

OHM (http://pythonpaste.org/ohm/) follows this model of exposing a service.

   Ian


More information about the Web-SIG mailing list