Web Technologies Lecture No 1
Web Technologies Lecture No 1
1.On the hardware side, a web server is a computer that stores web
server software and a website's component files (for example, HTML
documents, images, CSS stylesheets, and JavaScript files). A web server
connects to the Internet and supports physical data interchange with
other devices connected to the web.
Web Servers
2. On the software side, a web server includes several
parts that control how web users access hosted files. t a
minimum, this is an HTTP server. An HTTP server is
software that understands URLs (web addresses) and
HTTP (the protocol your browser uses to view webpages).
An HTTP server can be accessed through the domain
names of the websites it stores, and it delivers the
content of these hosted websites to the end user's
device.
Web Servers
• A static web server, or stack, consists of a computer
(hardware) with an HTTP server (software). We call it
"static" because the server sends its hosted files as-is to
your browser.
• A dynamic web server consists of a static web server
plus extra software, most commonly an application
server and a database. We call it "dynamic" because the
application server updates the hosted files before
sending content to your browser via the HTTP server.
Protocol of Web
• Internet Protocol (IP) is the method or protocol by which
data is sent from one computer to another on the
internet. Each computer -- known as a host -- on the
internet has at least one IP address that uniquely
identifies it from all other computers on the internet.
Types of Protocols used in Web
1. TCP/IP(Transmission Control Protocol/ Internet
Protocol):
These are a set of standard rules that allows different
types of computers to communicate with each other. TCP
specifies how data is exchanged over the internet and
how it should be broken into IP packets. It also makes
sure that the packets have information about the source
of the message data, the destination of the message
data, the sequence in which the message data should be
re-assembled, and checks if the message has been sent
correctly to the specific destination. The TCP is also
known as a connection-oriented protocol.
Types of Protocols used in Web
2. SMTP(Simple Mail Transfer Protocol)
These protocols are important for sending and
distributing outgoing emails. This protocol uses the
header of the mail to get the email id of the receiver and
enters the mail into the queue of outgoing mail. And as
soon as it delivers the mail to the receiving email id, it
removes the email from the outgoing list. The message
or the electronic mail may consider the text, video,
image, etc
Types of Protocols used in Web
3. PPP(Point-to-Point Protocol)
It is a communication protocol that is used to create a direct
connection between two communicating devices. This protocol defines
the rules using which two devices will authenticate with each other and
exchange information with each other. For example, A user connects his
PC to the server of an Internet Service Provider and also uses PPP.
Types of Protocols used in Web
4. FTP (File Transfer Protocol)
This protocol is used for transferring files from one system to the other.
This works on a client-server model. When a machine requests for file
transfer from another machine, it sets up a connection between the
two and authenticates each other using their ID and Password. And, the
desired file transfer takes place between the machines.
Types of Protocols used in Web
5. SFTP(Secure File Transfer Protocol)
SFTP encrypts files and data then sends them over a secure shell data
stream. This protocol is used to remotely connect to other systems
while executing commands from the command line.
6. HTTP(Hyper Text Transfer Protocol)
This protocol is used to transfer hypertexts over the internet and it is
defined by the www(world wide web) for information transfer. This
protocol defines how the information needs to be formatted and
transmitted.
Types of Protocols used in Web
7. HTTPS(HyperText Transfer Protocol Secure)
HTTPS is an extension of the Hypertext Transfer Protocol (HTTP). It is
used for secure communication over a computer network for
encryption and authentication. So, generally, a website has an HTTP
protocol but if the website is such that it receives some sensitive
information such as credit card details, debit card details, OTP, etc then
it requires an SSL(Secure Socket Layer) certificate installed to make the
website more secure. So, before entering any sensitive information on a
website, we should check if the link is HTTPS or not. If it is not HTTPS
then it may not be secure enough to enter sensitive information.
HTML(Hypertext Markup
Language)
• HTML stands for Hyper Text Markup Language
• HTML is the standard markup language for creating Web pages
• HTML describes the structure of a Web page
• HTML consists of a series of elements
• HTML elements tell the browser how to display the content
• HTML elements label pieces of content such as "this is a heading",
"this is a paragraph", "this is a link", etc.
CSS(Cascading Style Sheet)
• CSS stands for Cascading Style Sheets
• CSS describes how HTML elements are to be displayed on screen,
paper, or in other media
• CSS saves a lot of work. It can control the layout of multiple web
pages all at once
• External stylesheets are stored in CSS files
• It is used to define styles for your web pages, including the design,
layout and variations in display for different devices and screen sizes.
PHP (Hypertext Preprocessor)