Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.

Slides:



Advertisements
Similar presentations
Chapter 1 © 2014 by Pearson Education A Brief Intro to the Internet - Origins - ARPAnet - late 1960s and early 1970s - Network reliability - For.
Advertisements

HTTP By: Becky Fultz, Joe Flager, Katie Huston, Tom Packard, Allison Wilsey.
Layer 7- Application Layer
Chapter 1 © 2002 by Addison Wesley Longman, Inc. 1 Chapter 1 Sebesta: Programming the World Wide Web.
Cornell CS502 Web Basics and Protocols CS 502 – Carl Lagoze Acks to McCracken Syracuse Univ.
1 The HyperText Transfer Protocol: HTTP Nick Smith Stuart Alley Tara Tjaden.
COS 381 Internet/Intranet Programming DAY 1. © 2006 Pearson Addison-Wesley. All rights reserved. 1-2 Agenda Roll Call Introductions Blackboard Syllabus.
CP476 Internet Computing Browser and Web Server 1 Web Browsers A client software program that allows you to access and view Web pages on the Internet –Examples.
Lecture 4 Web browsers, servers and HTTP Boriana Koleva Room: C54
Chapter 1 Internet & Web Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D. 1.
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 Programming ICS213, 1 / 2011 Dr. Seung Hwan Kang.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 7 The Application Layer.
Chapter 1 © 2003 by Addison-Wesley, Inc A Brief Intro to the Internet - Origins - ARPAnet - late 1960s and early 1970s - Funded by DoD - Purpose:
FTP (File Transfer Protocol) & Telnet
Chapter 1 © 2003 by Addison-Wesley, Inc A Brief Intro to the Internet - Origins - ARPAnet - late 1960s and early 1970s - Network reliability - For.
Copyright © Curt Hill The Internet An Introduction.
Chapter 1 © 2005 by Addison Wesley Longman, Inc A Brief Intro to the Internet - Origins - ARPAnet - late 1960s and early 1970s - Network reliability.
1Computer Sciences Department. Web Design 3Computer Sciences Department.
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.
Chapter 8 The Internet: A Resource for All of Us.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
1 Web Development & Design Foundations with XHTML Chapter 1 Key Concepts.
Chapter 1 Fundamentals. © 2006 Pearson Addison-Wesley. All rights reserved A Brief Intro to the Internet - Origins - ARPAnet - late 1960s and.
Chapter 1 © 2013 by Pearson A Brief Intro to the Internet - Origins - ARPAnet - late 1960s and early 1970s - Network reliability - For ARPA-funded.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.
Web Client-Server Server Client Hypertext link TCP port 80.
Chapter 1 © 2003 by Addison-Wesley, Inc. 1 Chapter 1 Fundamentals.
The Internet. Definition: Network of networks. Began in 1969, DOD project called ARPANET. Early 1980’s NSF creates NSFnet NSF takes over both by mid ’80’s.
CHAPTER 1 Internet & World Wide Web. Topics A Brief Introduction to the Internet The World Wide Web Web Browsers Web Servers Uniform Resource Locator.
Chapter 1 Fundamentals. © 2006 Pearson Addison-Wesley. All rights reserved A Brief Intro to the Internet - Origins - ARPAnet - late 1960s and.
Application Layer Honolulu Community College Cisco Academy Training Center Semester 1 Version
CS2043 Internet Visual Prog. / Appl. An introduction to Internet visual programming and applications. Major topics include object-oriented concepts, graphical.
WWW: an Internet application Bill Chu. © Bei-Tseng Chu Aug 2000 WWW Web and HTTP WWW web is an interconnected information servers each server maintains.
TCP/IP (Transmission Control Protocol / Internet Protocol)
Chapter 1 Fundamentals. Internet History Internet Protocols.
Chapter 1 © 2009 by Addison Wesley Longman, Inc A Brief Intro to the Internet - Origins - ARPAnet - late 1960s and early 1970s - Network reliability.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications  app architectures  app requirements r 2.2 Web and HTTP.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
Web Technologies Lecture 1 The Internet and HTTP.
Web Design A Brief Intro to the Internet Internet History Internet Protocols 2.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
CS 6401 The World Wide Web Outline Background Structure Protocols.
CSI 3125, Preliminaries, page 1 Networking. CSI 3125, Preliminaries, page 2 Networking A network represents interconnection of computers that is capable.
Fundamentals. A Brief Intro to the Internet - Origins - ARPAnet - late 1960s - Network reliability - For ARPA-funded research organizations - BITnet,
JavaScript and Ajax (Internet Background) Week 1 Web site:
ULI101 – XHTML Basics (Part I) Internet / Web Concepts Brief History TCP/IP Web Servers / Web Browsers URL HTTP / HTML.
1 Unraveling the Web: How Does it All Work?. 2 Web Enabling Technologies F TCP/IP network (Internet & others) F URLs F HTTP protocol and HTTP Servers.
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
Chapter 1 © 2009 by Addison Wesley Longman, Inc A Brief Intro to the Internet - Origins - ARPAnet - late 1960s and early 1970s - Network reliability.
INTRODUCTION Dr Mohd Soperi Mohd Zahid Semester /16.
 J.C.R. Licklider › envisioned "Galactic Network" concept - a globally interconnected set of computers through which everyone could quickly access data.
Web Development & Design Foundations with XHTML Chapter 1 Key Concepts 1.
HTTP – An overview.
CISC103 Web Development Basics: Web site:
Tutorial (4): HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IS333D: MULTI-TIER APPLICATION DEVELOPMENT
CISC103 Web Development Basics: Web site:
1 Introduction to the Internet.
Chapter 1 Fundamentals.
1.1 A Brief Intro to the Internet
1.1 A Brief Intro to the Internet
1.1 A Brief Intro to the Internet
Presentation transcript:

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals

1-2 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.1 A Brief Intro to the Internet Internet History Internet Protocols

1-3 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.1 Internet History Origins ARPAnet - late 1960s and early 1970s Network reliability For ARPA-funded research organizations BITnet, CSnet - late 1970s & early 1980s and file transfer for other institutions NSFnet Originally for non-DOD funded places Initially connected five supercomputer centers By 1990, it had replaced ARPAnet for non-military uses Soon became the network for all (by the early 1990s) NSFnet eventually became known as the Internet

1-4 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.1 Internet History What the Internet is: A world-wide network of computer networks At the lowest level, since 1982, all connections use TCP/IP TCP/IP hides the differences among devices connected to the Internet

1-5 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.1 Internet Protocols Internet Protocol (IP) Addresses Every node has a unique numeric address Form: 32-bit binary number New standard, IPv6, has 128 bits (1998) Organizations are assigned groups of IPs for their computers Problem: By the mid-1980s, several different protocols had been invented and were being used on the Internet, all with different user interfaces (Telnet, FTP, Usenet, mailto

1-6 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Useful Websites What is an IP Address? What is Ipv6? Internet Protocol Version 6 (IPv 6) Specification

1-7 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.1 Internet Protocols Domain names Form: host-name.domain-names Last domain specifies the type of organization Fully qualified domain name - the host name and all of the domain names DNS servers - convert fully qualified domain names to IPs

1-8 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Taken From:

1-9 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Client and Server Clients and Servers are programs that communicate with each other over the Internet A Server runs continuously, waiting to be contacted by a Client Each Server provides certain services Services include providing web pages A Client will send a message to a Server requesting the service provided by that server The client will usually provide some information, parameters, with the request

1-10 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Client Server Model The client needs something  Initiates the conversation by requesting a resource from the server The server has (or has control of) a Resource  Responds to the client request May provide the needed resource May provide access to the needed resource May indicate that the requested resource is not available

1-11 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Client Server Model The client is normally a Web browser  Requests HTML documents from the server  Can parse and render HTML documents for viewing The server is normally a Web server  Can locate requested documents and return them to the client, or indicate when they are not found  or otherwise not available

1-12 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

1-13 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.2 The World-Wide Web A possible solution to the proliferation of different protocols being used on the Internet Origins Tim Berners-Lee at CERN proposed the Web in 1989 Purpose: to allow scientists to have access to many databases of scientific work through their own computers Document form: hypertext Pages? Documents? Resources? We’ll call them documents Hypermedia – more than just text – images, sound, etc.

1-14 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.2 The World-Wide Web Web or Internet? The Web uses one of the protocols, http, that runs on the Internet--there are several others (telnet, mailto, etc.)

1-15 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.3 Web Browsers Browsers are clients - always initiate, servers react (although sometimes servers require responses) Mosaic - NCSA (Univ. of Illinois), in early 1993 First to use a GUI, led to explosion of Web use Initially for X-Windows, under UNIX, but was ported to other platforms by late 1993 Most requests are for existing documents, using HyperText Transfer Protocol (HTTP) But some requests are for program execution, with the output being returned as a document

1-16 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.4 Web Servers Initiate network communication with servers by sending them URL's A URL can specify one of two different things: – The address of a data file stored on the server that is to be sent to the client – A program stored on the server that the client wants executed, with the output returned to the client. All the communication between the web client and web server uses the standard web protocol i.e. the HTTP.

1-17 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.4 Web Server Operation When a web server begins execution, it informs the OS under which it is running that it is now ready to accept incoming network connections through a specific port on the machine. Web servers run as background processes in the operating system Common Ancestry: All current Web servers came from either 1.The original from CERN 2.The second one, from NCSA

1-18 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.5 URLs General form: scheme:object-address The scheme is often a communications protocol, such as telnet or ftp For the http protocol, the object-address is: fully qualified domain name/doc path For the file protocol, only the doc path is needed

1-19 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.5 URLs Host name may include a port number, as in zeppo:80 (80 is the default, so this is silly) URLs cannot include spaces or any of a collection of other special characters (semicolons, colons and ampersands) The doc path may be abbreviated as a partial path The rest is furnished by the server configuration If the doc path ends with a slash, it means it is a directory

1-20 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.6 Multipurpose Internet Mail Extensions (MIME) Originally developed for Used to specify to the browser the form of a file returned by the server (attached by the server to the beginning of the document) type/subtype Examples: text/plain, text/html, image/gif, image/jpeg - Server gets type from the requested file name’s suffix (.html implies text/html) - Browser gets the type explicitly from the server

1-21 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.7 The HyperText Transfer Protocol The protocol used by ALL Web communications Request Phase - HTTP method domain part of URL HTTP ver. - Header fields - blank line - Message body An example of the first line of a request: GET /degrees.html HTTP/1.1

1-22 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.7 The HyperText Transfer Protocol: Methods GET - Fetch a document POST - Execute the document, using the data in body HEAD - Fetch just the header of the document PUT - Store a new document on the server DELETE - Remove a document from the server

1-23 Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1.7 HTTP Response Status line Response header fields blank line Response body Status line format: HTTP version status code explanation Example: HTTP/ OK (Current version is 1.1) Status code is a three-digit number; first digit specifies the general status 1 => Informational 2 => Success 3 => Redirection 4 => Client error 5 => Server error The header field, Content-type, is required