World Wide Web Communication
WWW World Wide Web Communication
The World Wide Web is about communication between web clients and web servers. World Wide Web, which is also known as a Web, is a collection of websites or web pages stored in web servers and connected to local computers through the internet.
The World Wide Web (WWW), commonly known as the Web, is an information system where documents and other web resources are identified by Uniform Resource Locators (URLs, such as https://example.com/), which may be interlinked by hyperlinks, and are accessible over the Internet. The resources of the Web are transferred via the Hypertext Transfer Protocol (HTTP), may be accessed by users by a software application called a web browser, and are published by a software application called a web server.
Clients: are often browsers (Chrome, Edge, Safari), but they can be any type of program or device.
Servers: are most often computers in the cloud.
HTTP Request / Response
Communication between clients and servers is done by requests and responses;
- A client (a browser) sends an HTTP request to the web
- A web server receives the request
- The server runs an application to process the request
- The server returns an HTTP response (output) to the browser
- The client (the browser) receives the response
HTTP Request Circle
A typical HTTP request / response circle;
- The browser requests an HTML page. The server returns an HTML file.
- The browser requests a style sheet. The server returns a CSS file.
- The browser requests an JPG image. The server returns a JPG file.
- The browser requests data. The server returns data (in XML or JSON).