r1347@opsdev009 (orig r71314): mcslee | 2007-11-26 11:05:29 -0800
[amiethrift.git] / tutorial / README
blob8ce657434e5dc0f5db6dc0d8e320be27d1ba90cf
1 Thrift Tutorial
3 Author: Mark Slee (mcslee@facebook.com)
5 Thrift is distributed under the Thrift open source software license.
6 Please see the included LICENSE file.
8 Tutorial
9 ========
11 1) First things first, you'll need to install the Thrift compiler and the
12    language libraries. Do that using the instructions in the top level
13    README file.
15 2) Read tutorial.thrift to learn about the syntax of a Thrift file
17 3) Run tutorial.thrift to compile the code:
19      ./tutorial.thrift
21 4) Take a look at the generated code.
23 5) Look in the language directories for sample client/server code.
25 6) That's about it for now. This tutorial is intentionally brief. It should be
26    just enough to get you started and ready to build your own project.