Best protocol for client/server communication, from PHP/Perl to C++/Qt4
- by Kyle
I'm the author of an Open Source kiosk management system, Libki. The current version, though functional, was very much a learning experience for me. I'm working on a complete rewrite and am having a hard time deciding what protocol to use.
The server will be written in PHP or Perl. Most likely PHP because I need to support some uncommon protocols that Library software use, ( SIP and NCIP ). So far I've only found a SIP2 library in PHP.
The client is written in C++/Qt4.
I'm looking at RPC and REST for client/server communication. I've found RPC client libraries for Qt4, and REST is already part of the Qt4 libraries.
Is there an alternative I've missed? So far, REST seems to be the winner.