- 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."
推薦閱讀
- C++面向?qū)ο蟪绦蛟O(shè)計(jì)(第三版)
- Flask Web全棧開發(fā)實(shí)戰(zhàn)
- Web應(yīng)用系統(tǒng)開發(fā)實(shí)踐(C#)
- 復(fù)雜軟件設(shè)計(jì)之道:領(lǐng)域驅(qū)動(dòng)設(shè)計(jì)全面解析與實(shí)戰(zhàn)
- jQuery EasyUI網(wǎng)站開發(fā)實(shí)戰(zhàn)
- 數(shù)據(jù)結(jié)構(gòu)(Java語言描述)
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優(yōu)化計(jì)算
- QGIS By Example
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲案例實(shí)戰(zhàn)全流程詳解(入門與提高篇)
- Instant Ext.NET Application Development
- SQL經(jīng)典實(shí)例(第2版)
- Cocos2d-x Game Development Blueprints
- C++編程兵書
- C語言程序設(shè)計(jì)實(shí)訓(xùn)教程與水平考試指導(dǎo)
- 多媒體技術(shù)及應(yīng)用