Hi Mike, On 11/11/05, Michael Schneider <[EMAIL PROTECTED]> wrote: > Iteration 3 will be to expose an XML-RPC interface from turbogears, > cherrypy supports XML-RPC, but I don't know if this works with > turbogears. I really like to provide an HTML interface + an XML-RPC > interface to functionality. Most of my projects have both human and > computer consumers of data. An XML-RPC interface in turbogears would > allow this to happen.
The CherryPy XML-RPC stuff should work just fine. I should note that if you're actually looking for interfaces that do both HTML and handle computer requests nicely, you could do things just as in the 20 minute wiki video. http://your.server/your/object/selector?param1=foo¶m2=bar All of the parameters are sent via the standard HTTP mechanism and are dealt with the in the TurboGears method. The result comes back as either HTML or JSON depending on what the browser requests. It may be possible to have TurboGears accept XML-RPC requests to methods in addition to the current mechanism, but I'm not sure if there's a benefit to that. Kevin

