redman
redman

Reputation: 2165

Python web service

I'm doing server/client application similar to Ubuntu Landscape (http://www.canonical.com/enterprise-services/ubuntu-advantage/landscape) for my school project. The client part of application will send different informations (disk usage, packages etc.) to server. I know how to get informations and hot I'll handle them on the server side. But I don't know how what is the best way to exchange informations. Would SOAP be ok or is there any better way for doing this? Messages can be large (for example a list of installed packages) or very small. I was looking at Twisted but don't know where to start. I have experience with SOAP in PHP, Java and C#.

And recommnedation is welcome, thanks

Upvotes: 2

Views: 508

Answers (2)

thunderflower
thunderflower

Reputation: 181

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

Upvotes: 1

user2665694
user2665694

Reputation:

Look into XMLRPC or JSON-RPC which is likely supported in some why by all language through modules or packages.

SOAP is a complete bloat and widely considered as a failed hype.

Upvotes: 2

Related Questions