Professional Documents
Culture Documents
LECTURE 01 Web Fundamentals 19022024 040528pm
LECTURE 01 Web Fundamentals 19022024 040528pm
1
Who am I?
“
Engr. Ambreen Akram
Senior Lecturer, Department of Computer
Science
MS(SE) Bahria University
BE(CIS) NED University of Engineering and
Technology
E-mail: ambreenakram.bukc@bahria.edu.pk
Office: Faculty Room#01(AI-Lab)
Course Objectives
➢ Main
1. Programming the world wide web by Robert W.
Sebesta. 7th Edition , 2014
➢ References
1. Developing Web Applications, Ralph Moseley M.T.
Savaliya, second Edition, 2013
2. HTML5 covers CSS3, javascript,XML,XHTML,Ajax
,PHP, jQuery the black book , second edition ,
2016
3. Programming with Javascript by John David
Dionisio (2013)
The Course will Cover…
Understandings and learning the languages for
developing a web application
▪ Web fundamentals
▪ Html5 , XHtml ,DHtml
▪ CSS3
▪ JavaScript
▪ JQuery
▪ PHP
▪ MVC with PHP
▪ Data connectivity
▪ Web security
▪ Web services
Course Policy
➢ Attendance
➢ Homework (Assignments)
Assessment Criteria
○ Mid – Term 20%
○ Final Exam 50%
○ Quizzes 10%
○ Class Assignments/Team Project 20%
Quizzes and Assignments
❑Quiz- 4 quizzes
◼ 2 before mid term
◼ 2 after mid term
❑Assignment- 4 assignments
◼ 2 before mid term
◼ 2 after mid term
Lecture Outline
➢ Web engineering
➢ Web applications
➢ Web Browser
➢ Internet
➢ Web Server
➢ Application Server
➢ Database Serve
➢ Web browser
➢ HTTP-Request/Response
➢ Web Architecture
➢ Client side VS Server side Scripting
WEB ENGINEERING
WWW.GOOGLE. COM
Host Domain
Name Name
TOP LEVEL DOMAINS
Network Models
➢ OSI Model
OSI model prescribes the steps
needed to transfer data over a
network and it is very specific in
it, defining which protocol is
used at each layer and how.
➢ TCP/IP Model
TCP/IP Model-Transition Control
Protocol/Internet Protocol
➢ A protocol is a set of rules that governs the
communications between computers on a network.
➢ The TCP/IP model was created in the 1970s by the
Defense Advance Research Project Agency (DARPA).
Like the OSI model.
➢ It consists of four layers: Network Access, Internet,
Transport, and Application.
TCP/IP Model
➢ Application Layer
The application layer is concerned with providing network services
to applications. There are many application network processes
and protocols that work at this layer, including HTTP, SMTP and
FTP.
➢ Transport Layer
This layer is concerned with the transmission of the data. The two
main protocols that operate at this layer are TCP and UDP(User
Datagram Protocol).
TCP/IP Model
➢ Internet Layer
This is the layer that contains the packet construct that will be
transmitted. This takes the form of the Internet Protocol (IP) which
describes a packet that contains a source IP Address, destination
IP Address and the actual data to be delivered.
➢ Network Layer
Link layer is lowest layer that is responsible for the physical
transmission across the media and logical links.it handles issues
like packet creation, transmission, error detection, reception and
more.
OSI Model-Model-Open Systems
Interconnection
1. Application-The layer provides a means for the user
to access information on the network through an
application. This layer is the main interface for users to
interact with the application and therefore the network.
2. Presentation-The role of this layer is to convert incoming
and outgoing data on the network into a readable
presentation format.
3. Session-defines how to establish and terminate a
session between the two systems.
4. Transport-used for managing the packages of data and
the delivery of these packets to the correct location.
5. Network- used for creating the address and the route
of the data, this therefore ensures that the information
gets to the right place.
1. HTTP is Connectionless
After a request is made, the client disconnects from the
server and waits for a response. The server must re-
establish the connection after it processes the request.
2. HTTP is Media Independent
Any type of data can be sent by HTTP as long as both
the client and server know how to handle the data
content.
3. HTTP is Stateless
This is a direct result of HTTP being connectionless.
The server and client are aware of each other only
during a request. Afterwards, each forgets the other.
For this reason neither the client now the browser can
retain information between different requests across the
web pages.
Working
➢ A browser contacts a server to establish a
TCP connection with it.
➢ The HTTP software on the client sends a request to the
server. The HTTP software on the server interprets this
request and sends the response to the client.
➢ HTTP Commands:
❑ GET : Request by a client to obtain a web page from
the server.
❑ PUT : Request by a client to store a web page on the
server.
❑ POST : Request by a client to update contents of a web
page on the server.
❑ DELETE: Request by a client to remove a web page
from the server.
Multitier Applications Architecture
Web-based applications are often multitier applications
(sometimes referred to as n-tier applications) that divide
functionality into separate
Presentation Tier (Top Tier)
The top-most level of the application is the user interface. The
main function of the interface is to translate tasks and results
the something that user can understand(GUI)