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

2009-07-05 Thread vasudevram
On Jul 3, 1:11 pm, "Diez B. Roggisch" wrote: > Allen Fowler schrieb: > > > > > > > > >> I have an (in-development) python system that needs to shuttle events / > >> requests > >> around over the network to other parts of itself.   It will also need to > >> cooperate with a .net application runnin

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

2009-07-03 Thread Ken Dyck
On Jul 2, 6:17 pm, Allen Fowler wrote: > Since I need to work with other platforms, pickle is out...  what are the > alternatives?  XML? JSON? Don't forget YAML (http://yaml.org). Libraries available for Python and .NET, among others. -Ken -- http://mail.python.org/mailman/listinfo/python-list

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

2009-07-03 Thread Diez B. Roggisch
Allen Fowler schrieb: I have an (in-development) python system that needs to shuttle events / requests around over the network to other parts of itself. It will also need to cooperate with a .net application running on yet a different machine. So, naturally I figured some sort of HTTP ev

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

2009-07-02 Thread Charles Yeomans
On Jul 2, 2009, at 6:06 PM, Allen Fowler wrote: I have an (in-development) python system that needs to shuttle events / requests around over the network to other parts of itself. It will also need to cooperate with a .net application running on yet a different machine. So, naturally

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

2009-07-02 Thread Paul Rubin
Allen Fowler 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 switc

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

2009-07-02 Thread Chris Rebert
On Thu, Jul 2, 2009 at 3:06 PM, Allen Fowler wrote: > > I have an (in-development) python system that needs to shuttle events / > requests around over the network to other parts of itself.   It will also > need to cooperate with a .net application running on yet a different machine. > > So, natur

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

2009-07-02 Thread Allen Fowler
> I have an (in-development) python system that needs to shuttle events / > requests > around over the network to other parts of itself. It will also need to > cooperate with a .net application running on yet a different machine. > > So, naturally I figured some sort of HTTP event / RPC t

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

2009-07-02 Thread Allen Fowler
I have an (in-development) python system that needs to shuttle events / requests around over the network to other parts of itself. It will also need to cooperate with a .net application running on yet a different machine. So, naturally I figured some sort of HTTP event / RPC type of would be