MISY 322 CHAPTER 1 Introduction to Internet. CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung 2003.2 Outline WWW and Internet.

Slides:



Advertisements
Similar presentations
Overview Environment for Internet database connectivity
Advertisements

DT228/3 Web Development WWW and Client server model.
Project 1 Introduction to HTML.
Chapter Concepts Review Markup Languages
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
Introduction to Web Database Processing
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
Introduction to Web Interface Technology (CSE2030)
Introduction to Web Interface Technology (CSE2030)
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
1st Project Introduction to HTML.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
INTRODUCTION TO WEB DATABASE PROGRAMMING
CS 299 – Web Programming and Design CS299: Web Programming and Design Instructor: Dr. Fang (Daisy) Tang.
Chapter 4 Telecommunications, the Internet, Intranets, and Extranets
CNIT 132 Intermediate HTML and CSS Course Overview.
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.
CS134 Web Design & Development Introduction to the Internet Mehmud Abliz.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
1 Web Development & Design Foundations with XHTML Chapter 1 Key Concepts.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
1 Welcome to CSC 301 Web Programming Charles Frank.
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)
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"
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 1.
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 Designs & Languages. The World Wide Web Affectionately called “ The Web ” It is a collection of information stored on the networked computers over.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
JavaScript and Ajax (Internet Background) Week 1 Web site:
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)
Web Page Programming Terms. Chapter 1 Objectives Describe Internet and Understand Key terms Describe World Wide Web and its Key terms Identify types and.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
Web Development & Design Foundations with XHTML Chapter 1 Key Concepts 1.
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.
Introduction to the Internet
4.01 How Web Pages Work.
CS299: Web Programming and Design Instructor: Dr. Fang (Daisy) Tang
Web fundamentals: Clients, Servers, and Communication
4.01 How Web Pages Work.
Distributed Control and Measurement via the Internet
Project 1 Introduction to HTML.
Introduction to the WWW
WWW and HTTP King Fahd University of Petroleum & Minerals
CISC103 Web Development Basics: Web site:
Chapter 1 Introduction to HTML.
Web Designs & Languages
Introduction To Web Design
Project 1 Introduction to HTML.
Web Design Introduction to the Internet Week One
CISC103 Web Development Basics: Web site:
1 Introduction to the Internet.
Chapter 27 WWW and HTTP.
ACT102 Introduction to web design
Web Design & Development
CS134 Web Design & Development
ACT102 Introduction to web design
Web Page Concept and Design :
Introduction to World Wide Web
4.01 How Web Pages Work.
Web Programming : Building Internet Applications Chris Bates CSE :
Presentation transcript:

MISY 322 CHAPTER 1 Introduction to Internet

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Outline WWW and Internet WWW and Internet Web Server and Web Clients Web Server and Web Clients How does the WWW work? How does the WWW work? Who defines the Web standards? Who defines the Web standards? Web Programming Languages Web Programming Languages –Markup Languages HTML, WML, XML, XHTML HTML, WML, XML, XHTML –Client-side & Server-side Scripting JavaScript, VBScript, Java Servlets, ASP, JSP JavaScript, VBScript, Java Servlets, ASP, JSP

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung The World Wide Web Affectionately called “ The Web ” Affectionately called “ The Web ” It is a collection of information stored on the networked computers over the world. It is a collection of information stored on the networked computers over the world. The WWW was proposed in 1991 by Tim Berners-Lee at CERN. The WWW was proposed in 1991 by Tim Berners-Lee at CERN.

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Web or Internet? They are not the same things. They are not the same things. The Internet is a collection of computers or networking devices connected together. The Internet is a collection of computers or networking devices connected together. –They have communication between each other. –Decentralized design that there is no centralized body controls how the Internet functions. The Web is a collection of documents that are interconnected by hyper-links. The Web is a collection of documents that are interconnected by hyper-links. –These documents are accessed by web browsers and provided by web servers.

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Internet Terminology Client Client –Any computer on the network that requests services from another computer on the network. Server Server –Any computer that receives requests from client computers, processes and sends the output. Web Page Web Page –Any page that is hosted on the Internet. Web Development Web Development –The process of creating, modifying web pages.

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Web Browser (Web Client) It is a program that retrieves information from the Web. It is a program that retrieves information from the Web. –Microsoft Internet Explorer Most commonly used browsers Most commonly used browsers –Netscape, Mosaic Many different computing platforms Many different computing platforms –Opera The fastest browser on Earth The fastest browser on Earth –Lynx Text based web client Text based web client

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Web Server It is a program that waits for requests from the web browser. It is a program that waits for requests from the web browser. It provides four major functions It provides four major functions –Serving web pages –Running gateway programs (CGI) and returning output –Controlling access to the server –Monitoring and logging all access E.g. Apache, IIS, Netscape Web server, … E.g. Apache, IIS, Netscape Web server, …

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Web connection

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung How does the Web work? The web information is stored in the Web pages. The web information is stored in the Web pages. –In HTML format. The web pages are stored in the computers called Web servers. The web pages are stored in the computers called Web servers. –In the Web server file system. The computer reading the pages is called web clients with specific web browser. The computer reading the pages is called web clients with specific web browser. –Most commonly Internet Explorer or Netscape. The web server waits for the request from the web clients over the Internet. The web server waits for the request from the web clients over the Internet. –Internet Information Server (IIS) or Apache.

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung The HTTP Request/Response Model Client Server Request Response HTML Codes … Program / Scripts

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung HTTP HTTP (Hypertext Transfer Protocol) HTTP (Hypertext Transfer Protocol) –protocol used to access data on the WWW. –uses one TCP connection on well-known port 80. –two types of http messages: Request, Response –transfer data in the form of plain text, hypertext, audio, video, and so on.

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Who defines the Web standards? The Web standards are not defined or setup by the browser companies or Microsoft, but the World Wide Web Consortium (W3C). The Web standards are not defined or setup by the browser companies or Microsoft, but the World Wide Web Consortium (W3C). The specifications form the Web standards. The specifications form the Web standards. –HTML, CSS, XML, XHTML, …

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Web Programming Languages The Web is no longer just presenting information on a computer screen. The Web is no longer just presenting information on a computer screen. –Many commercial sites include some methods of getting information from a browser to web servers. How do you program your web site such that it can interact with people? How do you program your web site such that it can interact with people? –With XML, data from spreadsheets, reports or other applications can be easily displayed on the Web. Can we learn XML without the understanding of HTML and other Web language? Can we learn XML without the understanding of HTML and other Web language?

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung The History of Markup In the early 1970s In the early 1970s –GML (the Generalized Markup Language) –“ :h1.The Content is placed here ” Since the 1980s Since the 1980s –SGML (the Standard GML) –HTML Currently Currently –XML Not intended to replace HTML! Not intended to replace HTML! XHTML does by providing better data description, … XHTML does by providing better data description, …

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung HTML HyperText Markup Language HyperText Markup Language It is not a programming language. It is not a programming language. –Cannot be used to describe computations. –Use to describe the general form and layout of documents to be displayed by the browser. Compose of “ Content ” and “ Controls ” Compose of “ Content ” and “ Controls ”

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung WML Wireless Markup Language Wireless Markup Language –Formerly called HDML (Handheld Devices Markup Languages) –Allows the text portions of web pages to be displayed on cell phones or PDAs via wireless media. –It is part of the Wireless Application Protocol (WAP).

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung XML eXtensible Markup Language (XML) eXtensible Markup Language (XML) It provides a standard way to represent information so as to allow information to be stored and interchanged among any Internet- connected devices. It provides a standard way to represent information so as to allow information to be stored and interchanged among any Internet- connected devices. –It is not a markup language. –It is a meta-markup language that specifies rules for creating markup languages. –Browsers use XML parsers to isolate and extract the information from XML documents.

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung XHTML The eXtensible HyperText Markup Language The eXtensible HyperText Markup Language –A Reformulation of HTML 4 in XML 1.0 –Consists all HTML predefined components combined with XML standards A way of making XML documents that look and act like HTML documents. A way of making XML documents that look and act like HTML documents. Using XHTML helps you strengthen the structure and syntax of your markup. Using XHTML helps you strengthen the structure and syntax of your markup.

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Cascading Style Sheets (CSS) Provides a powerful and flexible way to control the details of web documents. Provides a powerful and flexible way to control the details of web documents. HTML is more concerned about the content, CSS is used to impose a particular style on the document. HTML is more concerned about the content, CSS is used to impose a particular style on the document. Named cascading style sheets because they can be defined at three different levels to specify the style of a document. Named cascading style sheets because they can be defined at three different levels to specify the style of a document. –Inline, document level, external.

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Using Stylesheets to add presentation HTML Page CSS stylesheet Web browser Displayed page

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Client-Side and Server-side Programming Client-side code Client-side code –ECMAScript JavaScript, JScript – Microsoft JavaScript, JScript – Microsoft –VBScript – Microsoft –Embedded in elements and execute in the browser, provides immediate feedback to the user. –Reduces the load on a server, reduces network traffic. Server-side code Server-side code –Execute on the server –CGI/Perl, ASP, PHP, ColdFusion, JSP –The code remains hidden from users, and browser independent. Can be combined with good results. Can be combined with good results.

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Client-side & Server-side Technologies Client-SideServer-Side HTML, XML Cascading Style Sheets (CSS) Scripting languages - JavaScript, VBScript Java Applets ActiveX controls Plug-ins and Helpers application CGI/PerlPHPColdFusion Scripting Languages - Server-side JavaScript - ASP, JSP, Java Servlets ISAPI/NSAPI programs

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung JavaScript There is no relationship between Java and JavaScript – misleading! There is no relationship between Java and JavaScript – misleading! It provides a computational capability in web documents. It provides a computational capability in web documents. It is used in creating, accessing, modifying a document. It is used in creating, accessing, modifying a document.

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung What can JavaScript do? Control document appearance and content Control document appearance and content Control the browser Control the browser Interact with the user Interact with the user Read and Write Client State with Cookies Read and Write Client State with Cookies –my.yahoo.com Interact with Applets Interact with Applets What it cannot do? What it cannot do? –Read/write files

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung VBScript VBScript is the short form for Visual Basic Scripting from Microsoft. VBScript is the short form for Visual Basic Scripting from Microsoft. Try to edit a file “ hello.vbs ” Try to edit a file “ hello.vbs ” –Msgbox “ Hello world ”

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung ASP Active Server Page was developed by Microsoft and it is a popular technology for developing dynamic web sites. Active Server Page was developed by Microsoft and it is a popular technology for developing dynamic web sites. –It allows the author includes scripting code (VBScript or JScript) in regular web pages. –In complex code, COM (ActiveX) components are used. –Must run on an active server pages server IIS, Personal Web Server, … IIS, Personal Web Server, … –The latest version is ASP.NET

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung PHP It is not an acronym for anything. It is not an acronym for anything. –An open source web scripting language. –A PHP page is always interpreted by the server when it is requested. –The latest version is PHP 4. –Have to learn an entirely new language. –Reference:

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung ColdFusion It is a Web application development environment produced by the Macromedia Corporation. It is a Web application development environment produced by the Macromedia Corporation. Client Web Server Request *.cfm Reply Web Page CF Page Cold Fusion Application Server Web Page

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung What is JSP? It is JavaServer Pages that built on top of Java servlets in late It is JavaServer Pages that built on top of Java servlets in late In the early days of the Web, the only tool for developing dynamic web content was CGI. For every request, the web server creates a process (not efficient). In the early days of the Web, the only tool for developing dynamic web content was CGI. For every request, the web server creates a process (not efficient). The Java Servlet API has introduced in 1997, however, HTML code has to be embedded inside programs. (lot of “ out.println() ” ) The Java Servlet API has introduced in 1997, however, HTML code has to be embedded inside programs. (lot of “ out.println() ” ) JSP provides a development model for the web authors to experience all the server-side technologies. JSP provides a development model for the web authors to experience all the server-side technologies.

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung Web Services What are Web services? What are Web services? –They are a distributed computing architecture. Who is using Web services now? Who is using Web services now? –Industry technologies Which approach should we use -.NET or J2EE? Which approach should we use -.NET or J2EE? Requestor, Registry, Provider Requestor, Registry, Provider

Internet is a network of computer networks Internet is a network of computer networks Data is transmitted by packet switching using the standard Internet Protocol (IP) Data is transmitted by packet switching using the standard Internet Protocol (IP) Packet – a unit of information carriage Packet – a unit of information carriage Packet switching – process of moving packets from one node (computer device) to another Packet switching – process of moving packets from one node (computer device) to another CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung

CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung At the sender, data is broken into packets and sent to the nearest node (router) At the sender, data is broken into packets and sent to the nearest node (router) At each router, it sends the packet to another router that is closer to the final destination At each router, it sends the packet to another router that is closer to the final destination At the receiver, packets are reassembled to get the original data At the receiver, packets are reassembled to get the original data A simple analogy: mailing system A simple analogy: mailing system

Basic task of IP – moving packets as quickly as possible from one router to another Basic task of IP – moving packets as quickly as possible from one router to another Yet, it doesn’t check whether packets are delivered successfully, thus need TCP Yet, it doesn’t check whether packets are delivered successfully, thus need TCP TCP (Transmission Control Protocol) – disassemble/reassemble packets, error checking, ACK packets TCP (Transmission Control Protocol) – disassemble/reassemble packets, error checking, ACK packets CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung

We need some sort of address in order to identify different nodes, as if every house has a mailing address in order to receive mail from others We need some sort of address in order to identify different nodes, as if every house has a mailing address in order to receive mail from others The one used by Internet Protocol is called IP address The one used by Internet Protocol is called IP address Every host on the Internet has a unique IP address, made up of four numbers. E.g , each number is between 0 and 255 Every host on the Internet has a unique IP address, made up of four numbers. E.g , each number is between 0 and 255 CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung

Domain Name System – a mapping between the human-readable name (domain name) of a host and its IP address Domain Name System – a mapping between the human-readable name (domain name) of a host and its IP address A domain name consists of two or more parts, e.g. cs.pitt.edu A domain name consists of two or more parts, e.g. cs.pitt.edu The rightmost label conveys the top- level domain, e.g. edu The rightmost label conveys the top- level domain, e.g. edu CSC1720 – Introduction to Internet All copyrights reserved by C.C. Cheung