PyBurlap 0.1 发布

wiki确实是很好的组织文档的形式,对于一个简单的开源项目的建立完全没有必要大张旗鼓的建立独立网站,架设CVS,一个wiki页面足以写下所有的内容了,PyBurlap就在啄木鸟直接建立项目页面,http://wiki.woodpecker.org.cn/moin/PyBurlap。下载、版本信息、使用例子全部包括。

再来说一下Burlap,Burlap是一种类似Xmlrpc的远程调用技术,目前支持的传送类型包括:
base64 A base64-encoded binary stream
boolean A boolean value expressed as an integer, 0 or 1
date An ISO8609-encoded date
double A 64-bit IEEE floating pointer number
int A 32-bit signed integer
list An ordered list, like an array
long A 64-bit signed integer
map Represents serialized objects and Hashtables
null Null represents a null pointer
ref An integer referring to a previous or instance
remote A reference to a remote object
string A 16-bit unicode character string encoded in UTF-8
xml An XML document encoded as a 16-bit unicode character string encoded in UTF-8, following the rules for

PyBurlap除了xml类型,已经全部支持
调用方法如下:
proxy = Burlap("http://localhost:8080/buffalo/Hello")
proxy.hello("Breeze")

返回
Hello Breeze

就这么简单。

关于Burlap协议的全部规范:http://www.caucho.com/resin-3.0/protocols/burlap-1.0-spec.xtp
关于PyBurlap项目:http://wiki.woodpecker.org.cn/moin/PyBurlap
下载:http://wiki.woodpecker.org.cn/moin/PyBurlap?action=AttachFile&do=get&target=PyBurlap0.1.zip

你可能感兴趣的:(其他,integer,character,string,reference,list,null)