lecture 7 world wide web cscs100 – fall 2009 – forman christian college asher imtiaz *several of...

22
Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101 course (Dr. Altaf A. Khan) and Peter Norton’s supplementary material.

Upload: francis-marsh

Post on 16-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Lecture 7World Wide Web

CSCS100 – Fall 2009 – Forman Christian CollegeAsher Imtiaz

*Several of these slides have been adapted and modified from VU CS101 course (Dr. Altaf A. Khan) and Peter Norton’s supplementary material.

Page 2: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Goals• Introduction to the World Wide Web – one

of the most popular activities on computers

• Web’s Structure• How Web works• History, Evolution and Future• Impact of the Web

Page 3: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

What is the World Wide Web?• A huge resource of information

• Logically unified, but physically distributed

• Logically unified: Any one from any where can access the information using a very simple scheme consisting of links & URLs

• Physically distributed: The information is stored on Internet-connected computers that are spread all over the globe

Page 4: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Who is allowed to access the Web?• Any one and every one with a computer and a

connection to the Internet

• No nationalistic, ideological, racial, or religious restrictions

• In Pakistan, Web is accessible from any city or town that has a phone available

• The Web is unlike any previous human invention.

Because it is a world-wide resource, important to all of the people in the world.

Page 5: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

How do I visit a Web page?

1. Turn your computer on 2. Connect to the internet through a

modem or Local Area Network 3. Launch the browser (which in most

cases, will be the Internet Explorer)4. Type in the URL of the Web page that

you want to visit

Page 6: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Web Browser• Browser is the tool that we use to access the

content of the Web

• Browser and the content of the Web have the same relationship as the TV has with cable programming

• 1993 - The 1st major browser “Mosaic” was developed at the National Center for Supercomputing Applications (NCSA) at the University of Illinois, Urbana-Champaign

• Initially handled text only, later graphics-viewing capability was added

Page 7: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Web Browser Market Share

For October, 2007• Internet Explorer - 77.87%• Firefox - 14.85%• Safari - 5.05%• Opera - 0.99%• Netscape - 0.64%• Opera Mini - 0.41%• Other - 0.19%

Ref: http://en.wikipedia.org/wiki/Web_browser

Page 8: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

URL• Uniform Resource Locator • The unique address assigned to each unique page on

the Web

• Examples http://geo.tv

http://www.fccollege.edu.pk http://www.google.com.pk

Are there any access charges?• Most of the info on the Web is available for free • There is some for-payment content on the Web, which

is generally paid with the help of a credit card

Page 9: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

How do I navigate the Web?

• You go from one Web page to another by clicking on a link (Known as Hyperlink)

• For example, http://cscs100.googlepages.com/midterm

• The underlined pieces of text in blue are called links

• Each link is a gateway to another Web page • All you have to do is click on the link to go to

the page corresponding to that link

Page 10: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

How many Web pages are there?

• In 1999 there were 800 million Web pages (15 terra (1012) bytes of text)

• In year 2002, the number is supposed to be 8 billion

• If you spend a minute reviewing each of these pages, it will take more than 15,000 years to go through them all

Page 11: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Explosive GrowthWhat is secret behind the explosive growth of the

Web?

• Anarchy – any page is allowed to link to any other

• There are no controls over who puts what on the Web

• Everyone can put whatever they want to put on the Web – and they do!

• DRAWBACKS: • Inconsistent quality of pages • Broken links

Page 12: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

The most popular Web sites?

• Google – most useful search engine (My Fav.)• Microsoft – Most popular software developer’s

Web site • Yahoo – Most popular multi-service Web site • Amazon – Most popular shop on the Web • CNN – Most popular news Web site • IMDB – Popular movie information Website

50 Best Websites 2009http://www.time.com/time/specials/packages/completelist/0,29569,1918031,00.html

Page 13: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

What is a Web site?• A collection of related documents available on

the Web

• The first portion of the URLs in the Web pages of a Web site is the same e.g. • http://cscs100.googlepages.com• http://cscs100.googlepages.com/lectures• http://cscs100.googlepages.com/midterm

Above are the URLs of three distinct Web pages on a single Web site

Page 14: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

What is a Web Search Engine?

• Search engines continuously scan the Web and compile a list of all the Web pages that they find

• The search engine with the largest such list (or index) is Google – with a list of over 2 billion Web pages and over 330 million images

• We use the search engine by typing a “search key word” or “query” on its Web page. It looks for those keyword in its index, and displays a list of Web pages that contain that keyword

Page 15: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Difference?

‘Internet’&

‘Web’

Page 16: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Internet and Web• The “Internet” and the “Web” are not the same • In fact, the “Web” is a service that runs over

the “Internet”. In addition to the Web, there are many other services that run over the Internet.

• Internet is like the network of roads in a city, whereas Web is a service like the Bus Service that run over those roads. Just like other services can use the roads (e.g. wagons), so can other services on the Internet (e.g. email).

• However, The following refer to the same thing: • World Wide Web, Web, WWW

Page 17: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

What info is available on the Web?

• Information about almost every thing known to mankind and then some!

• The info is in the form of: • Text • Graphics • Animation • Video • Sound

Page 18: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Impact of the Web

•Impact on:ComputingSocietyCommerce

Page 19: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Impact of the Web on Computing

• Every one wants to use the Web • That has spurred the demand for

computers • That, in turn, has reduced the cost of

computing drastically • The computers are becoming easier to

use because the target users are becoming less and less sophisticated

• In the olden times only techies used computers; now a 4-year old knows things about the machine

Page 20: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Impact of the Web on Society

• User friendly communication has become much more affordable – the global village is shrinking

• Business persons can stay in touch with their businesses even without being there – for some, that has resulted in the destruction of their family life

Page 21: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Impact of the Web on Commerce

• Huge impact • The moment I take my business to the

Web, it becomes possible for my customers to find out about me without me being physically present in their city

• Suddenly, I’m running a global business

Page 22: Lecture 7 World Wide Web CSCS100 – Fall 2009 – Forman Christian College Asher Imtiaz *Several of these slides have been adapted and modified from VU CS101

Who invented the Web & Why?

• Tim Berners Lee – British physicist

• 1989 – At the European Center for Nuclear Energy Research (CERN) in Geneva

• He just wanted a way by which scientists could easily share documents over a computer network