Cs-344: Web Engineering: Dr. Qaiser Riaz
Cs-344: Web Engineering: Dr. Qaiser Riaz
Outline
• Web Engineering (3+1)
• Course Objectives
• Course Contents
• Course Assessment
Appr. 54.5b US $
E-COMMERCE IN
PAKISTAN
9
Motivation
WORLD WIDE WEB &
INTERNET
World Wide Web & Internet
• The internet is a network of computer networks worldwide
• The web is a tool used to retrieve information published on the
internet
• To navigate the web we use a web browser i.e. Firefox, Edge,
Chrome, Safari, …
15
• Web Browsers
• Google Chrome
• Mozilla Firefox
• Microsoft Edge
• Apple Safari
• Others (Opera, Lynx)
• …
Accessing a Website
Internet
connection
• Syntax
scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]
24
scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]
Type Content
Scheme http
User None
Password None
Host seecs.nust.edu.pk
Port 80 [default port]
Path Departments/Department-of-Computing/Degrees-
Offered/BSCS/index.php
Query None
Fragment None
25
scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]
Type Content
Scheme https
User None
Password None
Host www.google.com.pk
Port default port [80]
Path search
Query q=nust
Fragment None
26
scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]
Type Content
Scheme https
User None
Password None
Host www.google.com.pk
Port default port [80]
Path search
Query q=nust
Fragment top
27
IP addresses
• IP addresses can be
• Permanent also called static or
• Temporary also known as dynamic
DNS Hierarchy
33
DNS
34
PK …………….. FR UA US
Library Sub-domain
PROTOCOL STACK
36
Internet Protocol
• In order to send a message from one computer to
another, Protocols are used
Protocol Stack
Computer A Computer B
Application Layer Application Layer
(Telnet, HTTP, FTP, (Telnet, HTTP, FTP,
SMTP, SSL etc.) SMTP, SSL etc.)
Transport Layer Transport Layer
(TCP, UDP, …) (TCP, UDP, …)
Network (Internet) Layer Network (Internet) Layer
(IP, ICMP, IPsec, …) (IP, ICMP, IPsec, …)
Physical (Link) Layer Physical (Link) Layer
Complete Packet
IP Header ( 20 bytes )
Application
Layer
Data
51
• FTP 20/21
• Telnet 23
• SMTP 25
• DNS 53
• HTTP 80
• POP2 109
• POP3 110
• SFTP 115
• IMAP 143
• HTTPS 443
52
Summary
• World wide web and internet
• Protocol Stack