cis 1203 introduction to the web

28
CIS 1203 Web Technologies Introduction to the Internet and the WWW

Upload: paul-leslie

Post on 14-Dec-2014

424 views

Category:

Technology


0 download

DESCRIPTION

Written by faculty at the Higher Colleges of Technology

TRANSCRIPT

Page 1: CIS 1203 Introduction to the Web

CIS 1203Web Technologies

Introduction to the Internet and the WWW

Page 2: CIS 1203 Introduction to the Web

Lesson Objectives

Students should:– Understand the Internet and its history– Understand the WWW, its history and how it

relates to the Internet– Discuss the evolution of the WWW– Identify and describe the fundamental

technologies of the Web– Explain how the Web works

Page 3: CIS 1203 Introduction to the Web

Information Technology

IT all aspects of managing & processing information using technology– Mainly computers and computer networks:

• Hardware

• Software

• Connectivity (Networks)

Page 4: CIS 1203 Introduction to the Web

Hardware

SoftwareNavigation software Steer clear of danger

Image compression software More image returns

Page 5: CIS 1203 Introduction to the Web

Hardware

Software

Operating system Control HW and other SW

Web browser Surf the net

Photo gallery Organize photos

Text editor Compose and manage text messages

Page 6: CIS 1203 Introduction to the Web

Connectivity

Computer networks and telecommunications infrastructure allow multiple hardware devices to connect and share data and information

Transmits voice and data to other

devices

Transmits data back to earth

Page 7: CIS 1203 Introduction to the Web

Computer Networks

A network is a group of two or more computers connected– Why connected?

• To communicate, share resources and exchange information

Page 8: CIS 1203 Introduction to the Web

Types Of Networks

LAN– Local Area Network

» Computers are connected in a confined geographical area

WAN– Wide Area Network

» Computers span a large geographical area

Page 9: CIS 1203 Introduction to the Web

The Internet

A network of networks– A worldwide collection of computer networks, cooperating

with each other to exchange data using a common software standard

Multiple data systems– Email– FTP (File Transfer Protocol)– TELNET– The World Wide Web (WWW)– And more

Page 10: CIS 1203 Introduction to the Web

History of The Internet The Advanced Research Projects Agency (ARPA) -1957

– A Department of Defense project to establish US lead in science and technology applicable to the military

Operation ARPANET– A need for a bombproof communications system– Link computers together throughout the US– Gradual shift from a military pipeline to communications tool for scientists

In late 1980s, DOD decommissioned the ARPANET to NSF (National Science Foundation) Network called NSFnet– Large telecommunication companies created high speed data lines and

connected to NSFnet The rest is history…

Page 11: CIS 1203 Introduction to the Web

But What is The WWW?

Created in 1989 in CERN The “information superhighway”

– A method of posting and accessing interactive multimedia information

Hyper what?– The WWW is based on a concept called

hypertext• The organization of information units into

connected associations that a user can choose to make (links)

Page 12: CIS 1203 Introduction to the Web

Web 1.0

Web pages connected together via hyperlinks Mostly static and very little interaction

between the user and the webpage Focus is companies that own create and own

their content

Page 13: CIS 1203 Introduction to the Web

Web 2.0

Dynamic web pages that are data-driven and user-centric

High level of interactivity with user-generated content (blogs, forums, social networks, video sharing, etc.)

Rich interfaces made possible through AJAX– AJAX Asynchronous JavaScript And XML

Page 14: CIS 1203 Introduction to the Web

AJAX Library Demo

jQuery: http://jqueryui.com/

Page 15: CIS 1203 Introduction to the Web

Mobile Web

Web resources are being accessed via mobile devices

Companies are developing mobile versions for their websites

Mobile commerce is an emerging trend

Page 16: CIS 1203 Introduction to the Web

The Client-Server Model

Internet

Server Side Client Side

Client-Server Model: describes the relationship between two computer programs in which one program, the client, makes a service request from another program, the server, which fulfills the request

HTTP request

HTTP response Web BrowserWeb Server

Page 17: CIS 1203 Introduction to the Web

What is HTTP?

HTTP (Hypertext Transfer Protocol) is the foundation of data communication for the WWW

A protocol defines a set of rules that enable effective communications between computers

HTTP is part of a protocol framework called the Internet Protocol Suite which includes TCP/IP

Page 18: CIS 1203 Introduction to the Web

TCP/IP Transmission Control Protocol (TCP):

– Establishes connections among sending and receiving Web computers– Handles assembly of packets at point of transmission, and reassembly

at receiving end

Internet Protocol (IP): – Provides the Internet’s addressing scheme

Page 19: CIS 1203 Introduction to the Web

Internet Protocol (IP) Addresses IPv4:

– 32-bit number

– Expressed as series of four sets of separate numbers marked off by periods

• 201.61.186.227

• Class C address: Network identified by first three sets, computer identified by last set

New version: IPv6 has 128-bit addresses, able to handle up to 1 quadrillion addresses (IPv4 can only handle 4 billion)

sbaserver1.sba.muohio.edu 134.53.40.2

Page 20: CIS 1203 Introduction to the Web

Routing Internet Messages: TCP/IP

Page 21: CIS 1203 Introduction to the Web

Web Browser Overview

A tool for “traveling” the internet A “client” software for “surfing” the WWW Browser war

– Different vendors– Non standard extensions– Different viewing experience of the same web page

Then came the standards– World Wide Web Consortium (w3c)

• http://w3c.org • Internet Explorer• Safari• FireFox• Mozilla• Opera• Lynx

Page 22: CIS 1203 Introduction to the Web

Web Browsers and Devices

The way a webpage is displayed depends on the monitor size and screen resolution

Some browser might not support flash or other multimedia objects

Some browsers are so small, the whole webpage layout must be different

Page 23: CIS 1203 Introduction to the Web

How Browsers Work

Enter URL or click a link

The browser breaks the address into 3 parts1. Protocol2. Server and domain name3. The resource name (webpage)

1 2 3

Page 24: CIS 1203 Introduction to the Web

How Browsers Work

The browser then communicates with a domain name system (DNS) server that translates the domain name into IP address

DNS Server 1

Sorry I don’t know this address. Let me check another server

DNS Server 2

I found it. The IP address is: Du Web Server

Page 25: CIS 1203 Introduction to the Web

How Browsers Work

Your browser sends an HTTP request to the server using its IP address

Some level of authentication takes place The server sends the requested page coded in

HTML Your browser reads the markup of HTML and

interprets it into the web page that you view

Page 26: CIS 1203 Introduction to the Web

Domain Names, DNS, and URLs Domain name

– IP address expressed in natural language

Domain name system (DNS)– Allows numeric IP addresses to be expressed in natural

language

Uniform resource locator (URL)– Address used by Web browser to identify location of

content on the Web– E.g. http://hct-portal.hct.ac.ae/students

Page 27: CIS 1203 Introduction to the Web

Top-Level Domain (TLD) Names

Domain Signifies Domain Signifies aero Air-transport industry au Australia biz Business organization br Brazil com US commercial ca Canada coop Coooeratives cn China edu US educational de Germany info Unrestricted fi Finland gov US government fr France mil US military gb Great Britian museum Museums in India name Individuals it Italy net US network jp Japan org US non-profit ru Russia pro Professionals za South Africa

Page 28: CIS 1203 Introduction to the Web

URL

Uniform Resource Locator

http://samer.ecommerce.hct.ac.ae/fw/index.php

File Name

Path

Domain Name

Double slash means a system address will follow

Access method or Protocol

A separator