PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, 2000 1 PZ14B - Web pages Programming Language Design and Implementation.

Slides:



Advertisements
Similar presentations
Basic Internet Terms Digital Design. Arpanet The first Internet prototype created in 1965 by the Department of Defense.
Advertisements

4.01 How Web Pages Work.
What is the Internet? Internet: The Internet, in simplest terms, is the large group of millions of computers around the world that are all connected to.
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
The Internet Useful Definitions and Concepts About the Internet.
Origins of the Internet The Internet was started as a research project sponsored by the Advanced Research Projects Agency (ARPA) within the U.S. Dept.
The Internet. What is the Internet? A community with about 100 million users Available in almost every country about 160,000 people are added each month.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
Lesson 19 Internet Basics.
Internet Basics.
The Internet A brief overview Internet - An interconnected system of networks that connects computers around the world via the TCP/IP protocol. What.
©Brooks/Cole, 2003 Chapter 6 Computer Networks. ©Brooks/Cole, 2003 Understand the rationale for the existence of networks. Distinguish between the three.
Application Layer. Applications A program or group of programs designed for end users. A program or group of programs designed for end users. Software.
Internet Basics مهندس / محمد العنزي
Evolved from ARPANET (Advanced Research Projects Agency of the U.S. Department of Defense) Was the first operational packet-switching network Began.
HTML Comprehensive Concepts and Techniques Intro Project Introduction to HTML.
Internet Fundamentals and Background
CNIT 132 Intermediate HTML and CSS Course Overview.
Connecting one computer to another computer creates a network.
Lesson 2 — The Internet and the World Wide Web
CSCI-235 Micro-Computer Applications The Internet.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Introducing the Internet Source: Learning to Use the Internet.
Copyright © Curt Hill The Internet An Introduction.
Web Mastering Module Internet Fundamentals. What is the Internet? –Global network of networks –Communicating using same set of rules (protocols/languages)
Introduction to the Internet. What is the Internet The Internet is a worldwide group of connected networks that allows public access to information and.
Internet Technology I د. محمد البرواني. Project Number 3 Computer crimes in the cybernet Computer crimes in the cybernet Privacy in the cybernet Privacy.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
History of the Internet and Internet Basics AGED 4143 Electronic Communications in Agriculture.
How did the internet develop?. What is Internet? The internet is a network of computers linking many different types of computers all over the world.
The Internet Presented by Frank H. Osborne, Ph. D. © 2005 Revised July 2010 by Jeanne Osborne ID 2950 Technology and the Young Child.
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
Introduction To Internet
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
An Overview of the Internet: The Internet: Then and Now How the Internet Works Major Features of the Internet.
The Internet. Network - Collection of computers and devices connected together via communications devices Internet - Worldwide collection of networks.
ECT 270 Client-side Web Application Development Professor Robin Burke.
Communication, Networks, The internet and the Worldwide Web.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
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.
Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 3-1.
Introduction to Internet. What is Internet? A network of networks A network of networks Internet is a network made of lots of interconnected networks.
INTERNET. Objectives Explain the origin of the Internet and describe how the Internet works. Explain the difference between the World Wide Web and the.
The Internet Lecture 16 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Introduction to Internet. Chapter 1 Objectives Origins of the Internet Packets and Routers TCP/IP DNS HTTP URL Client-Server.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
TCP/IP (Transmission Control Protocol / Internet Protocol)
CONTENTS  Definition And History  Basic services of INTERNET  The World Wide Web (W.W.W.)  WWW browsers  INTERNET search engines  Uses of INTERNET.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Application of the Internet 1998/12/09 KEIO University, JAPAN Mikiyo
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
Web pages Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
ULI101 – XHTML Basics (Part I) Internet / Web Concepts Brief History TCP/IP Web Servers / Web Browsers URL HTTP / HTML.
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)
Introduction to … Internet. Introducing the World Wide Web A network is a structure linking computers together for the purpose of sharing resources such.
CIS 1203 Web Technologies Introduction to the Internet and the WWW.
4.01 How Web Pages Work.
JavaScript and Ajax (Internet Background)
CNIT 131 Internet Basics & Beginning HTML
Evolution of Internet.
Internet.
Web Design & Development
COM 205 Multimedia Applications
Lesson 19 Internet Basics.
Web pages Programming Language Design and Implementation (4th Edition)
4.01 How Web Pages Work.
COM 205 Multimedia Applications
Presentation transcript:

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, PZ14B - Web pages Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, ARPANET Initial idea was by Defense Advanced Research Project Agency (DARPA) project in late 1960s for a national defense network began a project to see whether several computers, widely separated geographically, could be linked together to enable users at a terminal on one system to access the resources on another computer. Initial military concept: provide access to computers if some communications lines are destroyed by building a network where data communications traffic could dynamically adapt to changing conditions. data communications -sending messages reliably from one computer to another- was the major obstacle. The initial ARPANET began in 1970 as a three-node network linking BBN in Cambridge, Massachusetts, with UCLA and SRI in California using 56 kilobit lines. Sites added until several hundred by mid-1970s

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, ARPANET communications Communication between two computers was handled via messages. A message was broken down into fixed-length strings called packets, and the packets were sent from computer to computer until the original message was reassembled at the receiving node. To ensure that messages destined for another computer arrived reliably, a formal communication model - called a protocol -was developed. For the ARPANET, this developed as the Transmission Control Program/ Internet Protocol (TCP/IP). TCP/IP was a low-level communication mechanism that simply determined that a sequence of bytes destined for a specific computer arrived there uncorrupted. It was generally too complex for users to use directly for accessing a computer.

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, User protocols Telnet is a protocol that makes the sending computer - the computer the user is actually working on -behave like a terminal connected to the distant computer. - user is connected to a client computer, which acts like a terminal, and the terminal program is communicating using the telnet protocol to a distant host computer, which is providing the server program. SMTP is Simple Mail Transport Protocol. This provides the basic (electronic mail) that has become so ubiquitous today FTP is File Transfer Protocol. One would invoke the FTP client on a local machine, log onto the distant server machine using the FTP protocol, and then retrieve the desired documents from the distant machine or send documents from the user's machine to the distant machine.

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, Weaknesses in FTP one had to know explicitly which machine to access to retrieve the desired data. One also had to have access to the files of that machine to retrieve the information. The anonymous login partially solved that. One had to know exactly where on the file system the desired information was. Despite these weaknesses, FTP was the standard file transmission mechanism for many years until the web changed all that.

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, Birth of the Internet In the mid-1980s, ARPA decided to stop supporting the ARPANET. As a research activity, the concept had been proved, and ARPA was not in the business of providing what was becoming a commercial service. The U.S. National Science Foundation (NSF) took over the backbone network in the United States -the set of high-speed telephone lines that provided the basic TCP/IP communications traffic between host computers as a way to link universities together. The name of the network gradually evolved into the Internet. NSF support stopped. Attached to this backbone, local networks (a state, a university, a large company) were added until the Internet became this amorphous collection of computers all continually chattering to one another. Commercial providers, now called Internet Service Providers (ISP) established links to the Internet so that individuals on their home computers could use a modem to dial into their local ISP to be on the Internet.

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, The World Wide Web By the late 1980s, widespread interest to easily transfer files. FTP was a cumbersome process. Systems like gopher, archie, veronica developed Physicists -principally Tim Berners-Lee at CERN in Geneva -desired a mechanism to access and transfer documents by computer that was simpler than the standard FTP server. They developed the concept of a semantic description language. One server program would display a document, and a client program, called a browser, would read and understand the displayed document. The power of their system was that the displayed document contained pointers to other documents called hypertext. An earlier version of hypertext was Apple Computer's HyperCard product for the Macintosh, but the real power of the CERN development was to allow hypertext links to documents that existed on other computers connected to the Internet.

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, HTTP The protocol developed was the HyperText Transport Protocol (HTTP). Http an addition to TELNET, FTP, and SMTP protocols discussed earlier. Release of the first MOSAIC browser in 1993 led to rapid growth of the web. Each pointer became known as a Uniform Resource Locator (URL). Document location was reduced to: invoking a Web browser on your local machine, typing in a URL for the document you wanted to access, connecting to a Web server on the distant machine that contained the location of the typed in URL, displaying the document obeying the HTTP protocol. HTML language based upon SGML - to be explained later.

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, Web navigation

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, Prentice Hall example of navigation 1. The user types in the URL for the home page. This URL consists of: a Domain name ( and a file on that machine(users/mvz/pzbook). 2. The Web browser sends the domain name to one of several special Internet machines called Domain Name Servers} (DNS). The DNS returns the Internet Protocol address of the desired web page. 3. The web browser sends the file name to the Web server at IP address A HTTP Daemon (HTTPD) program on this machine is the main interface between a web server and the Internet. 4. The Web server appends the name index.html because the given file was a directory and not a file. 5. The contents of the file are sent back to the Web browser and displayed to the user. 6. If the user now clicks on the URL for Prentice-Hall that appears on the Web page ( the process is repeated and the Prentice-Hall server at IP address is accessed and the appropriate Web page is displayed.

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, Portals To make navigation easier, certain Web sites are now known as portals -entrance sites to the WWW. These sites have programs known as search engines. A search engine is a query processor in which you enter a question. The result of that query is a list of WWW locations that answer the question. Search engines often operate as Web crawlers. Beginning at one location, the Web crawler follows all links on that Web page to find other Web pages.

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, SGML Structured General Markup Language is basis of SGML an unstructured sequence of characters within the text can be SGML elements. The semantics of elements are unspecified, but their syntax is given. elements are bracketed by a start-tag and an end-tag notation. I am a zork identifies “I am a zork” as the contents of the zork element. A report in SGML: SGML handles semantic content, not presentation

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, HTML An instance of SGML with a defined syntax for Web pages title of document text of document Problem: SGML is semantic content, not layout (presentation). How to handle things like: Major heading - What font and font size to use? - Where on page to place heading? Elements like move away from pure semantic content

PZ14B Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, Links in HTML HTML contains: Embedded text URLs: Links to other web pages Images: MAILTO: protocol (Send ) Executable pages (CGI scripts. To be discussed soon)