1 / 10

Client Server Modell

Client Server Modell. Universität zu Köln Historisch-kulturwissenschaftliche Informationsverarbeitung Studium Integrale: IT-Zertifikat der Phil.-Fak.: Advanced IT Basics SS 2013 Maria Wagner, Laura Mißeler. Inhalt. Client Server Modell Beispiel für eine Kommunikation über http

suzuki
Télécharger la présentation

Client Server Modell

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Client Server Modell Universität zu Köln Historisch-kulturwissenschaftliche Informationsverarbeitung Studium Integrale: IT-Zertifikat der Phil.-Fak.: Advanced IT Basics SS 2013 Maria Wagner, Laura Mißeler

  2. Inhalt • Client Server Modell • Beispiel für eine Kommunikation über http • Statische Website • Dynamische Website

  3. Beispiel für eine Kommunikation über http Anfrage: GET infotext.html HTTP/1.1 host: www.example.net

  4. Beispiel für eine Kommunikation über http Antwort: HTTP/1.1 200 OK Server: Apache/1.3.29 (Unix) PHP/4.3.4 Content-Length: Content-Language: de Content-Type: text/html

  5. Statische Website Beispiel: <html><head><title>Textabsätze definieren</title></head><body><h1> Textabsätze und Überschriften definieren</h1><p>Hier beginnt ein Absatz, und hier ist er zu Ende.</p><p>Hier beginnt ein neuer Absatz, und hier ist er zu Ende.</p><h1>Dies ist eine Überschrift 1. Ordnung</h1><h2>Dies ist eine Überschrift 2. Ordnung</h2><b>Dieser Text wird fett dargestellt. </b>Dieser Text wird normal dargestellt. </body></html>

  6. Statische Website

  7. Dynamische Website Beispiel: if($_REQUEST['action']=="getpdf") { mysql_connect("servername","login","PW"); mysql_select_db("Datenbankname"); ... ?> <html> <head> <title>apachefriends.org cd collection</title> </head> <body> <h1><?=$TEXT['cds-head']?></h1> ... <h2><?=$TEXT['cds-head1']?></h2> <table> <tr> <td><imgsrc=img/blank.gif></td> <td><b><?=$TEXT['cds-attrib1']?></b></td> <td><b><?=$TEXT['cds-attrib2']?></b></td> <td><b><?=$TEXT['cds-attrib3']?></b></td> <td ><b><?=$TEXT['cds-attrib4']?></b></td> </tr>... </table> </body> </html>

  8. Dynamische Website

  9. DANKE FÜR EURE AUFMERKSAMKEIT !

More Related