XML(JSON?)-over-HTTP: How to define API?

Paul Rubin http
Fri Jul 3 00:29:49 CEST 2009


Allen Fowler <allen.fowler at yahoo.com> writes:
> Since I need to work with other platforms, pickle is out...  what
> are the alternatives?  XML? JSON?

json is the easiest to prototype with and is less bureaucratic.  xml
has more serious tools for schema specification and validation etc.
You could start with json and switch later.  As for the rpc mechanism,
using urllib and one of the HTTP server modules is probably simplest.



More information about the Python-list mailing list