PyBurlap 0.1 发布

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

再来说一下Burlap,Burlap是一种类似Xmlrpc的远程调用技术,目前支持的传送类型包括:
base64A base64-encoded binary stream
booleanA boolean value expressed as an integer, 0 or 1
dateAn ISO8609-encoded date
doubleA 64-bit IEEE floating pointer number
intA 32-bit signed integer
listAn ordered list, like an array
longA 64-bit signed integer
mapRepresents serialized objects and Hashtables
nullNull represents a null pointer
refAn integer referring to a previous <list> or <map> instance
remoteA reference to a remote object
stringA 16-bit unicode character string encoded in UTF-8
xmlAn 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协议的全部规范: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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值