You are on page 1of 38

How the Web Works

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Randy Connolly and Ricardo Hoar Fundamentals of Web Development
Objectives
1 Definitions and
History 2 Client-Server
Model

3 Domain Name
System 4 Uniform Resource
Locators (URL)

5 Hypertext Transfer
Protocol (HTTP) 6 Web Servers

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


DEFINITIONS AND HISTORY
Randy Connolly and Ricardo Hoar Fundamentals of Web Development
Internet = Web?
The answer is no

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Tim Berners-Lee
I meant Sir Tim Berners-Lee

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Core Features of the Web

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Web Server Basics

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Static Web Sites
Partying Like It’s 1995

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Static Web Sites

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Dynamic Web Sites

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Dynamic Web Sites

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


CLIENT-SERVER MODEL
Randy Connolly and Ricardo Hoar Fundamentals of Web Development
Client-Server Model
What is it?

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Request-Response Loop

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Section 5 of 8
DOMAIN NAME SYSTEM (DNS)

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


TCP/IP

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Internet Protocol (IP)

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


IP Addresses
Two types

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Domain Name System
Why do we need it?

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


DNS Overview

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Domain Levels

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


UNIFORM RESOURCE LOCATORS (URL)

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


URL Components

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Query String

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


HYPERTEXT TRANSFER PROTOCOL
(HTTP)
Randy Connolly and Ricardo Hoar Fundamentals of Web Development
HTTP

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


HTTP

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Web Requests

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Browser parsing HTML and making
subsequent requests

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


HTTP Request Methods

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


GET versus POST requests

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Browser Tools for HTTP

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


WEB SERVERS
Randy Connolly and Ricardo Hoar Fundamentals of Web Development
Web Servers

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


Web Stack

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


LAMP Software Stack

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


WISA software stack

Randy Connolly and Ricardo Hoar Fundamentals of Web Development


What You’ve Learned
1 Definitions and
History 2 Client-Server
Model

3 Domain Name
System 4 Uniform Resource
Locators (URL)

5 Hypertext Transfer
Protocol (HTTP) 6 Web Servers

Randy Connolly and Ricardo Hoar Fundamentals of Web Development

You might also like