JSON-RPC 库工具 ReflectRPC
- 授权协议: MIT
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/aheck/reflectrpc
- 软件文档: https://github.com/aheck/reflectrpc/blob/master/README.md
- 官方下载: https://github.com/aheck/reflectrpc/archive/master.zip
软件介绍
ReflectRPC 是一款JSON-RPC 库工具,用于创建自描述
import reflectrpc
import reflectrpc.simpleserver
def add(a, b):
return int(a) + int(b)
rpc = reflectrpc.RpcProcessor()
add_func = reflectrpc.RpcFunction(add, 'add', 'Adds two numbers', 'int',
'Sum of the two numbers')
add_func.add_param('int', 'a', 'First int to add')
add_func.add_param('int', 'b', 'Second int to add')
rpc.add_function(add_func)
server = reflectrpc.simpleserver.SimpleJsonRpcServer(rpc, 'localhost', 5500)
server.run()连接到服务器
rpcsh localhost 5500
PHP和MySQL Web开发
Luke Welling、Laura Thomson / 武欣、邵煜 / 机械工业出版社 / 2005-12 / 78.00元
本书将PHP开发与MySQL应用相结合,分别对PHP和MySQL做了深入浅出的分析,不仅介绍PHP和MySQL的一般概念,而且对PHP和MySQL的Web应用做了较全面的阐述,并包括几个经典且实用的例子。一起来看看 《PHP和MySQL Web开发》 这本书的介绍吧!
