Here's an example using WebOb without Pylons: http://pythonpaste.org/webob/jsonrpc-example.html
A useful addition to this would be to use Routes to select the service end point. Once the endpoint is instantiated I think a more pure-WSGI approach (like in the tutorial) makes more sense than using the Pylons Controller. But the Pylons Controller itself is just a WSGI application (-factory -- instances are the WSGI applications), so you can just replace the controllers. KJ wrote: > Would Pylons be a good choice for implementing a JSON-RPC-based web > service? > > If yes, can someone point me to a good example? (Actually, I'd be > interested in seeing examples of any Pylons-based web service, even if > it doesn't use JSON.) > > If not what other framework would more suited for this task? > > TIA! > > KJ > > > > > -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
