HessianPHP

这是昨晚上从 Effective Life 上看到的。最近一直在找这方面的资料。马上下下来看,是一个很不错的东东。

它是Hessian在PHP上的实现,关于Hessian可以看下面这段介绍。

“The Hessian binary web service protocol makes web services usable without requiring a large framework, and without learning yet another alphabet soup of protocols. Because it is a binary protocol, it is well-suited to sending binary data without any need to extend the protocol with attachments.”

我昨晚写了它的介绍写了一半,不过 Binzy 今天已经把它的介绍以及示例写出来了,所以我就不用再写了,呵呵。详见Introduce Hessian PHP

PHP在Remoting和WebService方面的选择确实不是特别多。我找到的比较理想的就是PEAR:SOAP和nusoap这两个。不过Hessian有一个很优势,就是它有Java,Python,Ruby,dotNET等语言的实现,可以实现多种语言间的互通。这正好是我一直想找到的方案,用PHP调用COM组件效率毕竟太低了。

更多的内容可见于HessianPHPHessian的主页

2 thoughts on “HessianPHP”

Leave a Reply

Your email address will not be published. Required fields are marked *