更多>
最新下载
24小时阅读排行榜
- 1 如何使用C++20 Concepts约束变参模板? (Variadic Concepts)
- 2 mysql中触发器与事务隔离的配合使用
- 3 mysql中使用前缀索引与性能优化技巧
- 4 c++中如何选择合适的序列化格式? (JSON vs Protobuf vs MessagePack)
- 5 mysql如何优化内存参数_mysql内存参数性能优化
- 6 C++如何实现反射机制?(目前主要依靠预处理宏或第三方库)
- 7 如何使用唯一索引_mysql唯一索引场景
- 8 mysql中InnoDB存储引擎的事务支持与ACID特性
- 9 mysql实现简单库存管理系统数据库架构
- 10 c# 如何实现jwt认证
- 11 javascript对象如何创建_如何访问和修改对象的属性?
- 12 XSLT怎么实现尾递归优化 处理深度嵌套XML
- 13 cssabsolute定位在滚动容器中异常怎么办_确认滚动容器是否为定位上下文
- 14 css box sizing 是什么_盒模型切换使用方法
- 15 mysql中BETWEEN操作符进行范围查询的使用
更多>
最新教程
-
- Node.js 教程
- 15345 2025-08-28
-
- CSS3 教程
- 1544065 2025-08-27
-
- Rust 教程
- 22686 2025-08-27
-
- Vue 教程
- 25139 2025-08-22
-
- PostgreSQL 教程
- 21761 2025-08-21
-
- Git 教程
- 8781 2025-08-21
下载首页 / 学习资料 / 网页制作
RPC-Style Architectures
An RPC-style web service accepts an envelope full of data from its client, and sends a
similar envelope back. The method and the scoping information are kept inside the
envelope, or on stickers applied to the envelope. What kind of envelope is not important
to my classification, but HTTP is a popular envelope format, since any web service
worthy of the name must use HTTP anyway. SOAP is another popular envelope format
(transmitting a SOAP document over HTTP puts the SOAP envelope inside an HTTP
envelope). Every RPC-style service defines a brand new vocabulary. Computer pro-
grams work this way as well: every time you write a program, you define functions with
different names. By contrast, all RESTful web services share a standard vocabulary of
HTTP methods. Every object in a RESTful service responds to the same basic interface.
The XML-RPC protocol for web services is the most obvious example of the RPC ar-
chitecture. XML-RPC is mostly a legacy protocol these days, but I’m going to start off
with it because it’s relatively simple and easy to explain. Example 1-11 shows a Ruby
client for an XML-RPC service that lets you look up anything with a Universal Product
An RPC-style web service accepts an envelope full of data from its client, and sends a
similar envelope back. The method and the scoping information are kept inside the
envelope, or on stickers applied to the envelope. What kind of envelope is not important
to my classification, but HTTP is a popular envelope format, since any web service
worthy of the name must use HTTP anyway. SOAP is another popular envelope format
(transmitting a SOAP document over HTTP puts the SOAP envelope inside an HTTP
envelope). Every RPC-style service defines a brand new vocabulary. Computer pro-
grams work this way as well: every time you write a program, you define functions with
different names. By contrast, all RESTful web services share a standard vocabulary of
HTTP methods. Every object in a RESTful service responds to the same basic interface.
The XML-RPC protocol for web services is the most obvious example of the RPC ar-
chitecture. XML-RPC is mostly a legacy protocol these days, but I’m going to start off
with it because it’s relatively simple and easy to explain. Example 1-11 shows a Ruby
client for an XML-RPC service that lets you look up anything with a Universal Product
本站所有资源都是由网友投搞发布,或转载各大下载站,请自行检测软件的完整性!本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!如有侵权请联系我们删除下架,联系方式:admin@php.cn
