The World Wide Web
The World Wide Web
14-Feb-12
1. Protocol:
http:// indicates Hypertext Transfer Protocol (HTTP) Tells the computers how to handle the file
3. Page's pathname:
Tells the server which file (page) is requested and where to find it.
3-3
You can see the page description by selecting view source in the browser
3-4
14-Feb-12
3-5
Hypertext
Hypertext Markup Language (HTML) Markup languages describe the layout, formatting, and look applied to a documents abstract structure
Margin width, indentations Font, text style, size, color Image placement, etc.
Hyperlinks allow jumping from point to point in documents (non-linear); links show as highlighted words and images HTML realization of hypertext, and the Web, from Tim Berners-Lee (1990s)
Term hypertext is from Ted Nelson (1960s) Concept comes from Vannevar Bush (1940s)
3-6
14-Feb-12
Directory, or folder, is a named collection of files, other directories, or both Directory Hierarchy: Directories can contain other directories, which can contain other directories, etc.
Down, or lower in the hierarchy, means moving into subdirectories Up, or higher in the hierarchy, means into enclosing (parent) directories
3-7
3-8
14-Feb-12
Each time we pass a slash (/), we move into a subdirectory or into the file (lower in the hierarchy)
3-9
3-10
14-Feb-12
If the browser does not find an index.html file, the browser automatically tries to display a directory listing (index) of the files there Why are hierarchies important?
People use them to organize their thinking and work Directories are free; there is no reason not to use them
3-11
Communication Types
General Communication
Synchronous: sender and receiver are active at the same time
e.g., telephone call, instant messaging (IM)
Broadcast communication (or multicast): single sender and many receivers Point-to-point communication: single sender and single receiver
3-12
14-Feb-12
Point-to-point synchronous
IM is alternative to telephone
Multicasting
Chat rooms are alternatives to magazines
Broadcasting
Web pages are alternatives to radio and television
3-13
Client/Server Interaction
Server is the computer that stores information
Web server, file server, mail server
Client is the computer that wants the information When you click a Web link, your computer (the client) enters into a client/server relationship with a web server Once the page is sent to you, the client/server relationship ends
3-14
14-Feb-12
3-15
Client/Server Interaction
These relationships are brief, so a server can serve many clients at the same time
Ask, receive, done
One client computer can ask for services from many servers
A web page may have many links, each to a different web server
3-16
14-Feb-12
3-17
3-18
14-Feb-12
3-19
10
14-Feb-12
3-22
11
14-Feb-12
3-23
DNS Servers
The Domain Name System (DNS) translates all the human-readable hostnames into IP addresses Each Internet host knows the IP address of its nearest DNS server, a computer that keeps a list of host/domain names and corresponding IP addresses When you use a hostname to send information, your computer asks the DNS server to look up the IP address (this is a client/server relationship) If the closest DNS server doesn't know the IP address, it asks an authoritative server, the root of a hierarchy of special DNS servers with more complete name translation information.
3-24
12
14-Feb-12
3-25
Following Protocol
A protocol describes the specific technical steps involved in how information is actually transmitted TCP/IP (Transmission Control Protocol/Internet Protocol)
Information is broken into a sequence of small fixed-size units called IP packets Each packet has space for a chunk of data (e.g., piece of the novel), the IP addresses of the source and destination computers, and a sequence number The packets are sent over the Internet one at a time using whatever route is available Each packet can take a different route, so congestion and service interruptions do not delay transmissions
3-26
13
14-Feb-12
3-27
3-28
14
14-Feb-12
3-29
15
14-Feb-12
3-31
Search Tools
Search engines Metasearch engines Specialized search engines Tips
Start with the right approach Be as precise as possible Use multiple words Use Boolean operators Check your spelling Keep moving
16
14-Feb-12
Search Engines
Specialized programs to assist in locating information Types of searches
Keyword search Directory search
Metasearch Engines
17
14-Feb-12
Content Evaluation
Not all information on the web is accurate Ways to evaluate accuracy of Web information include: Authority Accuracy Objectivity Currency
Plug-Ins
Program that is automatically loaded and operated as part of the browser.
18
14-Feb-12
Filters
A program that blocks access to selected websites.
References
Fluency with Information technology: Skills, Concepts & Capabilities, by Lawrence Snyder, fourth edition, Pearson Education. Computing Essentials 2011, OLeary & OLeary, Complete International Edition, Mc Graw Hill.
19