Web Tech Week 1
Web Tech Week 1
Spring 2024
The
Golden
Circle
INTRODUCTION AND RULES
THE NEXT 20 SLIDES ARE BARROWED FROM THE TIME LANDERS.
3-7
● Mobile/cell phones
Answer immediately
Please wait
Meet with trainer (one on one)
Hold on
Don’t know the answer
Two Functions of the Brain
Source: https://en.wikipedia.org/wiki/Client%E2%80%93server_model
Clients and Servers
● Clients:
○ Which request a resource from the internet
○ Use desktops, laptops, mobile phones, gaming consoles, android tv’s,
smartwatches, etc..
○ Which tool to send this request?
○ Client-Side Technologies are used here…
● Servers
○ Which responds to the request of clients and provide resources
○ A powerful server machine, database engine, etc…
○ Server-Side Technologies are used here…
HTTP
● Hypertext Transfer Protocol
● HTTP makes use of TCP to open connections between clients and servers
and to pass the requests and responses between them.
● When a user clicks a link or types a web address:
○ A TCP connection is opened between browser and server
○ Then requests and responses are sent back and forth using HTTP
● HTTP is a stateless protocol, meaning each request for data is dealt with
in isolation; once the server sends the response, it forgets everything
about the original request.
URLs
● Uniform Resource Locators
● Without a universal addressing mechanism, it would be impossible to
navigate to a site, and page linking would not be feasible
● Uniform Resource Locators (URLs) are used to identify Web pages —
basically a URL is a web address
● URLs have 3 components:
○ A Prefix (usually https:// )
○ A Hostname: (such as www.umt.edu.pk)
○ A Path: (such as /org./Academic-Calendar.aspx/)
URL - Example
https://www.umt.edu.pk/org/Academic-Calendar/Academic-Calendar-2022-23.aspx
https://www.nadra.gov.pk/local-projects/identity-management/biometric-verification-
services-2/
https://www.daraz.pk/mens-t-shirts/?spm=a2o2r4.tm800126319.cate_3.1.31f54fa8togK
GR
IP Address and DNS
● Every computing machine connected to the Internet must have a unique IP
address, no matter whether it’s a client or a server (or both)
● An IP address is just a number that identifies a host on the Internet. Example:
212.171.218.34 or 144.214.5.218
● The Domain Name System (DNS) is a database that matches IP addresses to
host names
● Domain Name System (DNS) translates host names into IP addresses, which
are then used by TCP to establish connections between HTTP clients and
servers.
● Domain names are administered in such a way that they are guaranteed to be
unique.
Top-level domains
TLD:
● www.nadra.gov.pk
Usually Country’s Initials
● www.daraz.pk .uk, .pk, .ae, us, .in etc
● www.cam.ac.uk Generic Top-level Domains:
● www.google.com.pk .com, .org, .net, .info,
● www.facebook.com
● www.instagram.com
Registering domain name
● You need to register your website’s domain name
○ Keeping it unique
● Or use Hosting services
○ Paid mostly
○ free domain hosting services as well
● Domain registration is separate from the hosting services
That’s all for today…!