- 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."
推薦閱讀
- Architecting the Industrial Internet
- oreilly精品圖書:軟件開發者路線圖叢書(共8冊)
- Building a Quadcopter with Arduino
- PHP 7+MySQL 8動態網站開發從入門到精通(視頻教學版)
- 從零開始學C語言
- Getting Started with Eclipse Juno
- R用戶Python學習指南:數據科學方法
- Orleans:構建高性能分布式Actor服務
- Python趣味編程與精彩實例
- Python+Office:輕松實現Python辦公自動化
- 深入分析GCC
- C/C++代碼調試的藝術(第2版)
- ASP.NET jQuery Cookbook(Second Edition)
- OpenStack Sahara Essentials
- LiveCode Mobile Development Hotshot