Chapter 1 How The Web Works
Chapter 1 How The Web Works
Chapter 1
1 Definitions and
History 2 Internet
Protocols
3
Client-Server
Model 4 Where is the
Internet?
5 Domain Name
System 6 Uniform Resource
Locators (URL)
Hypertext Transfer
7 Protocol
Randy Connolly and Ricardo Hoar Fundamentals of Web Development
Section 1of 8
DEFINITIONS AND HISTORY
Randy Connolly and Ricardo Hoar Fundamentals of Web Development
Internet = Web?
The answer is no
Sender
address
Original message
broken into
Original message
reassembled from
packets
Also in late 1994, Berners-Lee helped found the World Wide Web
Consortium (W3C), which would soon become the international
standards organization that would oversee the growth of the
web.
This growth was very much facilitated by the decision of CERN to
not patent the work and ideas done by its employee and instead
left the web protocols and code-base royalty free.
Firewall
Public can
access public
Customers and corporate web system.
partners might be able to
access internal system.
0 Browser
displays files
0
• ..,
8• Browser
displays files
8 Server recognizes
that it must run a
dynamic script that
is on its hard drive.
0 Server "sends"
generated HTML
and the image
file t o user.
) Server executes
or interprets
0 Scripts
EJ the script.
"outputs" HTML
vacation.php
The link layer is the lowest layer, responsible for both the
physical transmission across media (wires, wireless) and
establishing logical links.
It handles issues like packet creation, transmission,
reception and error detection, collisions, line sharing and
more.
1..---
CI0'-
1Pv4
M
address
. .. . -
IP: 22.15.216.13
10'-
. . . Doldc;.._
- 0k l S .. .
All r i g h u
reserved.
W1ndo..s I P Conhguration
IP: 192.168.123.254
IPAddre s s
192.168.123.254
8 - 16 bit components
1Pv6
(128 bits)
2 128 addresses
3fae:7a10:4545:9:291:e8ff:fe21:37ca
Test server
Patch panel
Production w eb server
RAID HD arrays
Patch pane l
Production w eb server
Air conditioning
'--.
Backup
generators
UPS (batteries)
0 What'sthe
IP address of
Here it is,
it's: 66.147.244.79
0 Here it is ...
serverl.www.funwebdev.com
t
Fourth-Level Domain
t
Second-Level Domain (SLD)
HTTP/1.1 200 OK
Date: Mon, 22 Oct 2012 02:43:49 GMT
Server: Apache
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 4538
Connection: close
Content-Type: text/html; charset•UTF-8
<html>
<head> ...
Artist: Picasso
Year : 1906
1 . . . . - - - - - - - - '
Web server
<a href="SomePage.php ">Hyperlink</a>
3 Client-Server
Model 4 Where is the
Internet?
5 Domain Name
System 6 Uniform
Resource
Locators (URL)
7 Hypertext
Transfer Protocol
(HTTP)
Randy Connolly and Ricardo Hoar Fundamentals of Web Development