Author: buildbot
Date: Sat Mar 22 23:44:40 2014
New Revision: 903019
Log:
Staging update by buildbot for thrift
Modified:
websites/staging/thrift/trunk/content/ (props changed)
websites/staging/thrift/trunk/content/index.html
Propchange: websites/staging/thrift/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Mar 22 23:44:40 2014
@@ -1 +1 @@
-1580375
+1580376
Modified: websites/staging/thrift/trunk/content/index.html
==============================================================================
--- websites/staging/thrift/trunk/content/index.html (original)
+++ websites/staging/thrift/trunk/content/index.html Sat Mar 22 23:44:40 2014
@@ -72,7 +72,6 @@
<p>
The Apache Thrift software framework, for scalable cross-language
services development, combines a software stack with a code generation engine
to build services that work efficiently and seamlessly between C++, Java,
Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js,
Smalltalk, OCaml and Delphi and other languages.
</p>
-
<h3>Getting Started</h3>
<p>
<ul>
@@ -86,13 +85,10 @@
</li>
<li>
<b>Writing a .thrift file</b>
-
<p>After the Thrift compiler is installed you will need to create a
thrift file. This file is an <a href="/docs/idl">interface definition</a> made
up of <a href="/docs/types">thrift types</a> and Services. The services you
define in this file are implemented by the server and are called by any
clients. The Thrift compiler is used to generate your Thrift File into source
code which is used by the different client libraries and the server you write.
To generate the source from a thrift file run</p>
-
<pre>
<code>thrift --gen <language> <Thrift filename></code>
</pre>
-
<p>The sample tutorial.thrift file used for all the client and
server tutorials can be found <a
href="https://git-wip-us.apache.org/repos/asf/thrift/?p=thrift.git;a=tree;f=tutorial">here</a>.
</p>
</li>
</ul>
@@ -102,8 +98,7 @@
To learn more about Apache Thrift <a
href="/static/files/thrift-20070401.pdf">Read the Whitepaper</a>
</p>
</div>
-
-<p><div class="span3 well center pull-right">
+ <div class="span3 well center pull-right">
<h2>Download</h2>
<p>Apache Thrift v0.9.1</p>
<p>
@@ -125,7 +120,9 @@
</p>
</div>
</div>
-<hr /></p>
+
+<hr />
+
<h3 id="example">Example</h3>
<p>Apache Thrift allows you to define data types and service interfaces in a
simple definition file. Taking that file as input, the compiler generates code
to be used to easily build RPC clients and servers that communicate seamlessly
across programming languages. Instead of writing a load of boilerplate code to
serialize and transport your objects and invoke remote methods, you can get
right down to business.</p>
<p>The following example is a simple service to store user objects for a web
front end.</p>