CHP NO1 Web Technology Hamid IBIT IP-1
CHP NO1 Web Technology Hamid IBIT IP-1
CHP NO1 Web Technology Hamid IBIT IP-1
Web Technology
CHAPTER 1
Internet Programming
03228463026
Course Aims
• To explain and demonstrate how to build static sites using client
side technologies such as
• HTML
• Cascading Style Sheets(CSS)
• JAVA Script
• To explain and demonstrate how to build dynamic sites using
server side technologies
• ASP.NET
• Database Connectivity
• Securing Sites
• Web Server
• Validation
• Performance
Course Contents
• Introduction
• HTML and XHTML
• Document Object Model (DOM)
• Cascading Style Sheets(CSS)
• Web servers management and Administration
• Web Forms and ASP/APSX Pages
• Server Side Controls
• Database Connectivity
• Validation
• Authentication and Authorization
• Session and state management
Grading
5
Quizzes 10%
Project 15%
Homework 5%
Mid exam 30%
Final exam 40%
Total 100%
Chapter 1
Objectives
1 Definitions and
History 2 Internet
Protocols
3 Client-Server
Model 4 Where is the
Internet?
4 - 8 bit components
IPv4
(32 bits)
232 addresses
192.168.123.254
8 - 16 bit components
IPv6
(128 bits)
2128 addresses
3fae:7a10:4545:9:291:e8ff:fe21:37ca
Transmission Control Protocol (TCP)
▪ TCP is a standard that
defines how to establish
and maintain a network
conversation by which
applications can
exchange data.
▪ TCP works with the
Internet Protocol (IP),
which defines how
computers send packets
of data to each other.
Internet = Web?
▪ The World-Wide Web (WWW or simply the
Web) is certainly what most people think of when
they see the word “internet.”
features.
A website is a collection of web pages.
Receive “document A”
Client Server
Request “document A”
Receive “document A”
Client Server
Server Server
Essential for Communication over the
Internet
• Authentication : is the process of determining
whether a computer / server is the computer that
it claims to be.
• This protocol not only ensures privacy, but also ensures that no
other website can impersonate the user’s login account not
alter the information sent.
• This server then returns the requested web page and displays it in
your device’s browser.
Domain Levels
Top Level Domain (TLD)
Third-Level Domain
server1.www.funwebdev.com
Step 3: If the recursive resolver does not find the website’s address, it
will send messages to other servers in the following hierarchy:
▪ DNS root name servers
▪ TLD or Top-level domain name servers
▪ authoritative name servers.
How does DNS work?
(A basic Step by Step Process)
Step 4: These three types of servers work simultaneously until they are
not able to get back a DNS record that has the website’s IP address. If
found, the information will be sent to the recursive DNS server and the
webpage will start loading.
Step 5: Here the recursive server tends to store A record that contains
the IP address of the website in the cache so that when it receives the
same request for the same website again, it can directly respond
rather than going through all the query processes through server types.
Step 6: In case the other server types unable to find the domain’s
address and the request reaches the authoritative server and is still not
able to find the information. It will return an error message such as
404 error not found.
DNS Overview
How the DNS searches and locates the IP
address of a domain name?
URL Components
• In order to allow clients to request particular
resources from the server, a naming mechanism is
required so that the client knows how to ask the
server for the file.
• For the web that naming mechanism is the
Uniform Resource Locator (URL).
http://www.funwebdev.com/index.php?page=17#article
• The content and layout of • The content and layout may change
web page is fixed during run time
4. This web page is then sent to the client browser and the
browser displays it
Comparison of the classifications of scripting
languages
Client side scripting Server side scripting
• Script is copied to the client • Script remains in the web server and is
browser and executed in the executed in the web server and the
client browser web page produced is returned to the
client browser
• Client side scripts are mainly used
for validation of data at the • Server side scripts are usually used to
client connect to database and return data
from the web server
• Users can block client side
• Server side scripting cannot be
scripting
blocked by the user
• The type and version of the web
• The features of the web browser does
browser affects the working of a
not affect the working of server side
client side script
script
Scripting Languages
Some of the popular scripting languages are given
below:
• JavaScript
• VB Script
• PHP (Hypertext PreProcessor)
• ASP (Active Server Pages)
• JSP (Java Server Pages)
Cascading Style Sheet (CSS)
1 Definitions and
History 2 Internet Protocols
3 Client-Server Model
4 Where is the
Internet?
7 Hypertext Transfer
Protocol (HTTP) 8 Web Servers