WWW is based on which model
WWW or World-Wide Web or W3 is a wide-area hypertext-based information retrieval system intending to provide extensive access to a vast universe of data.
WWW is a method of browsing all the online data present on the Internet. The users can seamlessly access the large universe of documents present on different websites from any corner of the world across the Internet with the help of their electronic devices such as computers, desktops, MacBooks, smartphones, etc.
This tutorial will briefly cover all the details related to the model on which WWW (World Wide Web) is based upon. If you want to learn regarding the definition and components of WWW in details refer to What is World Wide Web?
Basic World-Wide Web Model
World-Wide Web or WWW is created on the basic model of client-server concept and hypertext data objects. (You can refer to the pictorial diagram of the above model in the figure given below). With time, the WWW model has been expanded from a client-server application to a general resource accessing model.
The above model indicates the initial concept of WWW represented in the HTTP Protocol (with a version of 0.9) and HTML applications (with a version of 1.0). However, the World Wide Web specs have been quickly developing during the last few years, even though the latest WWW approach is still based on a client-server model.
Because the model is based on HTML and HTTP-based approaches, therefore WWW can handle virtually any information format present on the Internet with the help of a comprehensive collection of access methods aside from HTTP, unlike Telnet, FTP, Gopher WAIS, etc. In simple terms, the World-Wide Web works as a generic data interchange device to access data available across the Internet.
Before moving to the latest advanced model of the World-Wide Web, it is necessary to cover all the vital components present in the WWW model. The brief explanation of all the elements present within the World-Wide Web concept is given below:
1. The Client
In the above flowchart, the client represents the user's interface that generates request to the server. The user interface remains consistent and works in the same manner with any form of service requested. Therefore users do not require to learn the variations between the many different access systems used every day on the Internet. The concept of the client model works with the same approach as other popular software's, unlike Microsoft Windows, Machintosh, etc., where the user is constantly presented with the corresponding Graphical User Interface (GUI interface).
2. Uniform Resource Identifier or URI
Every data object present over the internet has some associated address or a namespace linked with it that holds information about hosts and all the sources present on each host. The WWW model describes URIs as a generic syntax for encoding the namespace and addresses of information types on the web and it also defines the process to access them. The model of URIs includes.
3. The Server
The primary application of the server is to handle all the requests sent from the user. It can either be a locally accessible device or ask for the request file or data from another server; in this scenario, the initial server temporarily acts as a client.
4. Hypertext Transport Protocol HTTP
HTTP or Hypertext Transport Protocol is a comprehensive stateless layer protocol containing the same components as other Internet layer protocols. The HTTP protocol is also designed on the client-server application model, where the server provides quick responses wherever the client generates any request.
The basic model of HTTP protocol format is designed on the guidelines of MIME Protocol with an assemblage of HTTP Headers likely supported by a message body holding a data object in any 7-bit or 8-bit received by the user interface. The user decides what format it can handle from the default list of standard headers in the request. The latest HTTP version (1.0) is designed and developed on the roots of the TCP Protocol. TCP is a connection oriented protocol that provides a 3 way handshake connection formation.
The primary WWW model represents that the client is responsible for initiating a request. Further, the server handles that request and responds to it by sharing the respective data object back to the client. The client usually needs to post a data object to the server, for example, sending an email, creating a new file, or posting a newsgroup on the remote server. HTTP protocol offers two methods to transfer your data object from the client's device to the server. However, there is no surety that the request will be successfully made or not (not even on a successful return code) as the action can be canceled anytime by the accountable person of the remote server.
One of the HTTP protocol features is that it is a superset of the other Layer backed by the World Wide Web model. It indicates that the HTTP protocol can handle data objects produced by other protocols by binding them with various HTTP/MIME headers around the object. Therefore it is a vital feature for the notion of Proxy servers.
5. Hypertext Markup Language
HTML or Hypertext Markup language is defined as a users' interface language used to generate information on WWW (World-Wide Web). It is a hypertext markup language that supports the easy flow of communication over the network. Though, it is not mandatory to story the files within HTML. The servers can also store the document types in any format and then create its HTML type whenever it receives any file request from the client. Therefore we can conclude that it stores the documents virtually instead of static documents. HTML is widely used over the internet to represent the following:
HTML is designed on the International Standard ISO 8879 Standard Generalized Markup Language (SGML) guidelines. SGML is a platform for describing structured data objects and markup languages to signify occurrences of the data objects or document type. Therefore HTML is also a Document Type Definition (DTD) applied on top of an SGML (Standard Generalized Markup Language) parser.
Advanced World-Wide Web Model
The current WWW model is very interactive but is also designed on a client-server concept. The latest model is a generic resource exchange-based approach. The latest model allows the client to post data to the server (if the requested server also enables this service). In contrast, in the earlier model, the client has limited data flowing options, and it was mainly done from the server to the client. Furthermore, it has also introduced various data transfer formats in the message body ranging from 7-bit ASCII data to 8-bit binary data. In this model, any protocol can (supported by WWW) transfer source. Still, the prime protocol used in this model is HTTP, as it can be further applied to encapsulate the other protocols.