Python web service

I use a server / client application like Ubuntu Landscape ( http://www.canonical.com/enterprise-services/ubuntu-advantage/landscape ) for my school project. The client part of the application sends various information to the server (disk usage, packages, etc.). I know how to get information and it's hot, I will process them on the server side. But I do not know how best to exchange information. Will SOAP be OK or is there a better way to do this? Messages can be large (for example, a list of installed packages) or very small. I looked at Twisted, but don't know where to start. I have experience with SOAP in PHP, Java and C #.

And approval is welcome, thanks

+3
source share
2 answers

Look at XMLRPC or JSON-RPC, which are probably supported by some of them, why the whole language through modules or packages.

SOAP is a complete bloat and is widely considered unsuccessful advertising.

+2
source

I recommend using flask or smisk . Both structures are REST based, powerful, lightweight and pythonic. The flask is probably more mature and maintained. If you go down the SOAP road, you'll soon regret it.

0
source

All Articles