Using Thrift to Mix Development Languages

I am currently developing an application that will require several different development languages. I want to use PHP as the last piece of the puzzle - the physical structure of a web page. This PHP web application will need to access several web services that can be encoded in anything from Java to Erlang to Python. Each of these web services will be implemented using an API. My plan is to use Thrift to make this mix work. Is this the right approach, or am I mixing up what Trott's goal is?

+1
source share
1 answer

Yes, that sounds right - Thrift is one example of a serialization protocol and RPC that is implemented on multiple platforms. As long as there are bindings for all the platforms you are interested in (or you want to write such bindings), this should be good. All the platforms you mentioned are already supported, so you can get started well.

Did you have any specific problems, or just check that you have the right basic idea?

+2
source

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


All Articles