Professional Documents
Culture Documents
Web Essentials Part 1.1
Web Essentials Part 1.1
Web Essentials
Content
• Client, Server and Communication
• The Internet
• Example: Practo.com
•Requests:
Client, Server
Requests are sent from the client in order to ask the server for
and Communication
some data like files, or tell the server about things that happen,
like that a user wants to login with his credentials
•Response:
A response is sent from the server to the client and is the reaction
of the server to a request of the client. This could for example be
an authentication result.
•Service:
•A Service is a specific task that the server provides for the client
to use, like downloading image
History of The Web
• The project of US Department of Defense in 1960 known as
Background
How to communicate between these Networks???
What is a network ?
INTER NETWORK
• Group of interconnected computer system
Definition:
Fundamental Protocols
1.IP (Internet Protocol)
2.TCP (Transmission Control Protocol)
3.UDP(User Datagram Protocol)
•)
• The function of IP software: To transfer data from one
computer (the source) to another computer (the destination)
Basic Internet
Protocols • Key Element: IP Address
What is IP Address?
• 32 bit Number
IP (Internet Protocol)
6. The gateway will select a computer on one of the other networks
to which it is attached and send the packet on to that computer.
7. This process will continue, with the packet going through perhaps
a dozen or more hops, until the packet reaches the destination
computer.
8. IP software on that computer will receive the packet and pass its
data up to an application that is waiting for the data.
• Route: The sequence of computers that a packet travels through
Basic Internet from source to destination
Protocols
• Routing Protocol: Selecting efficient Route i.e., connectivity
information between gateways
IP (Internet Protocol)
• The current standard is BGP-4, the Border Gateway Protocol)
How data is transferred?
• Checksum: Error detection information with each packet it
Connection Establishment
• TCP provides reliable data transmission by demanding an
Basic Internet acknowledgment for each packet it sends via IP.
Protocols
• The software sets a timer after sending each packet.
Domain Name Service • UDP is efficient for DNS as it requires only one
message (TCP consumes three messages)
3.Telnet
• It is used to execute commands typed into one
computer on a remote computer
• Telnet can also be used to communicate directly (via
keyboard entries) with some TCP-based applications.
Basic Internet • The protocol which is to be used to communicate over a
Protocols
TCP connection is normally determined by the port
number used to establish the connection.
Higher Level Protocols
• The primary TCP-based protocol used for
communication between web servers and browsers is
called the Hypertext Transport Protocol (HTTP).