远程方法调用 - xmlrpc4r
jopen
13年前
xmlrpc4r 是 XMLRPC 的 Ruby 语言实现。XML-RPC提供了利用XML通过HTTP来调用远程方法。这个协议有点类似于SOAP,但更加方便。详细信息请看:XML-RPC homepage <a href="/misc/goto?guid=4959500871221609673"><URL:http://www.xmlrpc.com/></a>。 <br /> <h3><a id="label-4" name="label-4">它具有以下特性:</a></h3> <dl> <dt> <a id="label-5" name="label-5">Extensions</a> </dt> </dl> <ul> <li>Introspection</li> <li>multiCall</li> <li>optionally nil values and integers larger than 32 Bit</li> </ul> <dl> <dt> <a id="label-6" name="label-6">Server</a> </dt> </dl> <ul> <li>Standalone XML-RPC server</li> <li>CGI-based (works with FastCGI)</li> <li>Apache mod_ruby server</li> <li>WEBrick servlet</li> </ul> <dl> <dt> <a id="label-7" name="label-7">Client</a> </dt> </dl> <ul> <li>synchronous/asynchronous calls</li> <li>Basic HTTP-401 Authentification</li> <li>HTTPS protocol (SSL)</li> </ul> <dl> <dt> <a id="label-8" name="label-8">Parser</a> </dt> </dl> <ul> <li>NQXMLStreamParser</li> <li>NQXMLTreeParser</li> <li>XMLStreamParser (fastest)</li> <li>XMLTreeParser</li> <li>REXMLStreamParser</li> <li>XMLScanStreamParser</li> </ul> <dl> <dt> <a id="label-9" name="label-9">General</a> </dt> </dl> <ul> <li>possible to choose between XMLParser Module (Expat wrapper) and NQXML (pure Ruby) parsers</li> <li>Marshalling Ruby objects to Hashs and reconstruct them later from a Hash</li> <li>SandStorm component architecture Client interface</li> </ul> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326617818233" target="_blank">http://www.open-open.com/lib/view/home/1326617818233</a></p>