World Wide Web

From Citizendium
Revision as of 07:37, 17 January 2007 by imported>Konstantin Tchernov (→‎References: +notes section)
Jump to navigation Jump to search
"The Web" and "WWW" redirect here. For other uses, see Web and WWW (disambiguation). For the world's first browser, see WorldWideWeb.

Template:Portalpar

WWW's historical logo designed by Robert Cailliau

The World Wide Web ("WWW" or simply the "Web") is a global collection of documents hosted on computers and available to the public. These documents include text files, images, videos, sound files and many other types of information. Any individual piece of information on the Web referred to as resources, are identified by short, unique, global identifiers called Uniform Resource Identifiers (URIs) so that each can be found, accessed and cross referenced in the simplest possible way.

The term is often mistakenly used as a synonym for the Internet itself, but the Web is actually only a part of the Internet. The Internet encompasses the Web, e-mail, instant messaging and many other services.

Basic terms

The World Wide Web is the combination of 4 basic ideas:

  • Hypertext: a format of information which allows one, in a computer environment, to move from one part of a document to another or from one document to another through internal connections among these documents (called "hyperlinks");
  • Resource Identifiers: unique identifiers used to locate a particular resource (computer file, document or other resource) on the network;
  • The Client-server model of computing: a system in which client software or a client computer makes requests of server software or a server computer that provides the client with resources or services, such as data or files; and
  • Markup language: characters or codes embedded in text which indicate structure, semantic meaning, or advice on presentation.

On the World Wide Web, a client program called a user agent retrieves information resources, such as web pages and other computer files, from web servers using their URLs. A web browser is a frequently encountered user agent. The user can then follow hyperlinks in each web page to other World Wide Web resources, whose location is embedded in the hyperlinks. It is also possible, for example by filling in and submitting web forms, to post information back to a web server for it to save or process in some way. Web pages are often arranged in collections of related material called "websites." The act of following hyperlinks from one website to another is referred to as "browsing" or sometimes as "surfing" the Web.

The phrase "surfing the Internet" was first popularized in print by Jean Armour Polly, a librarian, in an article called Surfing the INTERNET, published in the University of Minnesota Wilson Library Bulletin in June, 1992. Although Polly may have developed the phrase independently, slightly earlier uses of similar terms have been found on the Usenet from 1991 and 1992, and some recollections claim it was also used verbally in the hacker community for a couple years before that. Polly is famous as "NetMom" in the history of the Internet.

Although the English word worldwide is normally written as one word (without a space or hyphen), the proper name World Wide Web and abbreviation WWW are now well-established even in formal English. The earliest references to the Web called it the WorldWideWeb (an example of computer programmers' fondness for CamelCase) or the World-Wide Web (with a hyphen, this version of the name is the closest to normal English usage).

Ironically, the abbreviation "WWW" contains two or three times as many syllables (depending on accent) as the full term "World Wide Web". There are multiple pronunciations of "www'.

How the Web works

Web pages, and other files (such as images and videos), on the World Wide Web are stored on many different web servers located all around the world. These web servers are all connected to the the Internet. The user accesses the Web through the Internet using a user agent program, such as a web browser (a type of user agent that renders and displays the requested web page to the user). The user can navigate to different pages on the web by either typing in the Uniform Resource Identifier (URI)[1], also referred to as the "web address" (for example http://pilot.citizendium.org/wiki/World_Wide_Web) into the web browser, or by following a hyperlink from another web page. The user agent uses this URI to figure out which web server to ask for which resource and using which communication protocol. Unless a problem has occured, the server sends back the requested resource.

Caching

If the user returns to a page fairly soon, it is likely that the data will not be retrieved from the source web server, as above, again. By default, browsers cache all web resources on the local hard drive. An HTTP request will be sent by the browser that asks for the data only if it has been updated since the last download. If it has not, the cached version will be reused in the rendering step.

This is particularly valuable in reducing the amount of web traffic on the internet. The decision about expiry is made independently for each resource (image, stylesheet, JavaScript file etc, as well as for the HTML itself). Thus even on sites with highly dynamic content, many of the basic resources are only supplied once per session or less. It is worth it for any web site designer to collect all the CSS and JavaScript into a few site-wide files so that they can be downloaded into users' caches and reduce page download times and demands on the server.

There are other components of the internet that can cache web content. The most common in practice are often built into corporate and academic firewalls where they cache web resources requested by one user for the benefit of all.

Apart from the facilities built into web servers that can ascertain when physical files have been updated, it is possible for designers of dynamically generated web pages to control the HTTP headers sent back to requesting users, so that pages are not cached when they should not be — for example internet banking and news pages.

This helps with understanding the difference between the HTTP 'GET' and 'POST' verbs — data requested with a GET may be cached, if other conditions are met, whereas data obtained after POSTing information to the server usually will not.

Origins

For more information, see: History of the World Wide Web.
See also: History of the Internet
File:FirstWebServer.jpg
This NeXTcube used by Berners-Lee at CERN became the first Web server.

The underlying ideas of the Web can be traced as far back as 1980, when, at CERN in Switzerland, Tim Berners-Lee built ENQUIRE (referring to Enquire Within Upon Everything, a book he recalled from his youth). While it was rather different from the Web we use today, it contained many of the same core ideas (and even some of the ideas of Berners-Lee's next project after the WWW, the Semantic Web).

In March 1989, Tim Berners-Lee wrote Information Management: A Proposal, which referenced ENQUIRE and described a more elaborate information management system. With help from Robert Cailliau, he published a more formal proposal for the World Wide Web on November 12, 1990.

A NeXTcube was used by Berners-Lee as the world's first web server and also to write the first web browser, WorldWideWeb in 1990.

By Christmas 1990, Berners-Lee had built all the tools necessary for a working Web [2]: the first Web browser (which was a Web editor as well), the first Web server and the first Web pages which described the project itself.

On August 6, 1991, he posted a short summary of the World Wide Web project on the alt.hypertext newsgroup. This date also marked the debut of the Web as a publicly available service on the Internet. The crucial underlying concept of hypertext originated with older projects from the 1960s, such as Ted Nelson's Project Xanadu and Douglas Engelbart's oN-Line System (NLS). Both Nelson and Engelbart were in turn inspired by Vannevar Bush's microfilm-based "memex," which was described in the 1945 essay "As We May Think".

Berners-Lee's breakthrough was to marry hypertext to the Internet. In his book Weaving The Web, he explains that he had repeatedly suggested that a marriage between the two technologies was possible to members of both technical communities, but when no one took up his invitation, he finally tackled the project himself. In the process, he developed a system of globally unique identifiers for resources on the Web and elsewhere: the Uniform Resource Identifier.

The World Wide Web had a number of differences from other hypertext systems that were then available:

  • The WWW required only unidirectional links rather than bidirectional ones. This made it possible for someone to link to another resource without action by the owner of that resource. It also significantly reduced the difficulty of implementing Web servers and browsers (in comparison to earlier systems), but in turn presented the chronic problem of broken links.
  • Unlike certain applications, such as HyperCard, the World Wide Web was non-proprietary, making it possible to develop servers and clients independently and to add extensions without licensing restrictions.

On April 30, 1993, CERN announced that the World Wide Web would be free to anyone, with no fees due. Coming two months after the announcement that gopher was no longer free to use, this produced a rapid shift away from gopher and towards the Web.

An early popular web browser was ViolaWWW which was based upon HyperCard. The World Wide Web, however, only gained critical mass with the 1993 release of the graphical Mosaic web browser by the National Center for Supercomputing Applications (NCSA) developed by Marc Andreessen. Prior to the release of Mosaic, graphics were not commonly mixed with text in Web pages and its popularity was less than older protocols in use over the Internet, such as Gopher protocol and Wide area information server. Mosaic's graphical user interface allowed the Web to become by far the most popular Internet protocol.

Web standards

At its core, the Web is made up of three standards:

  • the Uniform Resource Identifier (URI), which is a universal system for referencing resources on the Web, such as Web pages;
  • the HyperText Transfer Protocol (HTTP), which specifies how the browser and server communicate with each other; and
  • the HyperText Markup Language (HTML), used to define the structure and content of hypertext documents.

Berners-Lee now heads the World Wide Web Consortium (W3C), which develops and maintains these and other standards that enable computers on the Web to effectively store and communicate different forms of information.

Java and JavaScript

Another significant advance in the technology was Sun Microsystems' Java platform. It initially enabled Web servers to embed small programs (called applets) directly into the information being served, and these applets would run on the end-user's computer, allowing faster and richer user interaction. Eventually, it came to be more widely used as a tool for generating complex server-side content as it is requested. Java never gained as much acceptance as Sun had hoped as a platform for client-side applets for a variety of reasons, including lack of integration with other content (applets were confined to small boxes within the rendered page) and poor performance (particularly start up delays) of Java VMs on PC hardware of that time.

JavaScript, however, is a scripting language that was developed for Web pages. The standardised version is ECMAScript. While its name is similar to Java, it was developed by Netscape and not Sun Microsystems, and it has almost nothing to do with Java, with the only exception being that like Java its syntax is derived from the C programming language. Like Java, JavaScript is also object oriented, but like C++ and unlike Java, it allows mixed code — both object-oriented as well as procedural. In conjunction with the Document Object Model, JavaScript has become a much more powerful language than its creators originally envisioned. Sometimes its usage is expressed under the term Dynamic HTML (DHTML), to emphasise a shift away from static HTML pages.

Ajax (Asynchronous JavaScript And XML) is a JavaScript-based technology that may have a significant effect on the development of the World Wide Web. By providing a method where only part of a page need be updated when required, rather than the whole, Ajax allows such updates to be much faster and more efficient. Ajax is seen as an important aspect of Web 2.0. Examples of Ajax techniques currently in use can be seen in Gmail, Google Maps etc.

Sociological implications

The Web, as it stands today, has allowed global interpersonal exchange on a scale unprecedented in human history. People separated by vast distances, or even large amounts of time, can use the Web to exchange — or even mutually develop — their most intimate and extensive thoughts, or alternately their most casual attitudes and spirits. Emotional experiences, political ideas, cultural customs, musical idioms, business advice, artwork, photographs, literature, can all be shared and disseminated digitally with less individual investment than ever before in human history. Although the existence and use of the Web relies upon material technology, which comes with its own disadvantages, its information does not use physical resources in the way that libraries or the printing press have. Therefore, propagation of information via the Web (via the Internet, in turn) is not constrained by movement of physical volumes, or by manual or material copying of information. And by virtue of being digital, the information of the Web can be searched more easily and efficiently than any library or physical volume, and vastly more quickly than a person could retrieve information about the world by way of physical travel or by way of mail, telephone, telegraph, or any other communicative medium.

The Web is the most far-reaching and extensive medium of personal exchange to appear on Earth. It has probably allowed many of its users to interact with many more groups of people, dispersed around the planet in time and space, than is possible when limited by physical contact or even when limited by every other existing medium of communication combined.

Because the Web is global in scale, some have suggested that it will nurture mutual understanding on a global scale. By definition or by necessity, the Web has such a massive potential for social exchange, it has the potential to nurture empathy and symbiosis, but it also has the potential to incite belligerence on a global scale, or even to empower demagogues and repressive regimes in ways that were historically impossible to achieve.

Content

The Web is available to individuals outside mass media. In order to "publish" a web page, one does not have to go through a publisher or other media institution, and potential readers could be found in all corners of the globe. It's free to post some smaller webpages, and even larger sites are inexpensive in comparison to traditional media.

Unlike books and documents, hypertext does not have a linear order from beginning to end. It is not broken down into the hierarchy of chapters, sections, subsections, etc.

Many different kinds of information are now available on the Web, and for those who wish to know other societies, their cultures and peoples, it has become easier. When travelling in a foreign country or a remote town, one might be able to find some information about the place on the Web, especially if the place is in one of the developed countries. Local newspapers, government publications, and other materials are easier to access, and therefore the variety of information obtainable with the same effort may be said to have increased, for the users of the Internet.

Although some websites are available in multiple languages, many are in the local language only. Also, not all software supports all special characters, and RTL languages. These factors would challenge the notion that the World Wide Web will bring a unity to the world.

The increased opportunity to publish materials is certainly observable in the countless personal pages, as well as pages by families, small shops, etc., facilitated by the emergence of free web hosting services.

Statistics

According to a 2001 study [3], there were more than 550 billion documents on the Web, mostly in the "invisible Web". A 2002 survey of 2,024 million web pages [4] determined that by far the most Web content was in English: 56.4%; next were pages in German (7.7%), French (5.6%) and Japanese (4.9%). A more recent study [5] which used web searches in 75 different languages to sample the Web determined that there were over 11.5 billion web pages in the publicly-indexable Web as of January 2005.

Speed issues

Frustration over congestion issues in the Internet infrastructure and the high latency that results in slow browsing has led to an alternative name for the World Wide Web: the World Wide Wait. Speeding up the Internet is an ongoing discussion over the use of peering and QoS technologies. Other suggested solutions to reduce the World Wide Wait can be found from the W3C.

Standard guidelines for ideal web response times are (Nielsen 1999, page 42):

  • 0.1 second (one tenth of a second). Ideal response time. The user doesn't sense any interruption.
  • 1 second. Highest acceptable response time. Download times above 1 second interrupt the user experience.
  • 10 seconds. Unacceptable response time. The user experience is interrupted and the user is likely to leave the site or system.

These numbers are useful for planning server capacity.

Link rot

Link rot is when web links become broken due to resources moving or ceasing to exist. The ephemeral nature of the Web has prompted many efforts to archive the Web. The Internet Archive is one of the most well-known efforts; they have been archiving the Web since 1996.

Academic conferences

The major academic event covering the WWW is the World Wide Web series of conferences, promoted by IW3C2. There is a list with links to all conferences in the series.

"www" in website names

There is no technical reason for a website's name to start with "www"; indeed, the first Web server was at info.cern.ch. The "www" prefix comes from a common convention predating the Web, where an organization's Internet servers are assigned hostnames corresponding to the protocol they serve; for example, many organizations gave their main public Gopher server a name of the form gopher.wherever.edu and named their public FTP server in the form ftp.name.gov. Some organizations extend this convention by using the prefixes "www2", "www3", "www4", etc., for multiple related Web servers. Some browsers will automatically try adding "www." to the beginning, and possibly ".com" to the end, of typed URLs if a web page isn't found without them. With the Internet Explorer and Mozilla Firefox browsers, pressing the Control and Enter keys simultaneously will actually prefix 'http://www.' and suffix '.com' ('.com/' in Firefox) to whatever has been typed into the address box.

Trivia

  • The first website went on-line in 1991. On April 30 1993, CERN announced that the World Wide Web would be free to anyone. A copy of the original first webpage, created by Tim Berners-Lee, is kept here.[2]

Standards

The following is a cursory list of the documents that define the World Wide Web's three core standards:

See also

Notes

  1. For historical reasons, the URI (Uniform Resource Identifier) is often referred to as the URL (Uniform Resource Locator), however this is not always the correct term to use - see URL#A popular synonym for "URI" for more information.
  2. [1] Wikipedia.com Retrieved on 2006-8-10

References

External links


Template:Step