blob: 8ce657434e5dc0f5db6dc0d8e320be27d1ba90cf [file] [log] [blame]
Mark Slee07a3aab2007-03-07 05:45:10 +00001Thrift Tutorial
2
3Author: Mark Slee (mcslee@facebook.com)
4
5Thrift is distributed under the Thrift open source software license.
6Please see the included LICENSE file.
7
8Tutorial
9========
10
111) 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.
14
152) Read tutorial.thrift to learn about the syntax of a Thrift file
16
173) Run tutorial.thrift to compile the code:
18
19 ./tutorial.thrift
20
214) Take a look at the generated code.
22
235) Look in the language directories for sample client/server code.
24
256) 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.