How to write an API for a Python application?
kehilanyas at hotmail.com
Wed Nov 16 15:50:36 CET 2005
Its an interesting solution but I need a more closely coupled solution,
with real time events, so the communication really has to be 2 ways, and not
Thanks for putting the time and though.
<jmdeschamps at gmail.com> wrote in message
news:1132144040.194283.285890 at o13g2000cwo.googlegroups.com...
> While not sure of the behavior you are trying to achieve, XML-RPC comes
> to mind. But it's based on HTTP protocol in which the client puts
> request to the server which has to respond. The server cannot initiate
> XML-RPC is both widely avalaible, and very easy to implement.
> NOTE: in order for the server to raise events in the client, the client
> needs only raise periodically a *need-anything-from-me* type of request
> which permits the server to return its request in response to the
> client. Naturally this solution makes superfluous calls takes some
> bandwidth, so it might not be appropriate in every circumstance.
More information about the Python-list