The WWW Willem Visser RW334. Internet A global network of networks connecting computers using the internet protocol.

Slides:



Advertisements
Similar presentations
HTTP Request/Response Process 1.Enter URL ( in your browser’s address bar. 2.Your browser uses DNS to look up IP address of server.com.
Advertisements

Networking Basics CCNA 1 Chapter 11
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
The Internet Useful Definitions and Concepts About the Internet.
Networking Theory (part 2). Internet Architecture The Internet is a worldwide collection of smaller networks that share a common suite of communication.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
Internet Basics.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
CSE 154 LECTURE 1: BASIC HTML AND CSS. The Internet Wikipedia: a connection.
Process-to-Process Delivery:
Internet Vulnerabilities & Criminal Activities 1.2 – 9/12/2011 Structure of Internet Communications 1.2 – 9/12/2011 Structure of Internet Communications.
CMPT Web Programming Introduction and Basic HTML.
CSCI 323 – Web Development Chapter 1 - Setting the Scene We’re going to move through the first few chapters pretty quick since they are a review for most.
INTRODUCTION TO WEB DATABASE PROGRAMMING
CS 299 – Web Programming and Design CS299: Web Programming and Design Instructor: Dr. Fang (Daisy) Tang.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Lesson 24. Protocols and the OSI Model. Objectives At the end of this Presentation, you will be able to:
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
Chapter 1: Introduction to Web
CS134 Web Design & Development Introduction to the Internet Mehmud Abliz.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Okay, here’s a scenario… You’re sitting at a computer…. Type in www. yourcompany.com As soon as you click on search your browser will ask your Operation.
JavaScript Tutorial 1 - Introduction to JavaScript WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: Introduction to JavaScript (NON.
TCP/IP Transport and Application (Topic 6)
1 Figure 3-2: TCP/IP Standards (Study Figure) Origins  Defense Advanced Research Projects Agency (DARPA) created the ARPANET  An internet connects multiple.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
WEB SCIENCE. What is the difference between the Internet and the World Wide Web? Internet is the entire network of connected computers and routers used.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1. I NTRODUCTION TO N ETWORKS Network programming is surprisingly easy in Java ◦ Most of the classes relevant to network programming are in the java.net.
1 Welcome to CSC 301 Web Programming Charles Frank.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
The Web and Web Services Jim Graham NR 621 Spring 2009.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
Introduction to Internet. Chapter 1 Objectives Origins of the Internet Packets and Routers TCP/IP DNS HTTP URL Client-Server.
TCP/IP (Transmission Control Protocol / Internet Protocol)
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Web Technologies Lecture 1 The Internet and HTTP.
Internet Overview (Chapter 1 in [2]). 2 Outline History of the Internet History of the Internet Seven Layers of the OSI Model Seven Layers of the OSI.
Reading TCP/IP Protocol. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Introduction to the World Wide Web & Internet CIS 101.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
COMPUTER NETWORKS Hwajung Lee. Image Source:
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
CSE541: Web Applications Special Thanks to M. Abdur Rahman.
CIS 1203 Web Technologies Introduction to the Internet and the WWW.
National College of Science & Information Technology.
Internet and World Wide Web Introduction to the Internet.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
CS299: Web Programming and Design Instructor: Dr. Fang (Daisy) Tang
Web fundamentals: Clients, Servers, and Communication
Computer Networks.
Topic 5: Communication and the Internet
Web Design & Development
Process-to-Process Delivery:
Networking Theory (part 2)
Introduction and Basic HTML
Networking Theory (part 2)
Presentation transcript:

The WWW Willem Visser RW334

Internet A global network of networks connecting computers using the internet protocol suite (TCP/IP) The WWW is built on top of the internet using hyperlinked web pages to display information

OSI vs. TCP/IP Stack Layering: FTP Example Network Link Transport Application Presentation Session Transport Network Link Physical The 7-layer Open System Interconnection Model The 4-layer Internet model Application FTP ASCII/Binary IP TCP Ethernet

TCP/IP Transmission Control Protocol/Internet Protocol IP is at the Network Layer TCP is at the Transport Layer UDP – Forgotten stepchild in all of this – User Datagram Protocol – Essentially Exposes IP functionality at the Transport Layer IP TCPUDP Network Transport

Internet Protocol Routing packets Connectionless No guarantees of delivery – Best Effort delivery Out of order delivery Only packet header is guaranteed to be error- free due to checksum usage

Transmission Control Protocol TCP is built on top of IP Two-way connections – Write here, see there and vice versa Reliable – Destination assembles packets in order – Resend if packet doesn’t make it Continuous byte-stream – The order is preserved from sender to receiver Flow Control – If network gets congested the ACK packets are spaced out Use sliding window to improve performance

TCP multiplexing: multiple programs using the same IP address – port: a number given to each program or service – port 80: web browser – port 25: – port 22: ssh – port 5190: AOL Instant Messenger – ort_numbers ort_numbers

TCP vs IP IP is like sending a long letter as a lot of short postcards, each one taking a potentially different route to its destination. IP is communication between computers TCP is communication between applications TCP/IP – TCP takes care of the communication between your application software (i.e. your browser) and your network software. – IP takes care of the communication with other computers. – TCP is responsible for breaking data down into IP packets before they are sent, and for assembling the packets when they arrive. – IP is responsible for sending the packets to the correct destination.

IP Addresses Encodes both the Network and the Host IPv4 – 32 bits, i.e. 4 bytes and thus values 0…255 – Running out of addresses IPv6 (will soon take over) – 128 bits IP addresses are assigned statically or dynamically (using Dynamic Host Configuration Protocol) Network Host

Domain Names is a domain name Much easier to remember than – Which is exactly the same thing! Domain Name System (DNS) servers converts domain names into IP addresses – Often just Domain Name Servers or DNS

Standards Organizations World Wide Web Consortium (W3C)W3C – web standards Internet Engineering Task Force (IETF):IETF – internet protocol standards Internet Corporation for Assigned Names and Numbers (ICANN):ICANN – domain names

The Players Web Browsers – Software Application – Displays web pages – IE, Firefox, Chrome, Safari, Opera, etc. Web Servers – Machine running web server software that listens on TCP port 80 for web page requests (from browsers) – Apache, Microsoft Internet Information Server, etc.

Hypertext Transfer Protocol HTTP is the language of the WWW – Commands sent from a web browser, the request – Understood by a web server, which sends a response – You hardly ever see these, since the browser handles them internally Application layer – Above TCP (Transport) which is above IP (Network) Tim Berners-Lee first proposed the "WorldWideWeb" project in 1989 – With Robert Cailliau wrote the formal version in 1990 – Credited with inventing the original HTTP protocol along with HTML and the associated technology for a web server and a text-based web browser – First version of HTTP standard only had GET command Commands – GET filename : download – POST filename : send a web form response – PUT filename : upload

Hypertext Transfer Protocol Sample Commands – GET filename : download – POST filename : send a web form response – PUT filename : upload Don’t need a browser in fact, one can just telnet into port 80

HTTP Return Codes HTTP returns a code in its response, possibly followed by HTML content Some of the common codes: – 200 OK – 404 Page Not Found – 500 Internal Server Error Code classes: – 1XX Informational – 2XX Success – 3XX Redirection – 4XX Client Error – 5XX Server Error Complete list is here:

Uniform Resource Locator Subclass of URI (Uniform Resource Identifier) – But few care about this and just stick with URL – URI also contains Uniform Resource Name (URN) URN is analogous to a person’s name URL is analogous to a person’s street address URL: – Protocol: http – Host: – Path: /rw334/Marks.xls upon entering this URL into the browser: – it would ask the DNS server for the IP address of – connect to that IP address at port 80 – ask the server to GET /rw334/Marks.xls – display the resulting page on the screen

More URLs anchor: jumps to a given section of a web page – – the above URL fetches index.html and then jumps downward to a part of the page labeled downloads port: for web servers on ports other than the default 80 – query string: a set of parameters passed to a web program – – the above URL asks the server at to run the program named search and pass it two parameters: q (set to "miserable+failure") start (set to 10)

Web Technologies Hypertext Markup Language (HTML)HTML – used for writing web pages Cascading Style Sheets (CSS)CSS – supplies stylistic info to web pages Javascript: Javascript – allows interactive and programmable web pages Asynchronous Javascript and XML (AJAX)AJAX – allows fetching of web documents in the background for enhanced web interaction PHP Hypertext Processor (PHP)PHP – allows the web server to create pages dynamically

HTML It is not WYSIWYG – What you write is not what you see in the browser Next generation HTML: – XHTML (started 2000) XML +HTML – HTML5 is the new future (combining HTML and XHTML) New features to handle multimedia Very far from a recommended standard from W3C, but the reality is that many browsers support it already

Cascading Style Sheets (CSS) describe the appearance, layout, and presentation of information on a web page – as opposed to HTML, which describes the content of the page describe how information is to be displayed – not what is being displayed can be embedded in HTML document or placed into separate.css file – advantage of.css file one style sheet can be shared across many HTML documents

Javascript No relation to JAVA – Although you’d be more and more surprised to what lengths SUN and Netscape seemed to have gone to make this non-relationship even more confusing! Client-side scripting language – Functional, borrowing syntax from C Browsers offer support for its execution (with a VM) Nowadays there is also server-side Javascript Example: – – Best practice to embed the JS within a file

Javascript Example function displayDate() { document.getElementById("demo").innerHTML=Date(); } My First Web Page This is a paragraph. Display Date

Asynchronous Javascript and XML AJAX Client-side interactive webpages – Old days pages got loaded all at once Retrieve data from the server asynchronously in the background without interfering with the display and behaviour of the existing page Avoids full browser reloads

PHP Hypertext Processor General purpose scripting language Widely used for generating dynamic webpages Embedded in the HTML and executed on the server-side to generate the page to be displayed – PHP processor runs on the web-server

Roadmap Server-side architectures Google App Engine Google Web Toolkit Security Web APIs AJAX using jQuery Scalability Testing