- 授权协议: LGPL
- 开发语言: .NET
- 操作系统: Windows
- 软件首页: http://code.google.com/p/top4net/
- 软件文档: http://code.google.com/p/top4net/w/list
软件介绍
设计原则
1. 容易维护扩展(不需要修改主类就可以添加新的API支持)
2. 注入型解释器(依据不同的返回格式注入相应的解释器)
3. 集中管理请求参数与参数映射
4. 以异常的方式来管理错误的响应
5. 使用泛型来做强类型编程
6. 多协议扩展支持(REST, RPC, SOAP, etc)
调用方式:
ITopClient client = new TopRestClient("http://gw.api.tbsandbox.com/router/rest", "test", "test", "json");
UserGetRequest request = new UserGetRequest();
request.Fields = "user_id,nick,sex,created,location";
request.Nick = "tbtest520";
User user = client.Execute(request, new UserGetJsonParser());
Beginning XML with DOM and Ajax
Sas Jacobs / Apress / 2006-06-05 / USD 39.99
Don't waste time on 1,000-page tomes full of syntax; this book is all you need to get ahead in XML development. Renowned web developer Sas Jacobs presents an essential guide to XML. Beginning XML with......一起来看看 《Beginning XML with DOM and Ajax》 这本书的介绍吧!
