- First, there was the Internet.
- First Arpanet message 1969.
- Evolved into the Internet, production about 1983.
- Connected computers around the world.
- Interface was purely text based.
- No good way to find things:
- Searching meant looking at a likely site you happened to know about.
- Or asking your friends.
- Try ftp ftp.sdf.org and log in as "anonymous" to try it out.
(Your computer may have the ftp program, and Sandbox does.)
- Does allow publishing and transfer of files, once you find them.
- Tim Berners-Lee
invented the World-Wide-Web at CERN,
including HTML and HTTP
- Invented in 1989, working internally by 1990.
A few years before wide use outside CERN.
- Berners-Lee created HTML to express pages, and HTTP to
transfer them over the existing Internet.
- Hypertext, the idea of linking related documents, is
not new, thought to date from 1945.
- Berners-Lee applied this idea to Internet documents to make them
more accessible.
- His primary purpose was helping the physics researchers at CERN share
their work.
- The original vision of the web was of static documents, and maybe some
images. Much more staid that we have today.
- Wild West
- The Web was a big hit.
- There were some text-based browsers in the early days, GUIs being
expensive and rare.
- Mosaic: Early graphical browser, 1992,
University of Illinois.
- Netscape
Navigator:
first widely-used graphical browser, 1994, based on Mosaic.
- Microsoft Internet Explorer: Designed to kill Netscape, 1995.
- Period known as the browser wars. HTML was expanded rapidly without
much reflection.
- Different browsers gained different and inconsistent features,
making coding difficult.
- This situation has been greatly improved, but there are still
differences in behavior between browsers.
- Standards, darn-it.
- HTML-2 1995, IETF RFC 1866. Much ignored.
- HTML-3.2 1997, by newly-formed World-Wide Web Consortium (WWWC).
Too willing to just include whatever was already there.
- HTML-4 1999. Starts to trim the excess.
- Firefox 1.0, 2004. Designed to implement standards, and wake up
IE which had fallen asleep after killing Netscape.
- HTML-5 2008 (finalized 2014).
- Current standardization seems to be the “living standard” from the
Web Hypertext Application Technology
Working Group.
- Language and technology changes.
- Appearance.
- The Berners-Lee original design was for tags to say what the data is
for (like <em>; for emphasis), and let the browser decide how
to display it.
- During the browser wars, HTML grew many tags that say more explicitly
how to display, like <i> for italics.
- The eventual solution is to invent style sheets to describe appearance,
and leave the tags for structure.
- Of course, a bunch of physical tags and attributes are still present.
- Media: Tags for playing sound and displaying video are added.
- Making server-dynamic pages
- The original idea was static HTML files delivered from servers.
- HTML adopted forms, allowing user input.
- Servers adopted dynamic pages to receive, process, and respond
to data from the forms.
- Dynamic pages run and send output to the browser, rather than
send an existing file.
- Some web pages use very little static material on the server,
instead are generated on demand.
- We will study this process in some detail later.
- Making client-dynamic pages.
- Originally, a web page would is made of static HTML. It changes only
when
you load a different page.
JavaScript introduced to make the page content dynamic.
- Brendan
Eich at Netscape created JavaScript
- Introduced in NN 2.0 in 1996.
- JavaScript code is embedded in the web page.
- JavaScript runs in the browser and responds immediately to user
actions.
- JavaScript allows mouse clicks and such to update the page
without a round trip to the server.
- Stupid Name.
- Java was released by Sun Microsystems (later acquired by Oracle),
and
had been well-received.
- Netscape had a close business relationship with Sun.
- JavaScript was originally “Mocha,” but renamed to glom onto
Java's success.
- AJAX
- JavaScript can update the existing page, but only with user
input and data it already knows. To display other information
requires displaying a new page.
- In 1999, Microsoft introduced the ability for
JavaScript to request a document from the server (IE 5),
eventually named XMLHttpRequest.
- Allows javascript to update the page with data from the
server, avoiding the overhead of a page load and parsing.
- This technique now known as AJAX.
- Web pages may have very little static code, and be built
entirely by JavaScript.
- The combination of modern HTML, CSS, and JavaScript with AJAX
allowed the creation of a much more dynamic and interactive
web. This is sometimes called Web 2.0.