wiki确实是很好的组织文档的形式,对于一个简单的开源项目的建立完全没有必要大张旗鼓的建立独立网站,架设CVS,一个wiki页面足以写下所有的内容了,PyBurlap就在啄木鸟直接建立项目页面,http://wiki.woodpecker.org.cn/moin/PyBurlap。下载、版本信息、使用例子全部包括。
再来说一下Burlap,Burlap是一种类似Xmlrpc的远程调用技术,目前支持的传送类型包括:
A base64-encoded binary stream
A boolean value expressed as an integer, 0 or 1
An ISO8609-encoded date
A 64-bit IEEE floating pointer number
A 32-bit signed integer
An ordered list, like an array
A 64-bit signed integer
Represents serialized objects and Hashtables
Null represents a null pointer
An integer referring to a previous <list> or <map>
instance
A reference to a remote object
A 16-bit unicode character string encoded in UTF-8
An XML document encoded as a 16-bit unicode character
string encoded in UTF-8, following the rules for <string>
PyBurlap除了xml类型,已经全部支持
调用方法如下:
proxy = Burlap("http://localhost:8080/buffalo/Hello")
proxy.hello("Breeze")
返回
Hello Breeze
就这么简单。
关于Burlap协议的全部规范:file:///E:/Python/Amowa/burlap-1.0-spec.xtp.htm
关于PyBurlap项目:http://wiki.woodpecker.org.cn/moin/PyBurlap
下载:http://wiki.woodpecker.org.cn/moin/PyBurlap?action=AttachFile&do=get&target=PyBurlap0.1.zip