Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSC 110 - Intro. to Computing Lecture 25: World Wide Web.

Similar presentations


Presentation on theme: "CSC 110 - Intro. to Computing Lecture 25: World Wide Web."— Presentation transcript:

1 CSC 110 - Intro. to Computing Lecture 25: World Wide Web

2 Announcements Homework #5 handed back at end of class Essays due Thursday Service Learning logs and forms due 5PM Friday Final Exam will be held Wed. 5/10 3:15PM-5:15PM in Old Main 200

3 Sending Messages over Internet Reliability is major concern of Internet  Especially important when originally developed in 60s Problem: computers are unreliable and crash frequently  What would happen in centralized network if central node crashes?

4 Centralized Network

5

6 Problems with Centralization If central node crashes in centralized network, everything crashes  No traffic (or power, in this case) can get through  But sending messages easier on centralized network – just go between central nodes Decentralized network harder to crash  Data travels any route that is possible  Traffic gets routed around crashed node

7 Problem with Decentralization Lack of central authority can result in lost messages  Your next e-mail could be routed through Timbuktu  Do not want to have to resend everything Solution: Break data into smaller packets  Each packet travels a different route  Unlikely every packet gets lost

8 Packet Switched Network Packets may arrive out-of-order  End of page routed through Orchard Park  Start of page routed through Dubai Solution: Give each packet a number and use them to reassembled received packets

9 Sample Packets Sender’s Address 138.92.194.39 Receiver’s Address 70.104.55.73 Packet Number 1 Data Listen, I told you this before. I will not change your grade to a Sender’s Address 138.92.194.39 Receiver’s Address 70.104.55.73 Packet Number 2 Data n “A” until I see the 100 million dollars in my Swiss bank acc

10 Vannevar Bush Main scientific advisor during World War II  E.g., the driving political force behind the Manhattan project Proposed creation of scientific oversight board  NSF named award for public service for him “Of the men whose death in the summer of 1940 would have been the greatest calamity for America, the President is first, and Dr. Bush would be second or third." -- Alfred Loomis

11 “As We May Think” Essay by Vannevar Bush for Atlantic Monthly in July,’45 Presented idea for the Memex machine  Consisted of screens and keyboard on a desk “The owner of the memex […] is studying why the short Turkish bow was apparently superior to the English long bow in the skirmishes of the Crusades. He has dozens of possibly pertinent books and articles in his memex. First he runs through an encyclopedia, finds an interesting but sketchy article, leaves it projected. Next, in a history, he finds another pertinent item, and ties the two together. Thus he goes, building a trail of many items. Occasionally he inserts a comment of his own, either linking it into the main trail or joining it by a side trail to a particular item.”

12 Ted Nelson Influenced by Vannevar Bush’s article Started Project Xanadu in 1960  Goal was easy-to-use network computer  Origin of the term hypertext  Work on this project is still ongoing “A user interface should be so simple that a beginner in an emergency can understand it within ten seconds” – Ted Nelson

13 Douglas Englebart Another devotee of Vannevar Bush’s ideals Wanted system where people could formulate and organize thoughts quickly In 1968, presented “digital library.”  First system with links between documents & e-mail  First use of “cut & paste”, voice chat with a computer  Discussed video conferencing "I realized that I didn't have any more goals than a steady job, getting married and living happily ever after […] How can my career maximize my contribution to mankind?” – Douglas Englebart

14 Sir Tim Berners-Lee Wanted to facilitate sharing and collaboration among researchers In 1991, put up system combining Internet and hyperlinks: the “World Wide Web”  Original design allowed fully editable “WYSIWYG” pages, but did not include images  Much of original intent was actually lost very early in the development of the Web

15 Surfing the Web “Client”

16 Combining Data Vannevar Bush’s original idea was to allow ideas and information to be joined and combined freely  HTML does a good job of presenting information  HTML is bad at highlighting what the information says, however

17 XML Extensible Markup Language (XML) allow document creator to define own set of tags that describe document’s contents  XML is formally a metalanguage – language for defining or describing other languages

18 XML XML organizes data, but does not specify how to display document Extensible Stylesheet Language (XSL) defines how to display XML documents in various environments

19 XML DTD XML documents include Document Type Definition (DTD) which specify document’s organization

20 XML DTD How would we write a DTD for a class?  Has course number, professor(s), students, classroom, meeting days, and meeting time

21 XML Example XML uses these descriptions to tag all of the information within a document

22 XML Example How would we write an XML example for this class using our DTD?

23 In-Class Excercise Define the DTD and write an XML document for:  Political offices  Zoo animals


Download ppt "CSC 110 - Intro. to Computing Lecture 25: World Wide Web."

Similar presentations


Ads by Google