rest - What protocol to use in client-server app communication with python? -
i need client-server application, client made python-gtk, procedures on server-side free client of workload.
so did search on google client-server protocols , found corba , rpc closer had in mind, want made app ready accept web , mobile clients, found rest , soap.
from reading found myself doubts, should implement 2 different protocols, 1 gtk-client (like rpc or corba) , web , mobile (rest or soap)?
can use rest or soap all?
i've implemented webservices using soap/xmlrpc (it easy support both, framework using @ time made pretty trivial) before; had thought using standard http without soap/xmlrpc layer (before aware rest had name :) decided against in end because "i didn't want write client-side code handle datastructures". (the perl client had easy soap/xmlrpc apis.)
in end, regretted decision made: have written code handle datastructures myself in afternoon (or @ day) -- or if had chosen use json, 2 hours. burden of soap/xmlrpc api , library dependencies lives on, years after saved few hours of developing, , continue burden future development of product.
so recommend giving rest really try before going rpc framework.
Comments
Post a Comment