Chapter 1 - Overview of An Internet and WWW
Chapter 1 - Overview of An Internet and WWW
Terms
• Web server –
A Web server is a piece of computer software that can respond to
a browser's request for a page, and deliver the page to the Web
browser through the Internet
• Hypertext –
Hypertext is text which contains links to other texts. that related items of
information are connected
• Text that, when clicked, sends you to another piece of text or location
• Internet Service Provider (ISP)
• A company that provides dial-in or some other type of access to the Internet for
a monthly fee
• Uniform Resource Locator (URL)
An address on the Internet, such as http://www.inu.edu.et, which enables
computers and other devices to visit it.
Overview of Internet
6
Browser sends a GET request to the server, asking for the file
"http:// www.yahoo.com/index.html".
The server then sends the HTML text for the Web page to the browser
The documents in the WWW can be grouped into three broad categories: static,
dynamic, and active. The category is based on the time the contents of the document
are determined
• Static Documents
simple it refers to static HTML documents
A static web page displays the same information for all users, from all
contexts or subject making customization impossible.
• Dynamic Documents (server side)
referred to server-side dynamic documents.
e.g. Dynamic HTML documents,
an be customized according to the need of the user!
When a request arrives the web server runs an application program that
creates the document
• Active Documents (client side)
sometimes referred as client-side dynamic documents
the server sends to the browser and that the browser must run locally.
When it runs, the active document program can interact with the user and
change the display continuously.
World Wide Web
13
Static document
Dynamic document using CGI
14
A Web Browser acts as an interface between the user and the Web server and
it carries out the following on behalf of the user
Contacts a web server
Sends a request for information
Receives the information and
Displays it on the user's computer
How Does a Web Server Accept Connections?
Accept network connections from browsers
Retrieve content from disk
Run local CGI programs
Transmit data back to clients be as fast as possible
Support multi-threading and multi-processing
Uniform Resource Locators (URLs)
23
IP address
Port – identifies the port number of the web server software on the web server machine
Default port for http: 80
Path – identifies the name and path of the resource on the server
Query – specifies parameters, if any, that should be sent to the server along with the
request
has the form: ?var_name1=value1&var_name2=value2&…
Cont’d….
24
aero - Airlines
biz - Businesses
coop - Cooperatives
info - Anyone
museum - Museum
name – Individuals
Client-Server Architecture
27
Clients
Servers
Client-Server Architecture
28
server layer
expanded functionality
database connectivity
user authentication and sessions
perhaps multi-threading
client layer (web browser)
web
web server database/
browser and file system
programs
Client-Server Architecture
30
multi-tier architecture
middleware
Client-side
The client is the system on which the Web browser is
running.
JavaScript is the main client-side scripting language
Server-side
The server is where the Web page and other content lives.
The server sends pages to the user/client on request.
The process is:
the user requests a Web page from the server
Thank You
see you next class!