Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How the Internet Works

How the Internet Works

By Konstantin Tennhard

Rails Girls Frankfurt

March 25, 2013
Tweet

More Decks by Rails Girls Frankfurt

Other Decks in Education

Transcript

  1. A user’s point of view Your browser just retrieved a

    web page for you – in less than a fraction of a second. That’s it. As a user you don’t need to understand anything else. That’s the beauty of the Internet – it’s easy.
  2. A developer’s point of view There just happened a lot:

    Network requests were issued, resources were obtained, and finally a visual representation was generated and presented to the user.
  3. Informal Protocol For users, there are often multiple ways to

    communicate with a computer and they are usually less formalized. Formal Protocol Communication between electronic entities, e.g., servers and clients, is formalized and therefore follows strict rules.
  4. Informal Protocol For users, there are often multiple ways to

    communicate with a computer and they are usually less formalized. Formal Protocol Communication between electronic entities, e.g., servers and clients, is formalized and therefore follows strict rules.
  5. HTTP Hyper Text Transfer Protocol GET / HTTP/1.1 Host: railsgirls.com

    HTTP/1.1 200 OK Content-Length: 2785 Content-Type: text/html <!doctype html> <html lang="en"> <!-- Content omitted --> </html>
  6. Types of Resources Generated Data • Documents (HTML, XML, JSON)

    Static Files • Documents (HTML, XML, JSON) • Code (JavaScript, CSS) • Images (PNG, JPG, GIF, etc.) • Videos
  7. Hyper Text Markup Language HTML <html> <head> <title>Rails Girls</title> </head>

    <body> <p>Hello Rails Girls Frankfurt!</p> </body> <html> Hello Rails Girls Frankfurt!
  8. Cascading Style Sheets CSS p { text-align: center; font-weight: bold;

    font-family: sans-serif; font-size: 36px; } Hello Rails Girls Frankfurt!