Contents

Disclaimer

This website, nor it's author isn't in any form affiliated or endorsed by the Apache Software Foundation.

Opinions or suggestions included in this document are based on the author's knowledge of Apache Thrift, which is still work-in-progress.


Work in progress

In fact, principle of operation of Thrift framework is quite simple:

  • First of all, in *.thrift file you declare objects and procedures, that you would like to interchange between applications written in different languages.
  • Then, using thrift tool, you build Thrift platform files for programming languages of your choice (I used Python for the server and PHP for the client).
  • Most important step is to create server and client applications, using code generated in the previous step. Server application should implement procedures declared in the thrift file, while client should call them. Thrift itself takes care about creating transport classes, defining objects, etc. so your responsibility is only to use them in your code.
  • Last, but not least :) is to run your server. Then, using client script, you can perform actions using previously defined objects and methods.

How to accomplish these actions will be described in the two following articles.


Copyrights information

This document is published under the Creative Commons Attribute-Share Alike 3.0 license. Creative Commons License

This website template was prepaded by Studio7designs and is shared under the Creative Commons Attribution 3.0 Unported license.

About the author

Krzysztof Rakowski is living in Warsaw, Poland. He works as a Senior PHP Programmer at K2 Internet SA.

You may contact author by writing to the email krzysztof [at] rakowski.pl