Web Overview
Web Overview
Internet:
“Global network of interconnected computers and servers that communicate with each other
using standardized protocols.”
Key Features:
Benefits:
o Global connectivity
o Access to information
o Improved Communication
o Economic Opportunity
o Education and learning
WWW:
“World Wide Web is a system of interlinked hypertext documents accessed via the internet.”
Key Features:
WWW Applications:
An application program stored on a remote server and delivered over the internet using
browser as an interface.
Web browsing
E-commerce
Online education
Online banking
News and Media
WWW Technologies:
The means by which computer communicate with each other using markup languages
and multimedia packages.
HTML
CSS
JavaScript
Responsive Web design
Mobile – first Design
HTTP: Hypertext Transfer Protocol handles a communication between a web server and
a web browser.
HTTPS: HTTP Secure handles secure communication between web server and web
browser.
FTP: File Transfer Protocol handles transmission of files between computers.
DNS: Domain Name System translate the Domain Names into IP addresses
SMTP: Simple Mail Transfer Protocol used for email communications and is responsible
for transmission of emails between mail servers.
UDP: User Datagram Protocols is a communication less protocol that offers faster but
less dependable data delivery and widely used in real-time applications such as video
streaming and online gaming.
2- HTTP/HTTPS
A request-response protocol used for transferring data, including web pages over the
internet.
Foundation of world wide web used to load web pages using hypertext links.
Application Layer (Layer 7) protocol designed to transfer information between
networked devices
Uses TCP/IP for transmission data
Key Features:
Client-server architecture
Request- response modal
Stateless protocol
Supports multiple request methods (GET, POST, PUT, DELETE)
Communication between client and server is done by http request and response cycle.
A client (usually browser) sends HTTP request to the web server that receives the request and
processes it. And then sends the http response to the requested URL.
URL: https://davisgitonga.dev/static/images/request-response-cycle/banner.png
The body of an HTTP request contains any information being submitted to the web
server, such as a username and password, or any other data entered into a form.
HTTP headers contain text information stored in key-value pairs, and they are included in
every HTTP request.
These headers communicate core information, such as what browser the client is using and what
data is being requested.
An HTTP response is what web clients (often browsers) receive from an Internet server in
answer to an HTTP request.
Key Aspects Web Browser Web Service Web Hosting / Web Server
Virtual Hosting
Definition A software Software Service providing Software or
application for applications storage and hardware serving
accessing and providing specific accessibility for web content.
viewing web pages. functionality over websites.
the web.
Purpose Retrieves and API based Servers store and Hosts and serves
displays web interfaces for data serve website files websites, web
content from exchange. applications, and
servers. web services
Example Google, chrome, Google Maps, Wordpress.com Apache, Nginx, IIS
Firefox, opera, Twitter API, PayPal Google sites
safari GitHub pages
Functionality Client-side, Server-side, Storage and Serves web
accesses web provides specific accessibility for content, hosts
content functionality websites websites
Relationships Web browser Web services Web hosting Web server hosts
request content integrate with web provides storage web services and
from web server applications and for web servers websites
websites
Types Windows Browser RESTful API Shared hosting, Apache HTTP
Linux Browsers SOAP Dedicated server.
Android Browser GraphQL hosting, Nginx
IOS Browser Microservices Virtual private Microsoft IIS
macOS Browser SOA (Service – Server (VPS), Glassfish
Oriented Cloud hosting Lighttpd
Architecture
Languages / HTML, CSS, XML format Bash, Shell, PHP, Java, .Net,
Format JavaScript JSON format PowerShell, Python
languages used Python
Definition:
“A method of hosting multiple domain names or websites on a single physical server or virtual
private server (VPS), sharing resources such as IP addresses, memory and processing power.”
Benefits:
Cost-effective
Scalability
Flexibility
Easy maintenance
Environmentally friendly
Key Features:
Resource allocation
Security isolation
Scalability
Flexibility
Management tools to manage websites
Note: Web Service is explained in the previous block (API-based interface for data exchange)