Wie funktioniert das World Wide Web ?

Slides:



Advertisements
Ähnliche Präsentationen
Wie funktioniert das World Wide Web ?
Advertisements

HTTP HyperText Transfer Protocol -
FH-Hof HTML - Einführung Richard Göbel. FH-Hof Komponenten des World Wide Webs WWW Browser HyperText Transfer Protocol (HTTP) via Internet WWW Server.
Can you think of some KEY phrases which would be useful in multiple contexts? Take 2 minutes with a partner and come up with as many as you can!
Don`t make me think! A Common Sense Approach to Web Usability
| DC-IAP/SVC3 | © Bosch Rexroth Pneumatics GmbH This document, as well as the data, specifications and other information set forth in.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
Montag den 16.Dezember Lernziel: To begin stage 2 of preparation for speaking assessment.
CALPER Publications From Handouts to Pedagogical Materials.
Ein Projekt des Technischen Jugendfreizeit- und Bildungsvereins (tjfbv) e.V. kommunizieren.de Blended Learning for people with disabilities.
You need to use your mouse to see this presentation © Heidi Behrens.
HTTP IT-Zertifikat Universität zu Köln Allgemeine Technologien II
Die Mission der STA Seit 2005Tell the World Im Jahr 2010 wurde das Projekt vervollständigt mit Reach up Reach Across Reach Out.
Im Restaurant Zeus war ich eines Abends mit Freunden zum Essen. I was in the restaurant Zeus one evening with friends to eat. Wir haben uns unterhalten.
Der formelle Imperativ – the Imperative
->Prinzip ->Systeme ->Peer – to – Peer
Mein Arbeitspraktikum. Today we are learning to talk about work experience we have done, giving facts, details and opinions The bigger picture: We are.
Die Fragen Wörter Wer? Was? Wann?.
I will be able to use the accusative pronouns in a sentence (Buch Seite 200)
Literary Machines, zusammengestellt für ::COLLABOR:: von H. Mittendorfer Literary MACHINES 1980 bis 1987, by Theodor Holm NELSON ISBN
Internet - Grundbegriffe Unterlagen zum Kurs "Wie erstelle ich eine Homepage?"
Die Geschichte des Internet ??. Vannevar Bush As We May Think (1945) Memex - Der Schreibtisch mit dem Bildschirm.
Possessive Adjectives How to show belonging… The information contained in this document may not be duplicated or distributed without the permission of.
Ordering Food A Guide. Im Restaurant An actual restaurant is the chance to use more formal ordering. “Ich hätte gern eine Pizza.” “Ich möchte eine Cola.”
GERMAN WORD ORDER ORDER s. Sentences are made up by placing a variety of words in a specific order. If the order is wrong, the sentence is difficult to.
The Journey to America… The Immigrant Experience.
Studentenstreik 2009, 2010 in Deutschland Part 1: Studiengebühren.
Unterwegs.
Gregor Graf Oracle Portal (Part of the Oracle Application Server 9i) Gregor Graf (2001,2002)
Wort des Tages das Taschengeld a)school bag b)allowance.
You need to use your mouse to see this presentation © Heidi Behrens.
Imperfekt (Simple Past) Irregular or strong verbs
Memorisation techniques
Kapitel 8 Grammar INDEX 1.Command Forms: The Du-Command Form & Ihr- Command 2.Sentences & Clauses.
Here‘s what we‘ll do... Talk to the person sitting in front of you. Introduce each other, and ask each other questions concerning the information on your.
The Chicago Style (2 e-publication) -1- The Practice of Citing Scientific Sources in the Chicago Style Part 2 - Electronic sources -
Environment problems The problems - The problem of waste  too much trash -People use too much cars -Oil platform accidents -Exhaust gas pollution -Deforestation.
ENVIRONMENT PROBLEMS What can I do? Pineapples Traffic  Use public vehicles  Use more bike and go by walking  There should be a filter in every car.
On the case of German has 4 cases NOMINATIVE ACCUSATIVE GENITIVE DATIVE.
German “ da - compounds ” Provided by deutschdrang. com for individual and classroom use only. May not be reproduced for any other purposes.
Webserver, © Till Hänisch 2001 HTTP HyperText Transfer Protocol - Wie kommen die Seiten vom Server zum Browser ?
Indico Meeting Dennis Klein 4. August Übersicht  Korrespondenz CERN  Trouble Ticket Queue  Integration GSI-Accounts  Subversion & Wiki  Todo.
Essay structure Example: Die fetten Jahre sind vorbei: Was passiert auf der Almhütte? Welche Bedeutung hat sie für jede der vier Personen? Intro: One or.
LLP DE-COMENIUS-CMP Dieses Projekt wurde mit Unterstützung der Europäischen Kommission finanziert. Die Verantwortung für den Inhalt dieser.
HTTP Wie funktioniert das WWW ?. © Architektur Wie funktioniert das eigentlich ? Darstellung: HTML Abwicklung: HTTP Browser Webserver.
Interrogatives and Verbs
Common Gateway Interface
Sentence Structure Questions
What can I offer you as an Ayurveda Consultant?
Freizeit Thema 5 Kapitel 1 (1)
Die Umwelt Thema 13 Kapitel 3 (1)
Sentence Structure Connectives
The dynamic ultrasound
Synonyms are two or more words belonging to the same part of speech and possessing one or more identical or nearly identical denotational meanings, interchangeable.
I use this as a starter, often at the start of a revision lesson at the end of a topic . Students work in pairs. Give each pair a copy of the blank grid.
Students have revised SEIN and HABEN for homework
Hypertext 2015/2016.
Internet und Web Entwicklung
Wohin bist du gegangen? Where did you go?
THE PAST TENSE (Part 3) VERBS WHICH TAKE SEIN
Was ist die Verbindung hier?
THE PAST TENSE (Part 3) VERBS WHICH TAKE SEIN
OFFICE 365 FOCUS SESSION SHAREPOINT ONLINE 101:LERNE DIE BASICS 19. März 2018 Höhr-Grenzhausen.
Integrating Knowledge Discovery into Knowledge Management
Practical Exercises and Theory
Niedersächsisches Ministerium
School supplies.
Die tiere Share: Introduce the session and PDSA.
- moodle – a internet based learning platform
 Präsentation transkript:

Wie funktioniert das World Wide Web ? WWW, HTML, HTTP,... Wie funktioniert das World Wide Web ?

Überblick Das WWW Wie funktioniert das WWW (lang) Warum war/ist das WWW so erfolgreich ? Historie, Vorgänger,... Wie funktioniert das WWW (kurz) Grundlagen: TCP/IP und DNS Wie funktioniert das WWW (lang) HTML HTTP Anatomie eines Webservers Wir basteln eine Website Software Installation/Konfiguration eines Webservers Dokumente

Hype, warum ? Vorraussetzung: weltweites Netzwerk Internet, war schon vor dem WWW da Email, FTP, Gopher,... Jeder kann, praktisch ohne Aufwand, Informationen finden Surfen (Informationen sind verknüpft) Suchen (Suchbare Verzeichnisse) Informationen veröffentlichen Einfache Werkzeuge Browser Editoren Multimedial Keine zentrale Kontrolle/Zensur Jeder kann alles veröffentlichen

Literatur Andrew S. Tanenbaum, Computer Networks, Prentice Hall 1996 W. Richard Stevens, TCP/IP Illustrated, Vol. 1-3, Addison Wesley, 1994 P. Albitz and Cricket Liu, DNS and BIND, O'Reilly 2001 Tim Berners-Lee, Weaving the Web, Harper Collins 1999 Tim Berners-Lee, Information Management: A proposal, CERN 1989, z.B. http://www.w3.org/History/1989/proposal-msw.html Vannevar Bush; As we may think; The Atlantic Monthly; July, 1945; Volume 176, No. 1; pages 101-108. z.B. http://www.theatlantic.com/unbound/flashbks/computer/bushf.htm Philip Greenspun, Database backed Web sites, Ziff Davis, 1997

As we may think The investigator is staggered by the findings and conclusions of thousands of other workers -- conclusions which he cannot find time to grasp, much less to remember, as they appear. [...] Professionally our methods of transmitting and reviewing the results of research are generations old and by now are totally inadequate for their purpose. [...] Mendel's concept of the laws of genetics was lost to the world for a generation because his publication did not reach the few who were capable of grasping and extending it [...] A record if it is to be useful to science, must be continuously extended, it must be stored, and above all it must be consulted. [...] When data of any sort are placed in storage, they are filed alphabetically or numerically, and information is found (when it is) by tracing it down from subclass to subclass. [...] The human mind does not work that way. It operates by association [...] If the user wishes to consult a certain book, he taps its code on the keyboard, and the title page of the book promptly appears before him, projected onto one of his viewing positions. [...] This is the essential feature of the memex. The process of tying two items together is the important thing. [...] Wholly new forms of encyclopedias will appear, ready made with a mesh of associative trails

Informationen Jeder braucht Informationen Informationen müssen existieren Dokumente, Bücher, Zeitschriften,... und gefunden werden knowledge management Kataloge Hierarchien nicht immer eindeutig Metadaten welche (jetzt und später) wichtig ? Klassifikationen (Schlagworte) Jeder nutzt seine eigenen !!

Ordnung zum ersten: Gopher

Zum zweiten: Udine,HyperG,... Ende der achtziger Jahre entstanden viele Hypertext- Informationssysteme, hauptsächlich hierarchisch strukturiert, die versuchten, die Schwächen von Gopher und anderen zu überwinden.

Und Chaos: T. Berners-Lee The actual observed working structure of the organisation is a multiply connected "web" whose interconnections evolve with time. In this environment, a new person arriving, or someone taking on a new task, is normally given a few hints as to who would be useful people to talk to. Information about what facilities exist and how to find out about them travels in the corridor gossip and occasional newsletters, and the details about what is required to be done spread in a similar way. [...] A problem, however, is the high turnover of people. When two years is a typical length of stay, information is constantly being lost.[...] Often, the information has been recorded, it just cannot be found. [...] CERN is a model in miniature of the rest of world in a few years time. CERN meets now some problems which the rest of the world will have to face soon [...] the method of storage must not place its own restraints on the information This is why a "web" of notes with links (like references) between them is far more useful than a fixed hierarchical system. The system we need is like a diagram of circles and arrows, where circles and arrows can stand for anything.

Requirements Remote access across networks. CERN is distributed, and access from remote machines is essential. Heterogeneity Access is required to the same data from different types of system (VM/CMS, Macintosh, VAX/VMS, Unix) Non-Centralisation Information systems start small and grow. They also start isolated and then merge. A new system must allow existing systems to be linked together without requiring any central control or coordination. Access to existing data If we provide access to existing databases as though they were in hypertext form, the system will get off the ground quicker. Private links One must be able to add one's own private links to and from public information. One must also be able to annotate links,as well as nodes, privately.

Informationen

Architektur

Integration

WWW Die am CERN entwickelten Protokolle und Werkzeuge wurden rasch weltweit akzeptiert, insb. als grafische Browser entwickelt wurden (NCSA-Mosaic) Warum ? Jeder kann mit minimalem Aufwand Dokumente publizieren und integrieren Die Protokolle sind so einfach (primitiv) und portabel, dass jedes System angebunden werden kann Link sind privat, d.h. werden nicht zentral registriert unidirektional bidirektionale Links (z.B. HyperG) konnten sich nicht durchsetzen broken link Problematik keine zentrale Struktur lost in hyperspace Relevanz von Informationen (altavista vs. google,...)

Architektur Browser Webserver TCP/IP Dateien ??? Wie funktioniert das eigentlich ? Darstellung: HTML Abwicklung: HTTP

HTML Auszeichnungssprache Tags stellen Semantik des Dokuments dar Dokument <HEAD>...</HEAD>, <HTML></HTML>,... Metadaten <META>, <TITLE>, <AUTHOR>,... Struktur <h1>, <ul>, <p> Links <a href="www.tillh.de">home</a> stellen Semantik des Dokuments dar enthalten Links Präsentation durch Browser heute auch Präsentation durch HTML Formatierung <FONT>, ... Logik JavaScript, DHTML,...

HTML-Dokument <HTML> <HEAD> <TITLE>Ein schönes Dokument </TITLE> </HEAD> <BODY> <h1>Eine Überschrift</h1> Etwas Text <P> Ein Absatz <IMG SRC="bunt.gif"> Ein Bild <A HREF="www.interessant.de">hier klicken</a> <P> Eine Liste <UL> <LI> erstens </LI> <LI> zweitens </LI> <LI> drittens </LI> </UL> </BODY> </HTML>

Tabellen <HTML> <HEAD> <TITLE>Ein schönes Dokument </TITLE> </HEAD> <BODY> <h1>Eine Überschrift</h1> Etwas Text <TABLE BORDER=3> <TR> <TD>Spalte 1</TD> <TD>Spalte 2</TD> <TD>Spalte 3</TD> </TR> <TR> <TD COLSPAN=2>Spalte 1 und 2</TD> <TD>Spalte 3</TD> </TR> <TR> <TD COLSPAN=3>ganz schön breit</TD> </TR> </TABLE> </BODY> </HTML>

HTML Ursprünglich nur zur Strukturierung gedacht heute auch zur Formatierung da keine Positionierung,... schwierig hauptsächlich durch FONTS, Farben Tabellen Bilder browserabhängig Style sheets Pfusch --> PDF, XML,...

HTTP Wie kommen die Dokumente zum Browser ? Ursprünglich Struktur Auslieferung von Dateien deshalb einfaches, zustandsloses Protokoll Struktur Browser fordert eine Seite an (GET) Webserver liest Datei und schickt sie zurück fertig keine Anmeldung,... bei jeder Anfrage wird neue Verbindung aufgebaut einfach !!!

Frage ... GET /mini.html HTTP/1.0 Connection: Keep-Alive User-Agent: Mozilla/4.51 [de]C-CCK-MCD DT (WinNT; I) Host: dbserv Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* Accept-Encoding: gzip Accept-Language: de Accept-Charset: iso-8859-1,*,utf-8

und Antwort HTTP/1.1 200 OK Date: Thu, 17 May 2001 09:12:50 GMT Server: Apache/1.3.12 (Unix) (SuSE/Linux) Last-Modified: Thu, 17 May 2001 09:05:17 GMT ETag: "3aed8-40-3b03944d" Accept-Ranges: bytes Content-Length: 64 Connection: close Content-Type: text/html X-Pad: avoid browser bug <html> <head> <title>Hallo</title> <body> Hallo </body> </html>

dynamische Seiten GET <Pfad> liefert eine Datei aus Mimetype in Content-Type Was aber, wenn Inhalt nicht als Datei vorliegt ? z.B. Suche nach Inhalten, Uhrzeit,... CGI Common Gateway Interface Wenn eine Datei in speziellem Verzeichnis (meist cgi-bin) angefordert wird, "weiß" der Webserver, daß diese ausgeführt werden soll GET /cgi-bin/SayHello ruft das programm SayHello im entsprechenden Verzeichnis auf Parameter werden im Environment übergeben

CGI Environment DOCUMENT_ROOT="/usr/local/httpd/htdocs" GATEWAY_INTERFACE="CGI/1.1" HTTP_ACCEPT="image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*" HTTP_ACCEPT_CHARSET="iso-8859-1,*,utf-8" HTTP_ACCEPT_ENCODING="gzip" HTTP_ACCEPT_LANGUAGE="de" HTTP_CONNECTION="Keep-Alive" HTTP_HOST="192.168.1.110" HTTP_USER_AGENT="Mozilla/4.51 [de]C-CCK-MCD DT (WinNT; I)" PATH="/sbin:/bin:/usr/sbin:/usr/bin" QUERY_STRING="" REMOTE_ADDR="192.168.1.101" REMOTE_PORT="1049" REQUEST_METHOD="GET" REQUEST_URI="/cgi-bin/printenv" SCRIPT_FILENAME="/usr/local/httpd/cgi-bin/printenv" SCRIPT_NAME="/cgi-bin/printenv" SERVER_ADDR="192.168.1.110" SERVER_ADMIN="[no address given]" SERVER_NAME="mac.e-technik.uni-ulm.de" SERVER_PORT="80" SERVER_PROTOCOL="HTTP/1.0" SERVER_SIGNATURE="<ADDRESS>Apache/1.3.12 Server at mac.e-technik.uni-ulm.de Port 80</ADDRESS>\n" SERVER_SOFTWARE="Apache/1.3.12 (Unix) (SuSE/Linux)" UNIQUE_ID="OwOfSMCoAW4AAAGfAxA"

Parameter Wie erhält z.B. Suchprogramm das zu suchende Wort URL der Form: http://server/pfad/script?Parameter=Wert z.B. ...suche?Begriff=Internet QueryString QUERY_STRING="Begriff=Internet" mehrere mit ?p1w1&p2=w2... Eingabe durch Benutzer ? HTML Forms, INPUT Tags <FORM METHOD="GET" ACTION="http://localhost/Suche"> <INPUT TYPE="text" NAME="Begriff"> <INPUT TYPE="submit"> </FORM>

Parameter contd. Problem: viele/lange Parameter Lösung: POST GET /Suche?Begriff=Internet HTTP/1.0 Connection: Keep-Alive User-Agent: Mozilla/4.51 [de]C-CCK-MCD DT (WinNT; I) Host: localhost Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* Accept-Encoding: gzip Accept-Language: de Accept-Charset: iso-8859-1,*,utf-8 Problem: viele/lange Parameter Länge von URL ist begrenzt Platz im Environment ist begrenzt (OS spezifisch) Lösung: POST POST /Suche HTTP/1.0 Connection: Keep-Alive Content-type: application/x-www-form-urlencoded Content-length: 16 Begriff=Internet

Methoden Auswahl im <FORM METHOD="xxx"...> Tag GET POST xxx=GET xxx=POST GET maximale Länge von Parametern beschränkt Probleme bei Sonderzeichen (blank,...) URL encoding können als Bookmark gespeichert werden besser nicht für Bestellungen,... POST unbeschränkte Länge der Parameter auch ganze Dateien,...

Typische Anwendung Suchmaschine <HTML> <HEAD> <TITLE>Telefonbuch</TITLE> </HEAD> <BODY><h1>Telefonbuch</h1> <FORM METHOD="POST" ACTION="http://localhost/Suche"> Name:<INPUT TYPE="text" NAME="Name"> <INPUT TYPE="submit"> </FORM> </BODY> </HTML>

Ergebnis <HTML> <HEAD> <TITLE>Telefonbuch Liste</TITLE> </HEAD> <BODY><h1>Suchergebnis</h1> <UL> <LI> <a href="ShowDetail?ID=4711">Müller, Hans</a></LI> <LI> <a href="ShowDetail?ID=4243">Müller, Hugo</a></LI> <LI> <a href="ShowDetail?ID=1234">Müller, Karin</a></LI> </UL> </BODY> </HTML>

Website erstellen Was muß ich tun ? muß ich das alles selber machen ? Rechner im Netz (TCP/IP) haben Webserver installieren z.B. Apache, kommen wir noch dazu oder andere, z.B. Microsoft IIS HTML-Dateien erstellen von Hand, oder z.B. mit Frontpage in Verzeichnissen organisieren Zugriffsrechte festlegen fertig muß ich das alles selber machen ? nein, meistens über Provider (ISP, z.B. T-Online) ja, im Intranet firmeninternes Netzwerk - z.B. HitNet