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
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to