开发者

Using thrift to mix development languages

I am currently developing an application which will require multiple different development languages. I want to use PHP as the final piece of the puzzle - the physical web page construction. This PHP web app will need t开发者_开发知识库o contact multiple web services which could be coded in anything from Java to Erlang to Python. Each of these web services will be implemented with an API. My plan is to use Thrift to allow this mix to work. Is this the correct approach or am I mixing up what the whole point of Thrift is?


Yes, that sounds about right - Thrift is one example of a serialization and RPC protocol which is implemented on multiple platforms. So long as there are bindings for all the platforms you're interested in (or you're willing to write such bindings) that should be fine. All the platforms you mentioned are already supported, so you're off to a good start.

Did you have any specific concerns, or were you just checking that you'd got the right basic idea?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜