What protocol to use in client-server application using python?

I need to make a client-server application, the client will be created with python-gtk, all procedures will be on the server side to free the client from this workload.

So, I looked google about client-server protocols, and I found that CORBA and RPC are closer to what I had in mind, BUT I also want this application to be ready to accept web and mobile clients, so I found REST and SOAP.

From all this reading, I found that with such doubts, should I implement two different protocols: one for gtk-client (for example, RPC or CORBA), and the other for web and mobile (REST or SOAP)?

Can I use REST or SOAP for everyone?

+3
source share
2

- SOAP/XMLRPC ( , , , ); HTTP SOAP/XMLRPC ( , , REST :), , " ", ( Perl API SOAP/XMLRPC.)

, : ( ) - JSON, , , API SOAP/XMLRPC API , , , .

REST , RPC.

+4

REST. , , . SOAP, RPC CORBA , .

+3

Source: https://habr.com/ru/post/1794853/


All Articles