Introduction To Web Developement
Introduction To Web Developement
Development
Lecture 1
Course Goals
• A general understanding of the fundamentals of the
Internet and WWW
• Knowledge and experience with the major web
technologies
• Introduction to terms and acronyms
• Insight into what constitutes a well designed, usable
web application
Recommended reading
•Online references:
▫http://www.w3schools.com
▫http://howstuffworks.com
Web development
• Web development, also known as website
development, refers to the tasks associated with
creating, building, and maintaining websites and
web applications that run online on a browser. It
may, however, also include web design, web
programming, and database management.
A page
A page of text
of text A page
A page of text
of text A page
of text
A page
of text A page
of text
A page A page
of text of text
A page
of text
A page
A page
of text
of text
A page
A page A page
of text
of text of text
A page
of text
World Wide Web
HTTP Server Client
Apache Mozilla Firefox
MS IIS MS Internet
HTTP Explorer
HTML data
Internet Protocols
• Internet Protocols are a set of rules that
governs the communication and exchange
of data over the internet. Both the sender
and receiver should follow the same
protocols in order to communicate the
data. In order to understand it better,
let’s take an example of a language.
• HTTP stands for HyperText Transfer Protocol. Tim
Berner invents it. HyperText is the type of text that is
specially coded with the help of some standard coding
language called HyperText Markup Language (HTML)
• HTTP provides a standard between a web browser and
a web server to establish communication.
• It is a set of rules for transferring data from one
computer to another. Data such as text, images, and
other multimedia files are shared on the World Wide
Web.
• Whenever a web user opens their web browser, the
user indirectly uses HTTP
HTTPS
• HTTPS stands for HyperText Transfer
Protocol Secure. It is the most common
protocol for sending data between a web
browser and a website
Web Programmer’s Toolbox
• HTML
• CSS
• JavaScript
The Internet
A vast network
of networks
• Common servers
▫ Apache, Internet Information Server (IIS), Google Web
Server
Uniform Resource Locators
(URLs)
• Standard way of specifying entities on networks
• http:// www.mak.ac.ug
• ftp://
HTTP response
(HTML data)
HTTP Operation
• On the Internet HTTP usually uses TCP/IP
connections
• Contains
▫ the method to be applied to the data resource
▫ the identifier of the resource
▫ the protocol version in use
Example
GET /index.html HTTP/1.1
Host: www.mak.ac.ug
Accept: text/*
User-Agent: Mozilla/2.02Gold (WinNT; I)
HTTP Response
• Message generated by a server after receiving and
interpreting a request
• Responses contain:
▫ Status line with the protocol version, a status code,
and a “reason phrase”
▫ Response-Header (containing information about the
server)
▫ Entity Header (meta-information)
▫ Entity Body (data)
Response message
General response message structure
HTTP/version-number status-code message
Response-Header-Name-1: value
Response-Header-Name-2: value
Entity-Header-Name-1: value
Entity-Header-Name-2: value Example
HTTP/1.1 200 OK
[optional entity body] Server: Apache (Red-Hat/Linux)
Content-Type: text/html
Content-Length: 9934
<HTML>
<HEAD>
<TITLE>Department of IT</TITLE>
…
Some HTTP Status Codes
• 200 : OK
• 201 : Created
• 202 : Accepted
• 204 : No Content
• 301 : Moved Permanently
• 302 : Moved Temporarily
• 400 : Bad Request
• 401 : Unauthorized
• 403 : Forbidden
• 404 : Not Found
• 500 : Internal Server Error
• 503 : Service Unavailable
Web development IDEs
• --Find out