CTEC2712 Web application development

Contextualisation

A brief history of web technology

Dr Graeme Stuart

Literacy

Systems are built on what came before. Language allows complex ideas to be communicated. Writing allows ideas to be communicated accurately over long distance and time. Libraries and printing allow for coordinated knowledge management.

A woman communicating with a chimp using sign language A proto-cuneiform tablet The modern library of Alexandria A Gutenberg press

“Consciousness is that portion of cognition which is packaged for exchange” - Bret Weinstein

1

Infrastructure

Communications infrastructure: telegraph cables 1901 vs internet backbone 2023

infrastructure 1901 infrastructure 2023

Long-distance communications technologies - semaphore, telegraph, telegram, telex, telephone, radio/tv, internet.

2

Usability

The memex, Vannevar Bush, 1945

Bush memex

According to Life magazine, the Memex desk “would instantly bring files and material on an subject to the operator’s fingertips”. The mechanical core of the desk would also include “a mechanism which automatically photographs longhand notes, pictures and letters, then file them in the desk for future reference.”

3

Hypertext

Ted Nelson, Brief Words on the Hypertext, 23 January 1967

Ted Nelson a diagram of a hypertext document

Hypertext is a recent coinage. Hyper- is used in the mathematical sense of extension and generality (as in hyperspace, hypercube) rather than the medical sense of excessive (hyperactivity).”

4

The world wide web

The world wide web is an open system for publishing HyperText documents over the internet. It was created in 1989 by Tim Berners-Lee at the Conseil Européen pour la Recherche Nucléaire (CERN).

Tim Berners-Lee A client/server model for a distributed hypertext system.

Timbl defined standards for and HTTP and HTML. He also wrote a web server and a web client (browser).

5

The birth of the web at CERN

It’s difficult to imagine the world before the web.

6

Web document

HTML documents are the core structure which brings together content which may be served from all over the web. The browser will make an initial HTTP request to the server for an HTML document. The document may include embedded content requiring subsequent requests.

Tim Berners-Lee web document

e.g. the above image is served from developer.mozilla.org.

7

The first website(?)

The first website was a very simple hypertext document linking out to more and more documents over time.

Visit it here.

8

The first web browser

Nexus, An exercise in global information availability, was created by Tim Berners-Lee. Originally named WorldWideWeb, the name was changed to avoid confusion.

Tim BL The nexus browser

The browser provided both authoring and editing functionality. However, the user interface was clunky and annoying, as shown in this demo.

9

The line mode browser

The Line mode browser or LMB was the second ever browser created It was designed to be usable on most computers where Nexus was only usable on the NeXT computers on which it was created.

Line mode browser Nicola Pellow

The Line mode browser was written by Nicola Pellow, a Leicester Polytechnic student pictured here with Tim Berners-Lee and Robert Cailliau. Nicola is mentioned in the first website!

10

The Mosaic browser

In 1994, the Mosaic browser was released and was an instant success. Eventually Mozaic was renamed to Netscape Navigator - codename: Mozilla.

The Mosaic browser Marc Andreesen on the cover of time magazine Mozilla

“There are two ages of the Internet—before Mosaic, and after. The combination of Tim Berners-Lee’s Web protocols, which provided connectivity, and Marc Andreesen’s browser, which provided a great interface, proved explosive. In twenty-four months, the Web has gone from being unknown to absolutely ubiquitous.” — Mark Pesce, ZDNet

11

The browser wars

Computing giant Microsoft creates Internet Explorer and makes it available for free in 1995. The two browsers compete for users. Netscape Navigator struggled to remain viable (only free for home and educational use).

internet explorer A chart showing browser market share  from 1996 to 2009, Internet Explorer squeezes Netscape out but is subsequently replaced by Firefox

Defeated, the Mozilla foundation created the open-source phoenix browser which became firebird and then firefox.

12

Battle of the browsers (1997)

13

Cascading Style Sheets

CSS was proposed in 1994 by Håkon Wium Lie whilst working at CERN. The CSS1 specification was completed in 1996.

Håkon Wium Lie CSS3 CSS Zen Garden

IE5 on Mac achieved a near-full implementation of CSS1 in March 2000. CSS zen garden was launched in May 2003.

14

Why CSS was invented

15

Web standards

The World Wide Web Consortium (W3C) was founded in 1994 by Tim Berners-Lee. It publishes recommendations, that are considered web standards.

The World Wide Web Consortium The Web Hypertext Application Technology Working Group

The Web Hypertext Application Technology Working Group (WHATWG) was founded in 2004, after a W3C workshop. Apple, Mozilla and Opera were becoming increasingly concerned about the W3C’s apparent disregard for the needs of real-world web developers.

16

Convergence

Instead of touting proprietary extensions to gain market share, browsers are marketed based on standards compliance and open source implementations.

Another chart, showing the decline of internet explorer from 2009. Both Chrome and mobile browsers dominate to 2016 chrome logo

Google release Chrome with faster javascript and an open-source version Chromium. The current standards, HTML5, CSS3 and ECMAScript 2023 will be used throughout this module. Be careful, you will find content on the web which uses older standards.

17

Resilient by design

The web was designed from the beginning to be resilient to different browser capabilities.

1
2
3
4
5
<h1>A document</h1>
<p>
    Hello, I'm a hypertext document and I can <a href="link.html">link</a> to other documents.
</p>
<p>Moreover, <a href="another.html">other documents</a> can link back to me.<p>

The above HTML was valid in 1989 and remains valid now. The below code includes a few newer elements. Older browsers will simply ignore them (see https://caniuse.com/).

1
2
3
4
5
6
7
8
9
<header>
    <h1>A document</h1>
</header>
<main>
    <p>
        Hello, I'm a hypertext document and I can <a href="link.html">link</a> to other documents.
    </p>
    <p>Moreover, <a href="another.html">other documents</a> can link back to me.<p>
</main>
18

Introductory lab exercises

We have three exercises as a basic introduction to VSCode and Google Chrome and a quick exploratory pass over loads of front-end concepts.

  • Getting to grips with VSCode, using emmet for efficiency and the live server extension.
  • Exploring the browser developer tools and viewing a website from the developers perspective.
  • Building a very basic website with HTML, CSS and JavaScript.

For the rest of this week, we will look at HTML and CSS in much more detail.

19

Contextualisation

If you have any questions, now is a good time to ask.

Thanks for listening
Dr Graeme Stuart