Grundlagen des World Wide Web

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Grundlagen des World Wide Web - Presentation Transcript

    1. Digitale Bibliothek Verfügbar unter CC-BY-SA 3.0 Jakob Voß (sofern nicht anders angegeben) Jakob Voß Grundlagen des World Wide Web Digitale Bibliothek WS 2007/2008 Fachhochschule Hannover Informationsmanagement (BA) 1. Oktober 2007
    2. World Wide Web (WWW)
      • Das Internet
      • Das HTTP-Protokoll
      • HTML
      • CSS
    3. Internet
      • ab 1969: ARPANET
      • 1973-1983: TCP/IP
      • ab 1983: DNS
      • Telnet (1969), Email & FTP (1971), Usenet (1979), IRC (1988), WWW (1990)
    4. ARPANET
      • 1962: Idee eines globalen Computernetzwerks (Joseph Carl Robnett Licklider)
      • 1967: Defense Advanced Research Projects Agency (DARPA) fördert das Projekt
      • 1968: Realisierung des ARPANET
    5. ARPANET
        • 29. Oktober 1969: Erste Verbindung
      Bild: Comuter History Museum
    6. ARPANET
      • Bisher: Einzelne Direktverbindungen (Telefon)
      • Neu: Interface Message Processor (Router) und Paketbasierte Verbindungen
      Bild: Comuter History Museum
    7. ARPANET Bild: Comuter History Museum Das Netz Ende 1969
    8. TCP/IP
      • Skaliert besser als sein Vorgänger NCP
      • Unabhängig vom Betriebssystem
      • Adressierung mittels IP-Adressen
      • Parallele Verbindungen auf mehreren Ports
    9. IP-Adressen
      • IPv4: 32 Bit pro Adresse (4.294.967.296) z.B. 141.71.9.61 = 8D:47:09:3D
      • IPv6: 128 Bit pro Adresse (~ 3,4 · 10 38 ) HHHH:HHHH:HHHH:HHHH:HHHH:HHHH:HHHH:HHHH
      • Vergabe in Blöcken
        • z.B. 192.168.0.1/24 = 192.168.0. 1 bis 192.168.0. 254
      • Relevant bei IP-basierter Authentifizierung
    10. Domain Name System
      • Bis 1983: HOSTS.TXT
      • DNS: Name => IP-Adresse
      • Top-Level-Domain (TLD): .org, .de, .museum...
      • Subdomain: wikimedia.org, fh-hannover.de...
      • Beispiel: www.fakultaet3.fh-hannover.de
      • Vergabe Hierarchisch
    11. The Internet as we know it...
      • Tim-Berners-Lee (1989): Information Management: a proposal
    12. Das World Wide Web
      • 1990: Erster Webseite (http://info.cern.ch/)
      • 1991: Weitere Webserver
      • 1993: Mosaic-Browser
      • ...
      • Standards als Grundlagen
        • HTTP, URL, HTML ...
        • explizit patent- und lizenzfrei!
    13. URL
      • Protokoll (http, https...) http://
      • username:password@
      • Host
      • Portnummer :80
      • Pfad /archive/index.html
      • Query ?id=3&display=all
      • Fragment #msg13
      • URL-Kodierung beachten! (z.B. & = %26)
    14. HTTP
      • Request
      • Response
        • Cache-Control: private
        • Content-Type: text/html; charset=UTF-8
        • Content-Encoding: gzip
        • Server: gws
        • Content-Length: 1845
        • Date: Mon, 01 Oct 2007 09:05:53 GMT
        • 200 OK
        • GET /search?q=internet HTTP/1.1
        • Host: www.google.de
        • User-Agent: Mozilla/5.0 (...)
        • ...
        • Referer: http://www.wikipedia.de/wiki/Internet
      Relevant auch für Webserver-Logfiles
    15. HTTP-Status codes
      • 200 OK
      • 201 Created
      • ...
      • 300 Multiple Choices
      • 301 Moved Permanently
      • ...
      • 403 Forbidden
      • 404 Not Found
      • ...
    16. HTTP Request-Methoden
      • GET, POST (Anfrage, ggf. Formulardaten)
      • PUT, DELETE (Daten ändern)
      • HEAD (Status für Caching)
      • Von Anfang als Read/Write konzipiert!
      • Revival nach über 10 Jahren mit REST
        • Webservices
        • Web 2.0
    17. MIME-Types
      • M ultipurpose I nternet M ail E xtensions
      • Content-Types auch in HTTP
      • Registry bei der IANA
      • Beispiele
        • Content-Type: text/html; charset=utf-8
        • Content-Type: text/css
        • Content-Type: application/javascript
        • Content-Type: image/gif
        • ...
    18. Browser
      • Ursprünglich als allgemeines WWW-Werkzeug
      • Browser-Kriege und Standards
      • Inzwischen wieder allgemeines Werkzeug
      • Firefox-Plugins und Webanwendungen
      • Internet Explorer: Der Nutzer ist dumm
      • Firefox: Der Nutzer ist mündig
    19. 3 Ebenen einer Webseite
      • Inhalt HTML
      • Darstellung CSS
      • Verhalten JavaScript und Server-Skripte
    20. HTML
      • H yper t ext M arkup L anguage
      • Begonnen 1989 Tim-Berners-Lee
      • Turbulente Entwicklung in den 1990ern
      • Inzwischen W3C-Standard (XHTML 1.1)
    21. HTML
      • Auszeichnung mittels Tags
        • <h1> Einleitung </h1>
        • <hr /> = <hr></hr>
        • <a href= &quot;home.htm&quot; class= &quot;mylink&quot; > ...
      • Character Entities
        • & &amp;
        • < &lt; > &gt;
        • &quot; &quot; ' &apos;
        • Weitere in X HTML ( &nsp; = &#xA0; = &#160; )
    22. DOM-Baum html head body title h1 p Mein kleines Dokument Mein kleines Dokument Ist es nicht schön?!
    23. HTML-Quelltext
      • <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;>
      • <html>
      • <head>
      • <title>Mein kleines Dokument</title>
      • </head>
      • <body>
      • <h1>Mein kleines Dokument</h1>
      • <p>Ist es nicht sch&#xF6;n?</p>
      • </body>
      • </html>
    24. HTML-Elemente
      • title, script, link, meta...
      • p, div, h1, h2...
      • a, span, em...
      • img, caption...
      • table, tr, td, td
      • ul, ol, li
    25. Attribute
      • Jedem Element seine Attribute
      • Jedes Attribut nur einmal
      • Anführungszeichen nicht vergessen
      • Universal-Attribute
        • id, class
        • style
        • title, lang, dir
        • onclick, ondblclick, onmouseover, onmouseout...
    26. Aufwachen, Übung!
      • In folgendem XHTML-Fragment haben sich „einige“ Fehler eingeschlichen:
      • <p> <A href=&quot;htt:\opc4.tib.uni-hannover.de::8080/DB=4/CMD&ACT=SRCHA&IKT=1004&SRT=YOP&TRM=&quot;goethe&quot;&quot;>Suche nach Goethe</a class=&quot;link&quot;> (nicht G&ouml;the!) im Katalog <P>
    27. Mögliche Lösung
      • <p>< a href=&quot;htt p : // opc4.tib.uni-hannover.de : 8080/DB=4/CMD ? ACT=SRCHA &amp; IKT=1004 &amp; SRT=YOP &amp; TRM= %34 goethe %34 &quot; class=&quot;link&quot; >Suche nach Goethe</a> (nicht G& #xF6; the!) im Katalog </p>
    28. CSS: Einbindung
      • <head>
      • <link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot; />
      • ...
      • <style type=&quot;text/css&quot;>
      • .small { font-size: small; }
      • </style>
      • </head>
      • ...
      • <span class=&quot;small&quot;>Text</span>
      • ...
      • <span style=&quot;font-size: small;&quot; >Text</span>
      1 2 3
    29. CSS: Positionierung
      • Dynamische Positionierung
      • Type
        • display: block;
        • display: inline;
        • display: none
        • display: run-in;
      • Float
        • float: left;
        • float: right;
        • float: none;
      Bild: W3C
    30. Bild: CC-BY-2.0 by Jon Hicks
    31. CSS: Selektoren
      • * { ... }
      • a { ... }, a:hover { ... }
      • h1, h2 { ... }
      • .small { ... }
      • a.small { ... }
      • #navigation { ... }
      • td a { ... }
      • ...
    32. Ausprobieren
      • HTML/CSS ist Grundlage
      • „Use the Source, Luke!“
      • Firefox-Plugins
        • Web Developer Toolbar
        • Firebug
      • SelfHTML

    + nichtichnichtich, 2 years ago

    custom

    1298 views, 0 favs, 0 embeds more stats

    Vorlesung zu Grundlagen des WWW im Rahmen der Lehrv more

    More Info

    CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

    Go to text version
    • Total Views 1298
      • 1298 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 32
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as innappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel

    Categories