0

I have to integrate into my system a third party system, which gives me a SDK, written in CPP.
Our application uses PHP as the main language.
What would be the best and/or shortest development to expose the needed functionality in the SDK to my PHP application?

Itay Moav -Malimovka
  • 52,579
  • 61
  • 190
  • 278

1 Answers1

1

I've always used thrift, which was developed by Facebook. Not sure your exact use case, but you can easily setup a server in once language then use their code generation engine. It works with C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, and OCaml.

DSchultz
  • 1,335
  • 6
  • 15
  • These two posts cover [building a C++ server](http://mikecvet.wordpress.com/2010/05/13/apache-thrift-tutorial-the-sequel/) and [a PHP client](http://chanian.com/2010/05/13/thrift-tutorial-a-php-client/). – Michael Mior Jul 19 '11 at 22:58