Professional Documents
Culture Documents
Slide 1
CHAPTER 1:
Web Essentials
Topics covered:-
Hypertext Transport Protocols
HTTP Request Message
HTTP Response Message
Web Clients
Web Servers
1.1 HTTP
• Protocol is a set of rules for exchanging data.
• HyperText Transport Protocol (HTTP) – is a protocol used
by the web.
• HTTP supports for client requesting document from a
server and server returning the requested document to
client.
• http://scheme
• Uses port 80 by default
• Most recent (and common) version is HTTP/1.1
1.2 HTTPS
• Hypertext Transfer Protocol Secure
• https:// scheme
• Uses port 443 by default
• Combines HTTP with Secure Socket Layer/Transport Layer
Security (SSL/TLS) for encryption
Web Pages
Static Dynamic
Web Pages Web Pages
2 Client requests
web page
5 Client processes
HTML and displays
content
Client
AMIT 2043 Web Systems and Technologies
Chapter 1: Web Essentials Slide 22
Web Pages
Has processing power.
Has dynamic response.
Static Dynamic
Has functionality. Web Pages Web Pages
Example:
KTAR’s homepage
Online newspapers (The Star Online, Sin Chew Online, etc)
Online articles (Engadget, Lifehacker, etc)
AMIT 2043 Web Systems and Technologies
Chapter 1: Web Essentials Slide 27
Examples:
TARUC’s College E-Learning portal
Web-based office suite (Google Docs, Office Web Apps, etc)
Web-based email (Gmail, Hotmail, etc)
Static Dynamic
Web Pages Web Pages
Client-Side Server-Side
Dynamic Dynamic
Web Pages Web Pages
AMIT 2043 Web Systems and Technologies
Chapter 1: Web Essentials Slide 29
2 Client performs
processing
5 Client processes
instructions and
2 Client requests turns them into
web page
HTML
6 Client processes
HTML and displays
Client content
AMIT 2043 Web Systems and Technologies
Chapter 1: Web Essentials Slide 32
2 Request
server to
1 User clicks
button process
ROUNDTRIP 3 Server
performs
5 Result processing
displayed
on page Client 4 Response to Server
client with
result
2 Client requests
web page
6 Client processes
HTML and displays
content
Client
AMIT 2043 Web Systems and Technologies
Chapter 1: Web Essentials Slide 35
Client-Side Server-Side
Dynamic Dynamic
Web Pages Web Pages
Question:
Server-side programming technology is said to be more
powerful than client-side programming technology. Thus,
can we totally eliminate client-side programming
technology?
Question:
Server-side programming technology is said to be more
powerful than client-side programming technology. Thus,
can we totally eliminate client-side programming
technology?
Summary
This chapter served as a basis for web developer to
understand how web client and web server
communicates with each other via HTTP.
It also introduces types of technologies available in
building interactive web client and server-side
programming languages used to build rich internet
Application (RIA) that talks to database for information
retrieval and updates.
In particular, this subject will cover jQuery, Ajax, HTML5
for client-side development while PHP and MySQL for
building dynamic and data-driven web application.
AMIT 2043 Web Systems and Technologies
Chapter 1: Web Essentials Slide 39
End of CHAPTER 1