更多>
最新下载
24小时阅读排行榜
- 1 如何用javascript生成PDF_有哪些库可用?
- 2 如何使用Golang开发配置管理工具_读取和修改配置文件
- 3 如何使用Golang实现安全计数器_Golang原子操作与并发安全说明
- 4 css链接hover时想做背景轻微扩散效果怎么实现_通过::before制作扩散背景层
- 5 Blazor 怎么实现表单验证
- 6 C#如何将XElement转换为XmlElement
- 7 如何使用Golang实现HTTP客户端请求_发送GET和POST请求
- 8 c++如何实现一个线程安全的单例模式 Meyers' Singleton详解【设计模式】
- 9 c++的this指针是什么 在成员函数中如何使用【面向对象】
- 10 C++的线程消毒剂是什么_使用ThreadSanitizer (TSan)检测C++数据竞争问题
- 11 javascript如何实现机器学习_TensorFlow.js能运行哪些模型?
- 12 Blazor 怎么在页面之间传递数据
- 13 MAUI怎么创建第一个项目 MAUI HelloWorld教程
- 14 SQL安全事件如何追溯_日志链路分析思路【指导】
- 15 python控制台是什么意思
更多>
最新教程
-
- Node.js 教程
- 14074 2025-08-28
-
- CSS3 教程
- 1540562 2025-08-27
-
- Rust 教程
- 21772 2025-08-27
-
- Vue 教程
- 24294 2025-08-22
-
- PostgreSQL 教程
- 21017 2025-08-21
-
- Git 教程
- 8281 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
