Author: buildbot
Date: Wed Mar 19 20:06:54 2014
New Revision: 902375
Log:
Staging update by buildbot for thrift
Modified:
websites/staging/thrift/trunk/content/ (props changed)
websites/staging/thrift/trunk/content/about.html
websites/staging/thrift/trunk/content/developers.html
websites/staging/thrift/trunk/content/docs.html
websites/staging/thrift/trunk/content/docs/BuildingFromSource.html
websites/staging/thrift/trunk/content/docs/HowToContribute.html
websites/staging/thrift/trunk/content/docs/committers.html
websites/staging/thrift/trunk/content/docs/committers/AdditionalReading.html
websites/staging/thrift/trunk/content/docs/committers/HowToPublish.html
websites/staging/thrift/trunk/content/docs/committers/HowToRelease.html
websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html
websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html
websites/staging/thrift/trunk/content/docs/concepts.html
websites/staging/thrift/trunk/content/docs/features.html
websites/staging/thrift/trunk/content/docs/idl.html
websites/staging/thrift/trunk/content/docs/install.html
websites/staging/thrift/trunk/content/docs/install/centos.html
websites/staging/thrift/trunk/content/docs/install/os_x.html
websites/staging/thrift/trunk/content/docs/install/ubuntu.html
websites/staging/thrift/trunk/content/docs/install/windows.html
websites/staging/thrift/trunk/content/docs/types.html
websites/staging/thrift/trunk/content/download.html
websites/staging/thrift/trunk/content/index.html
websites/staging/thrift/trunk/content/mailing.html
websites/staging/thrift/trunk/content/sitemap.html
websites/staging/thrift/trunk/content/tutorial.html
websites/staging/thrift/trunk/content/tutorial/as3.html
websites/staging/thrift/trunk/content/tutorial/cpp.html
websites/staging/thrift/trunk/content/tutorial/csharp.html
websites/staging/thrift/trunk/content/tutorial/d.html
websites/staging/thrift/trunk/content/tutorial/delphi.html
websites/staging/thrift/trunk/content/tutorial/go.html
websites/staging/thrift/trunk/content/tutorial/graphviz.html
websites/staging/thrift/trunk/content/tutorial/hs.html
websites/staging/thrift/trunk/content/tutorial/index.html
websites/staging/thrift/trunk/content/tutorial/java.html
websites/staging/thrift/trunk/content/tutorial/js.html
websites/staging/thrift/trunk/content/tutorial/nodejs.html
websites/staging/thrift/trunk/content/tutorial/ocaml.html
websites/staging/thrift/trunk/content/tutorial/perl.html
websites/staging/thrift/trunk/content/tutorial/php.html
websites/staging/thrift/trunk/content/tutorial/py.html
websites/staging/thrift/trunk/content/tutorial/rb.html
Propchange: websites/staging/thrift/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Mar 19 20:06:54 2014
@@ -1 +1 @@
-1579366
+1579377
Modified: websites/staging/thrift/trunk/content/about.html
==============================================================================
--- websites/staging/thrift/trunk/content/about.html (original)
+++ websites/staging/thrift/trunk/content/about.html Wed Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<p>Apache Thrift is a software project spanning a variety of
programming languages and use cases. Our goal is to make reliable, performant
communication and data serialization across languages as efficient and seamless
as possible. Originally developed at Facebook, Thrift was open sourced in April
2007 and entered the Apache Incubator in May, 2008. Thrift became an Apache TLP
in October, 2010. </p>
<p>Apache Thrift aims to embody the following values:</p>
<ul>
@@ -305,6 +306,7 @@
<p>As I have said to a number of people, Thrift is the Swiss Army Knife of
software.</p>
</blockquote>
<p><a
href="http://mail-archives.apache.org/mod_mbox/thrift-user/201401.mbox/%[email protected]%3e">Rush
Manbert</a></p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/developers.html
==============================================================================
--- websites/staging/thrift/trunk/content/developers.html (original)
+++ websites/staging/thrift/trunk/content/developers.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="contributing">Contributing</h2>
<p>Anyone interested in contributing to Apache Thrift should read the <a
href="/docs/HowToContribute/">How to Contribute</a> guide prior to submitting
any patches to <a href="http://issues.apache.org/jira/browse/THRIFT">Jira</a>.
If you have any questions about this please <a href="/mailing/">contact
us</a>.</p>
<hr />
@@ -101,6 +102,7 @@
</ul>
</li>
</ul>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs.html (original)
+++ websites/staging/thrift/trunk/content/docs.html Wed Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<ul>
<li>
@@ -101,6 +102,7 @@
</li>
</ul>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/BuildingFromSource.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/BuildingFromSource.html
(original)
+++ websites/staging/thrift/trunk/content/docs/BuildingFromSource.html Wed Mar
19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="building-from-source">Building from source</h2>
<p>First make sure your system meets all necessary <a
href="/docs/install/">Apache Thrift Requirements</a></p>
<p>If you are building from the first time out of the source repository, you
will need to generate the configure scripts. (This is not necessary if you
downloaded a released tarball.) From the top directory, do:</p>
@@ -151,6 +152,7 @@ From the top directory, do:</p>
<p>Note that some language packages must be installed manually using build
tools
better suited to those languages (this applies to Java, Ruby, PHP).</p>
<p>Look for the README file in the lib/<language>/ folder for more details on
the installation of each language library package.</p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/HowToContribute.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/HowToContribute.html (original)
+++ websites/staging/thrift/trunk/content/docs/HowToContribute.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="how-to-contribute">How to contribute</h2>
<ol>
<li>Make sure your issue is not all ready in the <a
href="%=%[email protected][:jira_url]%20%">Jira issue tracker</a></li>
@@ -89,6 +90,7 @@
<li>[Get involved!] (http://www.apache.org/foundation/getinvolved.html)</li>
<li>[Legal aspects on Submission of Contributions (Patches)]
(http://www.apache.org/licenses/LICENSE-2.0.html#contributions)</li>
</ul>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/committers.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/committers.html (original)
+++ websites/staging/thrift/trunk/content/docs/committers.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<ul>
<% @item.children.sort_by { |i| i[:title].downcase }.each do |docs| %>
<li>
@@ -73,6 +74,7 @@
</li>
<% end %>
</ul>
+
</div>
<div class="container">
<hr>
Modified:
websites/staging/thrift/trunk/content/docs/committers/AdditionalReading.html
==============================================================================
---
websites/staging/thrift/trunk/content/docs/committers/AdditionalReading.html
(original)
+++
websites/staging/thrift/trunk/content/docs/committers/AdditionalReading.html
Wed Mar 19 20:06:54 2014
@@ -66,12 +66,14 @@
</div>
<div class="container">
+
<h2 id="useful-articles-for-committers">Useful articles for
committers</h2>
<ul>
<li><a href="http://www.apache.org/dev/release.html">ASF Releases FAQ</a></li>
<li><a href="http://www.apache.org/dev/release-signing.html">Signing
Releases</a></li>
<li><a
href="http://www.apache.org/dev/publishing-maven-artifacts.html">Publishing
Maven Artifacts</a></li>
</ul>
+
</div>
<div class="container">
<hr>
Modified:
websites/staging/thrift/trunk/content/docs/committers/HowToPublish.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/committers/HowToPublish.html
(original)
+++ websites/staging/thrift/trunk/content/docs/committers/HowToPublish.html Wed
Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="publishing-an-apache-thrift-release">Publishing an
Apache Thrift release</h2>
<ol>
<li>ssh people.apache.org and set ''umask 0002''</li>
@@ -86,6 +87,7 @@
</li>
<li>"Release" the version in JIRA and create the next version label and
transition any tickets to the new version.</li>
</ol>
+
</div>
<div class="container">
<hr>
Modified:
websites/staging/thrift/trunk/content/docs/committers/HowToRelease.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/committers/HowToRelease.html
(original)
+++ websites/staging/thrift/trunk/content/docs/committers/HowToRelease.html Wed
Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="how-to-create-a-release">How to create a release</h2>
<p>This guide will walk you through the process of creating a release
candidate. Once the release candidate has passed a successful vote you can then
<a href="/docs/committers/HowToPublish/">publish the release</a></p>
<h3 id="preparing-the-release">Preparing the Release</h3>
@@ -106,6 +107,7 @@
<li>Sign the exe: gpg -ba [thrift-[version].exe] >
[thrift-[version].exe].asc</li>
<li>Compute the sha1 and md5 hashes of the tarball: sha1
[thrift-[version].exe] > [thrift-[version].exe].sha1 && md5
[thrift-[version].exe] > [thrift-[version].exe].md5</li>
</ol>
+
</div>
<div class="container">
<hr>
Modified:
websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html
==============================================================================
---
websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html
(original)
+++
websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html
Wed Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="apache-thrift-website">Apache Thrift Website</h2>
<p>The thrift website is made up of markdown files and templates and uses the
<a href="http://nanoc.ws/">nanoc</a> static website generator. </p>
<h3 id="website-development">Website Development</h3>
@@ -100,6 +101,7 @@
<li>rake gen (static website is left in the 'output' folder)</li>
<li>Check in all the changes</li>
</ul>
+
</div>
<div class="container">
<hr>
Modified:
websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html
(original)
+++ websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html Wed
Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="versioning-client-libraries-for-a-release">Versioning
client libraries for a release</h2>
<p>The current process for versioning the client libraries for a new release
is as follows. This will be required until the process is automated as outlined
in</p>
<ul>
@@ -106,6 +107,7 @@
<li>Minor: Incremented for backward compatible changes.</li>
<li>Patch: Incremented for bug fixes</li>
</ul>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/concepts.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/concepts.html (original)
+++ websites/staging/thrift/trunk/content/docs/concepts.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="thrift-network-stack">Thrift network stack</h2>
<p>Simple representation of the Apache Thrift networking stack
<pre><code>
@@ -179,6 +180,7 @@ delegates processing to the handler (imp
<li>Create a processor based on the input/output protocols</li>
<li>Wait for incoming connections and hand them off to the processor</li>
</ul>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/features.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/features.html (original)
+++ websites/staging/thrift/trunk/content/docs/features.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="apache-thrift-features">Apache Thrift Features</h2>
<ul>
<li>interface description language - Everything is specified in an IDL file
from which bindings for many languages can be generated. See <a
href="/docs/idl/">Thirft IDL</a></li>
@@ -108,6 +109,7 @@
<li>heterogeneous containers - All items in a container must be of the same
type </li>
<li>Null return - null cannot be returned directly from a function. Use a
wrapper struct or a marker value instead</li>
</ul>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/idl.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/idl.html (original)
+++ websites/staging/thrift/trunk/content/docs/idl.html Wed Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="thrift-interface-description-language">Thrift interface
description language</h2>
<p>The Thrift interface definition language (IDL) allows for the definition of
<a href="/docs/types/">Thrift Types</a>. A Thrift IDL file is processed by the
Thrift code generator to produce code for the various target languages to
support the defined structs and services in the IDL file.</p>
<h2 id="description">Description</h2>
@@ -277,6 +278,7 @@
<p>Examine the <code>smalltalk.prefix</code> and
<code>smalltalk.category</code> status (esp <code>smalltalk.category</code>,
which takes <code>STIdentifier</code> as its argument)...</p>
<p>What to do about <code>ListSeparator</code>? Do we really want to be as lax
as we currently are?</p>
<p>Should <code>Field*</code> really be <code>Field+</code> in
<code>Struct</code>, <code>Enum</code>, etc.?</p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/install.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/install.html (original)
+++ websites/staging/thrift/trunk/content/docs/install.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<p>Apache Thrift's compiler is written in C++ and designed to
be portable, but there are some system requirements which must be installed
prior to use. Select your os below for a guide on setting up your system to get
started</p>
<ul>
<% @item.children.sort_by { |i| i[:title].downcase }.each do |doc| %>
@@ -126,6 +127,7 @@
</ul>
</li>
</ul>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/install/centos.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/install/centos.html (original)
+++ websites/staging/thrift/trunk/content/docs/install/centos.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="centos-setup">CentOS setup</h2>
<p>The following command install all the required tools and libraries to build
and install the Apache Thrift compiler on a CentOS5/RHEL5 Linux based system.
These packages are available in the "base" repository.</p>
<div class="codehilite"><pre><span class="n">sudo</span> <span
class="n">yum</span> <span class="n">install</span> <span
class="n">automake</span> <span class="n">libtool</span> <span
class="n">flex</span> <span class="n">bison</span> <span
class="n">pkgconfig</span> <span class="n">gcc</span><span
class="o">-</span><span class="n">c</span><span class="o">++</span> <span
class="n">boost</span><span class="o">-</span><span class="n">devel</span>
<span class="n">libevent</span><span class="o">-</span><span
class="n">devel</span> <span class="n">zlib</span><span class="o">-</span><span
class="n">devel</span> <span class="n">python</span><span
class="o">-</span><span class="n">devel</span> <span class="n">ruby</span><span
class="o">-</span><span class="n">devel</span>
@@ -75,6 +76,7 @@
<h4 id="additional-reading">Additional reading</h4>
<p>For more information on the requirements see: <a
href="/docs/install/">Apache Thrift Requirements</a></p>
<p>For more information on building and installing Thrift see: <a
href="/docs/BuildingFromSource/">Building from source</a></p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/install/os_x.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/install/os_x.html (original)
+++ websites/staging/thrift/trunk/content/docs/install/os_x.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="os-x-setup">OS X Setup</h2>
<p>The following command install all the required tools and libraries to build
and install the Apache Thrift compiler on a OS X based system. </p>
<h3 id="install-boost">Install Boost</h3>
@@ -92,6 +93,7 @@
<h2 id="additional-reading">Additional reading</h2>
<p>For more information on the requirements see: <a
href="/docs/install/">Apache Thrift Requirements</a></p>
<p>For more information on building and installing Thrift see: <a
href="/docs/BuildingFromSource/">Building from source</a></p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/install/ubuntu.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/install/ubuntu.html (original)
+++ websites/staging/thrift/trunk/content/docs/install/ubuntu.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="debian-or-ubuntu-setup">Debian or Ubuntu setup</h2>
<p>The following command install all the required tools and libraries to build
and install the Apache Thrift compiler on a Debian/Ubuntu Linux based
system.</p>
<div class="codehilite"><pre><span class="n">sudo</span> <span
class="n">apt</span><span class="o">-</span><span class="n">get</span> <span
class="n">install</span> <span class="n">libboost</span><span
class="o">-</span><span class="n">dev</span> <span
class="n">libboost</span><span class="o">-</span><span
class="n">test</span><span class="o">-</span><span class="n">dev</span> <span
class="n">libboost</span><span class="o">-</span><span
class="n">program</span><span class="o">-</span><span
class="n">options</span><span class="o">-</span><span class="n">dev</span>
<span class="n">libevent</span><span class="o">-</span><span
class="n">dev</span> <span class="n">automake</span> <span
class="n">libtool</span> <span class="n">flex</span> <span
class="n">bison</span> <span class="n">pkg</span><span class="o">-</span><span
class="n">config</span> <span class="n">g</span><span class="o">++</span> <span
class="n">libssl</span><span class="o">-</span><span class="n">dev</span>
@@ -121,6 +122,7 @@
<h2 id="additional-reading">Additional reading</h2>
<p>For more information on the requirements see: <a
href="/docs/install/">Apache Thrift Requirements</a></p>
<p>For more information on building and installing Thrift see: <a
href="/docs/BuildingFromSource/">Building from source</a></p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/install/windows.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/install/windows.html (original)
+++ websites/staging/thrift/trunk/content/docs/install/windows.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="windows-setup">Windows Setup</h2>
<p>The windows compiler is available as a prebuilt exe available <a
href="/download/">here</a></p>
<hr />
@@ -197,6 +198,7 @@
<h2 id="additional-reading">Additional reading</h2>
<p>For more information on the requirements see: <a
href="/docs/install/">Apache Thrift Requirements</a></p>
<p>For more information on building and installing Thrift see: <a
href="/docs/BuildingFromSource/">Building from source</a></p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/docs/types.html
==============================================================================
--- websites/staging/thrift/trunk/content/docs/types.html (original)
+++ websites/staging/thrift/trunk/content/docs/types.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="thrift-types">Thrift Types</h2>
<p>The Thrift type system is intended to allow programmers to use native types
as much as possible, no matter what programming language they are working in.
This information is based on, and supersedes, the information in the <a
href="/static/files/thrift-20070401.pdf">Thrift Whitepaper</a>. The <a
href="/docs/idl/">Thrift IDL</a> provides descriptions of the types which are
used to generate code for each target language.</p>
<h3 id="base-types">Base Types</h3>
@@ -100,6 +101,7 @@ While defaults are provided, the type ma
<p>Services are defined using Thrift types. Definition of a service is
semantically equivalent to defining an interface (or a pure virtual abstract
class) in object oriented programming. The Thrift compiler generates fully
functional client and server stubs that implement the interface.</p>
<p>A service consists of a set of named functions, each with a list of
parameters and a return type.</p>
<p>Note that void is a valid type for a function return, in addition to all
other defined Thrift types. Additionally, an async modifier keyword may be
added to a void function, which will generate code that does not wait for a
response. Note that a pure void function will return a response to the client
which guarantees that the operation has completed on the server side. With
async method calls the client will only be guaranteed that the request
succeeded at the transport layer. Async method calls of the same client may be
executed in parallel/out of order by the server.</p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/download.html
==============================================================================
--- websites/staging/thrift/trunk/content/download.html (original)
+++ websites/staging/thrift/trunk/content/download.html Wed Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="release">Release</h2>
<p>The latest stable release of Thrift is 0.9.1 (released on 2013-08-21).</p>
<ul>
@@ -93,6 +94,7 @@
git clone https://git-wip-us.apache.org/repos/asf/thrift.git thrift
cd thrift
</code></pre></p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/index.html
==============================================================================
--- websites/staging/thrift/trunk/content/index.html (original)
+++ websites/staging/thrift/trunk/content/index.html Wed Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<div class="row">
<div class="span8">
<p>
@@ -147,6 +148,7 @@
</div>
</div>
</div>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/mailing.html
==============================================================================
--- websites/staging/thrift/trunk/content/mailing.html (original)
+++ websites/staging/thrift/trunk/content/mailing.html Wed Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<p>In accordance with the principles of the Apache Software
Foundation, Thrift encourages a collaborative and community-based development
environment.</p>
<p>All project discussion is carried out publicly, on the following archived
lists.</p>
<hr />
@@ -85,6 +86,7 @@
<h3 id="irc">IRC</h3>
<p>Many of the Apache Thrift developers and community members hang out in the
#thrift channel on irc.freenode.net.</p>
<p>If you are new to IRC, you can use a client such as <a
href="http://www.xchat.org/">xchat</a> or <a
href="http://www.irssi.org/">Irssi</a> or a <a
href="http://webchat.freenode.net/?channels=#thrift">web-based client</a>.</p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/sitemap.html
==============================================================================
--- websites/staging/thrift/trunk/content/sitemap.html (original)
+++ websites/staging/thrift/trunk/content/sitemap.html Wed Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<ul>
<li><a href="/about.html">About</a></li>
<li><a href="/developers.html">Developers</a></li>
@@ -108,6 +109,7 @@
<li><a href="/tutorial/py.html">Python</a></li>
<li><a href="/tutorial/rb.html">Ruby</a></li>
</ul>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial.html (original)
+++ websites/staging/thrift/trunk/content/tutorial.html Wed Mar 19 20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<h2 id="apache-thrift-tutorial">Apache Thrift Tutorial</h2>
<hr />
<ul>
@@ -109,6 +110,7 @@ See the <a href="/docs/BuildingFromSourc
</li>
<% end %>
</ul></p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/as3.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/as3.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/as3.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -96,6 +97,7 @@ port 9092. To tell flash about this, you
<allow-access-from domain="*" to-ports="9090,9091" />
</cross-domain-policy>
</code></pre>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/cpp.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/cpp.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/cpp.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -76,6 +77,7 @@
<h2 id="additional-information">Additional Information</h2>
<h3 id="example-threadpool-server">Example ThreadPool Server</h3>
<p>[snippet:tutorial/cpp/CppServer.cpp:lang=cpp:lines=129,145]</p>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/csharp.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/csharp.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/csharp.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -74,6 +75,7 @@
<h3 id="server">Server</h3>
<p>[snippet:tutorial/csharp/CsharpServer/CsharpServer.cs:lang=cpp:lines=20,129]</p>
<h2 id="additional-information">Additional Information</h2>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/d.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/d.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/d.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -74,6 +75,7 @@
<h3 id="server">Server</h3>
<p>[snippet:tutorial/d/client.d:lang=cpp:lines=19,64]</p>
<h2 id="additional-information">Additional Information</h2>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/delphi.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/delphi.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/delphi.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -77,6 +78,7 @@
<h3 id="server">Server</h3>
<p>[snippet:tutorial/delphi/DelphiServer/DelphiServer.dpr:lang=cpp:lines=19,173]</p>
<h2 id="additional-information">Additional Information</h2>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/go.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/go.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/go.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -83,6 +84,7 @@
<li>Try using the buffered and/or framed transport options.</li>
<li>Note that both server and client must use the exact same protocol and
transport stack.</li>
</ul>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/graphviz.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/graphviz.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/graphviz.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -99,6 +100,7 @@ generator to render those exceptions arr
"<code>exception</code>" option:</p>
<div class="codehilite"><pre>$ <span class="n">thrift</span> <span
class="o">-</span><span class="n">r</span> <span class="o">--</span><span
class="n">gen</span><span class="p">:</span><span class="n">gv</span><span
class="p">:</span><span class="n">exceptions</span> <span class="n">gv</span>
<span class="n">tutorial</span><span class="p">.</span><span
class="n">thrift</span>
</pre></div>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/hs.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/hs.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/hs.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -74,6 +75,7 @@
<h3 id="server">Server</h3>
<p>[snippet:tutorial/hs/HaskellServer.hs:lang=cpp:lines=20,102]</p>
<h2 id="additional-information">Additional Information</h2>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/index.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/index.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/index.html Wed Mar 19
20:06:54 2014
@@ -13,7 +13,7 @@
<script src="/static/js/bootstrap-dropdown.js"></script>
<script src="/static/js/bootstrap-tab.js"></script>
- <title>Index</title>
+ <title>Index of Tutorial</title>
</head>
<body>
<div class="navbar">
@@ -66,7 +66,44 @@
</div>
<div class="container">
- <ul>
+
+<h2 id="apache-thrift-tutorial">Apache Thrift Tutorial</h2>
+<hr />
+<ul>
+<li>
+<h3 id="download-apache-thrift">Download Apache Thrift</h3>
+<p>To get started, <a href="/download/">download</a> a copy of Thrift.</p>
+</li>
+<li>
+<h3 id="build-and-install-the-apache-thrift-compiler-and-libraries">Build and
Install the Apache Thrift compiler and libraries</h3>
+<div class="codehilite"><pre><span class="n">You</span> <span
class="n">will</span> <span class="n">then</span> <span class="n">need</span>
<span class="n">to</span> <span class="n">build</span> <span
class="n">the</span> <span class="n">Apache</span> <span
class="n">Thrift</span> <span class="n">compiler</span> <span
class="n">and</span> <span class="n">libraries</span><span class="p">.</span>
+
+<span class="o">./</span><span class="n">configure</span> <span
class="o">&&</span> <span class="n">make</span>
+</pre></div>
+
+
+<p>This will also compile the tutorial client and server for several languages.
+See the <a href="/docs/BuildingFromSource/">Building from source</a> guide for
any help with this step.</p>
+</li>
+<li>
+<h3 id="writing-a-thrift-file">Writing a .thrift file</h3>
+<div class="codehilite"><pre><span class="n">After</span> <span
class="n">the</span> <span class="n">Thrift</span> <span
class="n">compiler</span> <span class="n">is</span> <span
class="n">installed</span> <span class="n">you</span> <span
class="n">will</span> <span class="n">need</span> <span class="n">to</span>
<span class="n">create</span> <span class="n">a</span> <span
class="n">thrift</span> <span class="n">file</span><span class="p">.</span>
<span class="n">This</span> <span class="n">file</span> <span
class="n">is</span> <span class="n">an</span> <span class="p">[</span><span
class="n">interface</span> <span class="n">definition</span><span
class="p">](</span><span class="o">/</span><span class="n">docs</span><span
class="o">/</span><span class="n">idl</span><span class="o">/</span><span
class="p">)</span> <span class="n">made</span> <span class="n">up</span> <span
class="n">of</span> <span class="p">[</span><span class="n">thrift</span> <span
class="n">types</span><span clas
s="p">](</span><span class="o">/</span><span class="n">docs</span><span
class="o">/</span><span class="n">types</span><span class="o">/</span><span
class="p">)</span> <span class="n">and</span> <span
class="n">Services</span><span class="p">.</span> <span class="n">The</span>
<span class="n">services</span> <span class="n">you</span> <span
class="n">define</span> <span class="n">in</span> <span class="n">this</span>
<span class="n">file</span> <span class="n">are</span> <span
class="n">implemented</span> <span class="n">by</span> <span
class="n">the</span> <span class="n">server</span> <span class="n">and</span>
<span class="n">are</span> <span class="n">called</span> <span
class="n">by</span> <span class="n">any</span> <span
class="n">clients</span><span class="p">.</span>
+</pre></div>
+
+
+</li>
+<li>
+<h3 id="generate-thrift-file-to-source-code">Generate Thrift file to source
code</h3>
+<p>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>
+<div class="codehilite"><pre><span class="n">thrift</span> <span
class="o">--</span><span class="n">gen</span> <span class="o"><</span><span
class="n">language</span><span class="o">></span> <span
class="o"><</span><span class="n">Thrift</span> <span
class="n">filename</span><span class="o">></span>
+</pre></div>
+
+
+<p>The sample <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file defines a basic calculator service. This will be used to demonstrate both
the client and server.</p>
+</li>
+</ul>
+<h2 id="examples-clients-and-servers">Examples Clients and Servers</h2>
+<ul>
<li><a href="/tutorial/as3.html">Actionscript 3.0</a></li>
<li><a href="/tutorial/cpp.html">C++</a></li>
<li><a href="/tutorial/csharp.html">CSharp</a></li>
@@ -84,6 +121,7 @@
<li><a href="/tutorial/py.html">Python</a></li>
<li><a href="/tutorial/rb.html">Ruby</a></li>
</ul>
+
</div>
<div class="container">
<hr>
@@ -118,4 +156,3 @@
</body>
</html>
-
Modified: websites/staging/thrift/trunk/content/tutorial/java.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/java.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/java.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -74,6 +75,7 @@
<h3 id="server">Server</h3>
<p>[snippet:tutorial/java/src/JavaServer.java:lang=java:lines=20,110]</p>
<h2 id="additional-information">Additional Information</h2>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/js.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/js.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/js.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -171,6 +172,7 @@ function calc() {
<li>The Protocol layer handles the encoding/decoding to JSON format.</li>
<li>There are also the Thrift object types and call functions defined here as
well.</li>
</ul>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/nodejs.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/nodejs.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/nodejs.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -74,6 +75,7 @@
<h3 id="server">Server</h3>
<p>[snippet:tutorial/nodejs/NodeServer.js:lang=javascript:lines=20,89]</p>
<h2 id="additional-information">Additional Information</h2>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/ocaml.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/ocaml.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/ocaml.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -74,6 +75,7 @@
<h3 id="server">Server</h3>
<p>[snippet:tutorial/ocaml/CalcServer.ml:lang=cpp:lines=20,89]</p>
<h2 id="additional-information">Additional Information</h2>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/perl.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/perl.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/perl.html Wed Mar 19
20:06:54 2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -74,6 +75,7 @@
<h3 id="server">Server</h3>
<p>[snippet:tutorial/perl/PerlServer.pl:lang=ruby:lines=20,85]</p>
<h2 id="additional-information">Additional Information</h2>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/php.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/php.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/php.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -74,6 +75,7 @@
<h3 id="server">Server</h3>
<p>[snippet:tutorial/php/PhpServer.php:lang=php:lines=2,130]</p>
<h2 id="additional-information">Additional Information</h2>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/py.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/py.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/py.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -74,6 +75,7 @@
<h3 id="server">Server</h3>
<p>[snippet:tutorial/py/PythonServer.py:lang=python:lines=22,97]</p>
<h2 id="additional-information">Additional Information</h2>
+
</div>
<div class="container">
<hr>
Modified: websites/staging/thrift/trunk/content/tutorial/rb.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/rb.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/rb.html Wed Mar 19 20:06:54
2014
@@ -66,6 +66,7 @@
</div>
<div class="container">
+
<%= render 'tutorial_intro' %>
<h3 id="prerequisites">Prerequisites</h3>
@@ -74,6 +75,7 @@
<h3 id="server">Server</h3>
<p>[snippet:tutorial/rb/RubyServer.rb:lang=ruby:lines=22,95]</p>
<h2 id="additional-information">Additional Information</h2>
+
</div>
<div class="container">
<hr>