擅长:python、mysql、java
<p>我在PHP、Java和Python中使用过Thrift,您可能会注意到使用Thrift最糟糕的部分是它的文档。deofficer示例中的一部分,可以用不同的语言使用:<a href="https://git-wip-us.apache.org/repos/asf/thrift/?p=thrift.git;a=tree;f=tutorial" rel="nofollow">Official Source Code Tutorial</a>。下面是几个网页,它们更详细地描述了如何实现客户机/服务器节约协议:</p>
<ul>
<li><a href="http://www.thrift.pl/Thrift-tutorial-our-own-hello-world.html" rel="nofollow">Thrift.pl</a></li>
<li><a href="http://diwakergupta.github.io/thrift-missing-guide/" rel="nofollow">Thrift the missing guide</a></li>
</ul>
<p>通过SSL保护您的连接意味着通过添加几行新行来修改服务器/客户端,下面是Java中的一个示例:</p>
<ul>
<li><a href="http://architects.dzone.com/articles/how-secure-and-apache-thrift" rel="nofollow">Secure Thrift</a></li>
</ul>
<p>将最后一段代码重写为python并不困难</p>