- Building RESTful Web Services with PHP 7
- Haafiz Waheed ud din Ahmad
- 244字
- 2021-07-03 00:02:14
Web services
Web services are defined differently at different places. Word-by word translation states that any service provided on the web including a web page is a web service but this isn't true if the technical term web service is referred to.
To define web service, we will look at web service definition from the W3C glossary:
"A Web service is a software system designed to support inter-operable machine-to-machine interaction over a network. It has an interface described in a machine-process able format (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP-messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards." -W3C, web services glossary.
This definition again, is not completely true as it is more specific to SOAP and WSDL based web services. In fact, later in the W3C Working Group Note, February 11, 2004, it was stated that:
"We can identify two major classes of web services:
- REST-compliant web services, in which the primary purpose of the service is to manipulate XML representations of Web resources using a uniform set of "stateless" operations;
- and arbitrary web services, in which the service may expose an arbitrary set of operations."
- REST-compliant web services, in which the primary purpose of the service is to manipulate XML representations of Web resources using a uniform set of "stateless" operations;
- and arbitrary web services, in which the service may expose an arbitrary set of operations."
So considering that, a more general and better definition of a web service is this, from the preceding mentioned W3C web services glossary definition:
"A Web service is a software system designed to support inter-operable machine-to-machine interaction over a network."
推薦閱讀
- iOS Game Programming Cookbook
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- C#高級編程(第10版) C# 6 & .NET Core 1.0 (.NET開發經典名著)
- OpenShift開發指南(原書第2版)
- Learning Real-time Processing with Spark Streaming
- Wireshark Network Security
- INSTANT Weka How-to
- 秒懂設計模式
- HTML5入門經典
- Expert Data Visualization
- 深入理解Android:Wi-Fi、NFC和GPS卷
- 零基礎學C語言第2版
- Python計算機視覺與深度學習實戰
- C語言程序設計
- Java EE 程序設計