 J.C.R. Licklider › envisioned "Galactic Network" concept - a globally interconnected set of computers through which everyone could quickly access data.

Slides:



Advertisements
Similar presentations
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
Advertisements

Chapter 1 © 2014 by Pearson Education A Brief Intro to the Internet - Origins - ARPAnet - late 1960s and early 1970s - Network reliability - For.
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
Chapter 1 © 2002 by Addison Wesley Longman, Inc. 1 Chapter 1 Sebesta: Programming the World Wide Web.
How the web works: HTTP and CGI explained
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
2/9/2004 Web and HTTP February 9, /9/2004 Assignments Due – Reading and Warmup Work on Message of the Day.
Lecture 4 Web browsers, servers and HTTP Boriana Koleva Room: C54
INTRODUCTION TO WEB DATABASE PROGRAMMING
Computer Concepts 2014 Chapter 7 The Web and .
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
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.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.
Chapter 1: Introduction to Web
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.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
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.
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.
TCP/IP Protocol Suite 1 Chapter 22 Upon completion you will be able to: World Wide Web: HTTP Understand the components of a browser and a server Understand.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.
Copyright (c) 2010, Dr. Kuanchin Chen1 The Client-Server Architecture of the WWW Dr. Kuanchin Chen.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
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.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Chapter 1 © 2003 by Addison-Wesley, Inc. 1 Chapter 1 Fundamentals.
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.
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.
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.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.
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.
Fundamentals. A Brief Intro to the Internet - Origins - ARPAnet - late 1960s - Network reliability - For ARPA-funded research organizations - BITnet,
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Overview of Servlets and JSP
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.
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.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
National College of Science & Information Technology.
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.
HTTP – An overview.
JavaScript and Ajax (Internet Background)
CNIT 131 Internet Basics & Beginning HTML
E-commerce | WWW World Wide Web - Concepts
E-commerce | WWW World Wide Web - Concepts
Tutorial (4): HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IS333D: MULTI-TIER APPLICATION DEVELOPMENT
1 Introduction to the Internet.
Chapter 27 WWW and HTTP.
Chapter 1 Fundamentals.
1.1 A Brief Intro to the Internet
1.1 A Brief Intro to the Internet
COM 205 Multimedia Applications
An Introduction to the Internet and the Web
1.1 A Brief Intro to the Internet
COM 205 Multimedia Applications
Presentation transcript:

 J.C.R. Licklider › envisioned "Galactic Network" concept - a globally interconnected set of computers through which everyone could quickly access data and programs from any site (MIT, Aug 1962) › 1 st head of the computer research program at DARPA (Oct 1962)  Lawrence G. Roberts › develop the computer network concept & publish ARPANET (DARPA, 1967) › ARPANET had been turned over to the Defense Communications Agency  Ira Fuchs and Greydon Freeman (1981) › devised BITNET, which linked academic mainframe computers for electronic mail

 CSNET › National Science Foundation (NSF) developed the Computer Science Network (CSNET) (1981) to extend the ARPANET networking benefits for computer science departments at academic & research institutions. National Science FoundationComputer Science Network › The Internet protocol suite (TCP/IP) was standardized, and consequently, the concept of a world-wide network of interconnected TCP/IP networks, called the Internet, was introduced. (1982)Internet protocol suite › Commercial Internet service providers(ISPs) began to emerge in the late 1980s and early 1990s. Internet service providers 3

 INTERNET?  NETWORK?  WWW?

What is the internet?  A huge collection of computers connected by TCP/IP (Transmission Control Protocol/Internet Protocol) in a network  IP addresses › Set of four integers uniquely identifying each node › Example:  Since numbers are difficult to remember, the Internet evolved DNS addresses

 Computers are identified by unique numeric addresses  Form: 32-bit binary number  Example : to has 256 IP addresses  Written as four 8-bit numbers, separated by periods  Organizations are assigned groups of IPs for their computers 6

 Why domain names?  Form: host-name.domain-names  There maybe 2, 3 or more domain names.  First domain appears to the right of the hostname, is the domain of which the host is a part  Second domain gives the domain of which the first domain is a part  Last domain specifies the type of organization in which the host resides, largest domain in the site’s name  Example movies.comedy.abc.com 7

 Examples of last domain names › COM…EDU..NET..GOV specify ??? › Abbreviation for the country, ‘my’ for Malaysia, ‘se’ for Sweden and so forth  Fully qualified domain name - the host name and all of the domain names  DNS servers convert fully qualified domain names to IPs  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,mailto) 8

 DNS translates domain names to network addresses. For example: › altavista.com is  Separate domain administrations: › Defined types: COM, EDU, GOV, BIZ, TEL, NET, ORG, INFO, NAME, MOBI › Countries: US, JP, FR, MY, RU, CH, UK, etc.  Tree structured directory  A DNS address ( ftmk.utem.edu.my ) consists of: › Domain name for organizations ( ftmk.utem.edu.my )  institutional site name ( ftmk.utem )  top-level domain(tld) name ( edu.my ) › host name for individual machines ( ftmk)

 Max 255 characters per name  From 2 to 5 labels per domain name › faizal.uhost.co.tv has 4 labels  Labels of up to 63 characters  Allowable characters are A-Z, 0-9, and ‘-’  Domain names are not case sensitive › Other parts of a URL may be case sensitive  Trademark owners get preference

 A possible solution to the proliferation of different protocols being used on the Internet  Origins › Tim Berners-Lee at CERN proposed WWW in 1989 › Purpose: to allow scientists to have access to many databases of scientific work through their own computers › Document form: hypertext  Units of information on WWW › Pages? Documents? Resources? › We’ll call them documents  Documents – sometimes just text, usually with embedded links to other documents, also include images, sound, etc. 12

 Web allows computer users to locate and view multimedia- based documents on almost any subject over the Internet  Web is an application to share and access Web documents on top of the Internet › Other applications: , FTP, newsgroups, instant messaging, etc.  Founded by Tim Berners Lee of CERN, 1989  The WWW is not the Internet  Tim developed a technology for sharing information via hyperlinked text documents called HTML  Tim also wrote communication protocols to form the backbone of the WWW. He wrote the Hypertext Transfer Protocol (HTTP) – a communication protocol used to send information over the Web  Web documents (Web pages) are formatted in HyperText Markup Language(HTML) 13

 WEB BROWSER??  Mosaic (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  Browsers are clients that always initiate, servers react › Example : browser requests document from server, the server locates the doc and then sends it to the browser › Sometimes servers require responses..example?  Most requests are for existing documents, using HTTP but some requests are for program execution, with the output being returned as a document  Examples of current browsers…? 14

 Client software that allows users to access the Web’s rich content › Microsoft’s Internet Explorer, Mozilla’s Firefox, Apple’s Safari & Opera Software’s Opera  People use web browsers to access the information available on the Web & to share or exchange the content with other users  May include tools for , address book, news, Web authoring, etc.  May run programs in Java, Javascript, ActiveX, or Shockwave  Records data in Cookies, logs, cache

 A specialized software that responds to client requests (typically from a web browser) by providing resources such as HTML documents.  E.g. Apache HTTP Server, Microsoft Internet Information Server (IIS) etc.  Provides access to files  Runs programs in CGI, Perl, Java, C, etc.  May support relational database (Oracle, DB2, SQL Server, etc.)  May provide access to legacy applications  May log access requests

 All Web pages are addressed with URLs  Format: protocol:address › protocol may be  ftp, http, mailto, telnet, etc › address specifies  A server name  A directory path (optional)  A filename  Example: ›

 URL stands for Uniform Resource Locator  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  Host name may include a port number, as in anusuriya:80 (80 is the default, so this is silly)  URLs cannot include spaces or any of a collection of other special characters (semicolons, colons,...), so how to include a space or one of disallowed special characters in a URL???? 18

 Example URL of a specified document ›  How will be the above URL if the specified document is a directory rather than single document..?  What is the default file name searched by the server?  Server also can be configured to search for files with other names (we will learn about this during lab session )  URL vs URI vs URN, give an example, any idea? URL URN URI 19

 MIME stands for 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)  Form: 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  Experimental types › Subtype begins with x-, example, video/x-msvideo › Experimental subtypes are added to MIME specification stored in user’s Web server.  Experimental types require the server to send a helper application or plug-in so the browser can deal with the file 20

 Transactions between client and server › Client connects › Client makes one or more Requests › Server Responds to Requests › Client drops connection

 The protocol used by ALL WWW communications Request Phase Form HTTP method domain part of URL HTTP version Header fields blank line Message body  An example of the first line of a request: GET /cs.utem.edu.my/degrees.html HTTP/1.1  Most commonly used request 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 23

 Four categories of header fields: 1. General – For general information, such as date 2. Request – Included in request headers 3. Response – For response headers 4. Entity - Used in both request and response headers  Common request fields: › Accept: text/plain › Accept: text/*  If-Modified_since: date › Specifies that the requested file should be sent only if it has been modified since the given date  Common response fields: › Content-length: 488 › Content-type: text/html 24

 An example of HTTP request header GET /articles/news/today.asp HTTP/1.1 Accept: */* Accept-Language: en-us Connection: Keep-Alive Host: localhost Referer: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Accept-Encoding: gzip, deflate  The header of a request must be followed by a blank line, which is used to separate the header from the body of the request. 25

 Response has three parts:  1) HTTP version, response code, message  2) Header information › Date and time › Server type › Last modified date and time › Content type and length  3) Body (optional)

Status line Response header fields blank line Response body Status line format: HTTP version status code explanation Example: HTTP/ OK 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 Status code 404 is for?????

 The header field, Content-type, is required  An example of a complete response header: HTTP/ OK Date: Mon, 27 Jun :22:47 GMT Server: Apache/ (Unix) (Red-Hat/Linux) Last-modified: Wed, 26 Jun :12:29 GMT Accept-ranges: bytes Content-length: 75 Connection: close Content-type: text/html....

 Client-side scripting › Validates user input › Accesses the browser › Enhances Web pages with ActiveX® controls, applets, etc. › Manipulates browser documents  Client-side validation › Reduces number of requests that need to be passed to server  Client-side scripting limitations › Browser dependency › Viewable to users through View Source command  Example of Client-side scripting – JavaScript, VBScripts

 Server-side scripts › Provides programmers greater flexibility › Generates custom responses for clients › Contains greater programmatic capabilities than client-side equivalents › Has access to server-side software that extend server functionality › Example of server-side scripting – ASP, PHP, JSP, CGI/Perl 30

End of lecture..