THE WWW: (Keeping You Up All Night Before Exams, Since 1991)
THE WWW: (Keeping You Up All Night Before Exams, Since 1991)
WWW
(KEEPING YOU UP ALL NIGHT BEFORE EXAMS, SINCE 1991)
The World Wide Web (WWW) is a repository of information linked together from points all
over the world.
The WWW has a unique combination of flexibility, portability, and user-friendly features that
distinguish it from other services provided by the Internet.
The resources of the WWW may be accessed by users by a software application called a web
browser.
ARE INTERNET AND WWW
SAME?
INTERNET refers to the vast networking infrastructure that connects millions of computers
across the world and The Internet includes a lot that is not necessarily the Web.
THE WORLD WIDE WEB is the worldwide collection of text pages, digital photographs,
music files, videos, and animations, which users can access over the Internet. The Web uses
the HTTP protocol to transmit data and is only a part of the Internet.
HISTORY
●English scientist Tim Berners-Lee invented the World Wide Web in 1989.
●The WWW project was initiated by CERN (European Laboratory for Particle Physics) to
create a system to handle distributed resources necessary for scientific research.
●By October of 1990, Tim had written the three fundamental technologies that remain the
foundation of today’s web
■HTML
○ For example, web browsers are clients that connect to web servers and
retrieve web pages for display.
○ Online chat uses a variety of clients, which vary depending on the chat protocol
being used.
○ Multiplayer video games or online video games may run as a client on each
computer. The term "client" may also be applied to computers or devices that run
the client software or users that use the client software.
CLIENT
● Each browser usually consists of three parts: a controller, client protocol, and
interpreters.
○ THE CONTROLLER receives input from the keyboard or the mouse and uses
the client programs to access the document.
○ The controller uses one of the INTERPRETERS to display the document on the
screen. The interpreter can be HTML, Java, or JavaScript, depending on the
type of document.
CLIENT
WEB SERVER
● The term web server means one things, a computer program that accepts HTTP
requests and return HTTP responses with optional data content.
● Each time a client request arrives, the corresponding document is sent to the client.
HOW TO IMPROVRE SERVER
RESPONSE SPEED
● To improve efficiency, servers normally store requested files in a cache in memory;
memory is faster to access than disk.
● To facilitate the access of documents distributed throughout the world, HTTP uses
locators. The uniform resource locator (URL) is a standard for specifying any kind of
information on the Internet.
● The URL defines four things:
1. Protocol,
2. Host computer,
3. Port,
4. Path
UNIFROM RESOURCE LOCATOR
● THE PROTOCOL is the client/server program used to retrieve the document. Many
different protocols can retrieve a document; among them are FTP or HTTP. The
most common today is HTTP
● THE HOST IS THE COMPUTER on which the information is located.
○ Web pages are usually stored in computers, and computers are given alias
names that usually begin with the characters "www".
○ This is not mandatory, however, as the host can be any name given to the
computer that hosts the Web page.
UNIFROM RESOURCE LOCATOR
● Ports are identified for each protocol and address combination by 16-bit unsigned
numbers, commonly known as the port number.
● The most common protocols that use port numbers are the Transmission Control
Protocol (TCP) and the User Datagram Protocol (UDP).
UNIFROM RESOURCE LOCATOR
● For example, a request from a client (perhaps on behalf of you at your PC) to a server
on the Internet may request a file be served from that host's File Transfer Protocol
(FTP) server or process.
● In order to pass your request to the FTP process in the remote server, the Transmission
Control Protocol (TCP) software layer in your computer identifies the port
number of 21 (which by convention is associated with an FTP request) in the 16-bit
port number integer that is appended to your request.
● At the server, the TCP layer will read the port number of 21 and forward your
request to the FTP program at the server.
UNIFROM RESOURCE LOCATOR
■ authenticating
■ session tracking
● The server includes the cookie in the response that it sends to the client.
● When the client receives the response, the browser stores the cookie in the cookie
directory, which is sorted by the domain server name.
● APPLICATIONS
1. E-COMMERCW
2. WEB PORTAL
3. ADVERTISING AGENCY
WEB DOCUMENTS
● The documents in the WWW can be grouped into three broad categories:
1. Static,
2. Dynamic
3. Active.
● The category is based on the time at which the contents of the document are
determined.
STATIC DOCUMENTS
● Static documents are fixed-content documents that are created and stored in a server.
● In other words, the contents of the file are determined when the file is created, not when
it is used.
STATIC DOCUMENTS
DYNAMIC DOCUMENTS
● A few technologies have been involved in creating dynamic documents using scripts.
Among the most common are:
2. Java Server Pages (JSP), which uses the Java language for scripting
3. Active Server Pages (ASP), Microsoft product which uses Visual Basic
language for scripting
● When a browser requests an active document, the server sends a copy of the document
or a script. The document is then run at the client (browser) site.
1. Java scripts
2. Java Applets
THANK YOU!!!!!!!