MODULE 11 DOCUMENTS ON WEB 11.1 The internet and the world wide web 11.2 Documents and the world wide web Systems Analysis And Design © Systems Analysis.

Slides:



Advertisements
Similar presentations
Web Development & Design Foundations with XHTML
Advertisements

4.01 How Web Pages Work.
14 of 35 What Is A Document? A document has three parts 1.CONTENT : The string of characters normally coded in ASCII or UNICODE - A document now-a-days.
MODULE 11 DOCUMENTS ON WEB 11.1 The internet and the world wide web 11.2 Documents and the world wide web Systems Analysis And Design © Systems Analysis.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
CIS101 Introduction to Computing
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Developing a Basic Web Page with HTML
Lesson 19 Internet Basics.
Internet Basics.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
Chapter ONE Introduction to HTML.
The Internet & Web Browsers Business Webpage Design Kelly Seale.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
1 Networks and the Internet A network is a structure linking computers together for the purpose of sharing resources such as printers and files Users typically.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Lecturer: Ghadah Aldehim
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
Lesson 2 — The Internet and the World Wide Web
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Introduction to the Internet. What is the Internet The Internet is a worldwide group of connected networks that allows public access to information and.
First things, First Do you belong in here? – 10 – 12 – Comp. Discovery or Keyboard/Comp Apps – Do you have any experience with Web Page Design?????
Internet Fundamentals Total Advantage MS Excel 97, Hutchinson, Coulthard, 1998 McGraw Introduction to HTML Chapter 7.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Copyright © 2002 Pearson Education, Inc. Slide 3-1 CHAPTER 3 Created by, David Zolzer, Northwestern State University—Louisiana The Internet and World Wide.
Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman MODULE 13 ELECTRONIC COMMERCE Learning Units 13.1 What is E-Commerce? 13.2 Electronic.
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.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Introduction To Internet
Web Programming : Building Internet Applications Chris Bates CSE :
An Overview of the Internet: The Internet: Then and Now How the Internet Works Major Features of the Internet.
UNESCO ICTLIP Module 1. Lesson 61 Introduction to Information and Communication Technologies Lesson 6. What is the Internet?
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
1 UNIT 13 The World Wide Web Lecturer: Kholood Baselm.
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
Electronic Commerce and the Internet Chapter 6. Chapter Objectives Describe what the Internet is and how it works Explain packet-switching and TCP/IP.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Web Design – Week 2 Introduction to website basics Website basics: How the Web Works Client / server architecture Packet switching URL components.
1 UNIT 13 The World Wide Web. Introduction 2 Agenda The World Wide Web Search Engines Video Streaming 3.
1 UNIT 13 The World Wide Web. Introduction 2 The World Wide Web: ▫ Commonly referred to as WWW or the Web. ▫ Is a service on the Internet. It consists.
Information Networks. Internet It is a global system of interconnected computer networks that link several billion devices worldwide. It is an international.
(class #2) CLICK TO CONTINUE done by T Batchelor.
World Wide Web. The World Wide Web is a system of interlinked hypertext documents accessed via the Internet The World Wide Web is a system of interlinked.
E-Business Infrastructure PRESENTED BY IKA NOVITA DEWI, MCS.
Introduction to the Internet
Objective % Select and utilize tools to design and develop websites.
Introduction To Web Design
Sec (4.3) The World Wide Web.
E-commerce | WWW World Wide Web - Concepts
E-commerce | WWW World Wide Web - Concepts
Objective % Select and utilize tools to design and develop websites.
A Brief Introduction to the Internet
Chapter 27 WWW and HTTP.
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
Introduction to Computer Concept
Unit-3.
Lesson 19 Internet Basics.
Web Programming : Building Internet Applications Chris Bates CSE :
Presentation transcript:

MODULE 11 DOCUMENTS ON WEB 11.1 The internet and the world wide web 11.2 Documents and the world wide web Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman Learning Units

Learning Goals Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman 1 of 35  The basic technology used to build the internet  How the world wide web uses the internet  How documents are specified using HTML  The distinction between presentation and structure of documents  How documents are specified in XML

Motivation Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman 2 of 35  We examined in the last module how documents are formatted and printed using a computer.  Documents in that context meant results computed by a computer  In a more general context one should look at also documents which are to be disseminated via the world wide web.  Besides dissemination one should also consider possibility of reading values from documents stored in remote computers and processing them for various purposes  The need to exchange documents electronically and processing them have gained importance since the emergence of e-commerce

Motivation (Contd) Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman 3 of 35  To understand the need to distribute documents electronically we should first understand how computers are connected together and communicate in an orderly fashion among themselves  Thus we will first examine very briefly the internet and the world wide web which uses the internet infrastructure

Computer Networks Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman 4 of 35  Now-a-days no computer has an isolated existence  Computers in an organization are interconnected by local area networks (LAN)  Home computers are connected to Public Switched Telephone Network (PSTN) which provide a connection to an Internet Service Provider (ISP)  LANs of organizations connected to LANs of other organizations via PSTN using routers

Logical Network-internet Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman 5 of 35 Internet is the network of networks and interconnects millions of computers all over the world Internet is used to exchange electronic mail, exchange files and log into remote computers Common set of rules used by computers connected to the internet to communicate - called Internet Protocol (IP) Each computer connected to the internet has a unique address called IP address IP address is 4 bytes long IP addresses are a scarce resource

Internet-continued Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman 6 of 35 IP address converted to strings of characters which are easy to remember Group of characters combined as domains In the address in – Top most domain –country code ernet – Internet Service Provider (ISP) in country serc –Department within organization-name assigned by organization rajaram – Name of the user in department – assigned by department Hierarchy of addressing facilitates expansion

7 of 35 Internet -Continued CONTROL BITS FOR CHECKING SERIAL NO OF THE PACKET SOURCE ADDRESS DESTINATION ADDRESS MESSAGE Internet breaks up messages sent from source to destination into a number of packets Packet structure : HEADER (20 bytes) PAYLOAD Packets need not be of fixed length. Maximum length of a packet is 1 KB Message packetised to allow different packets to go along different paths - called packet switching (upto 1KB) Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

Packet Switching – Advantages And Disadvantages 8 of 35  Each packet can pick free (cheapest) path to take  Finally packets reassembled using serial no.  Packet switching less expensive and adaptive as faulty paths can be avoided  Major disadvantage of packet switching is the difficulty in predicting time taken by different packets to travel from source to destination Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

Packet Switching – Advantages And Disadvantages 9 of 35  Variable packet delivery time does not matter for and text files  Speed unpredictability however reduces effectiveness of audio and video traffic  Major advantage – diverse machines and LAN’s may be interconnected if they use common protocol called TCP/IP Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

Intranet And Extranet 10 of 35  A network of computers within an organization using TCP/IP protocol an use all internet facilities such as , file transfer, remote login etc –called an intranet or corporate intranet  Two corporate intranets may be interconnected using a leased line from PSTN – such a network is called an extranet  Extranet between cooperating organizations can provide internet services such as ,file transfer among them Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman World Wide Web Services World Wide Web (WWW) is a world wide multimedia information service available on the internet www contains web pages – created using a language called HTML (Hyper Text Markup Language) HTML has features to embed links within web pages to point to other pages – we can thus navigate through links and search for required information 11 of

12 of 35 World Wide Web Web page located using a scheme known as Uniform Resource Locator(URL) Example of URL Protocol used Domain name Of server Having web page Folder with Required information Required document formatted Using hypertext markup language Web browsers is a program on one’s PC used to search for required information Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

13 of 35 Search Engines Browsers use search engines - that is programs which will navigate web pages using links Navigation based on search terms given by user All organizations now maintain web pages t o establish their "web presence" Web presence important to publicize organization for primarily advertising their services Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

14 of 35 What Is A Document? A document has three parts 1.CONTENT : The string of characters normally coded in ASCII or UNICODE - A document now-a-days also includes, besides text, pictures, audio and video-all bit strings when digitized. - We will however be primarily concerned with textual data in this module. 2.PRESENTATION: How the data looks like to a human user- presentation may be on a video screen or on paper. 3.STRUCTURE: Helps interpretation of data by a computer Information such as type of data (Numeric, Alphanumeric) and its nature, for example an invoice, a purchase order, a recipe etc. Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

15 of 35 How Are Documents Processed By Computers  Text processors add special annotations primarily to help format the resulting print outs Examples are: Paragraphing, Font selection, Placing titles, pagination,Tabulation etc. Examples: WORD, TEX etc.  These are primarily presentation aids which take raw content and transform them to neat looking documents when displayed on VDU screen or printed on paper.  They have no idea of the type of document and what they mean. Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

16 of 35 Text Processing By Computers  Word processors primarily used for applications such as -Preparation of manuals -Preparation of catalogues -Routine office correspondence -Desk top publishing  Report Generators (Discussed in Module10) are special variety which use a special language to generate and format reports.  These are primarily for linear texts and not meant for linked text known as hypertext Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

17 of 35 Documents On World Wide Web  In the world wide web documents located in many computers are linked  Each document called a web page. Each web page has a unique path to retrieve it.  Documents to be used in web pages need special annotations or markups mainly for formatting and for linking them to other documents in the web  These annotations are called MARKUPS. Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

18 of 35 Documents On World Wide Web  As documents on the world wide web are linked to many documents they are called hypertext.  The markup used to link documents called Hyperlink.  Web pages are retrieved from the host computers where they are located by a program called web browser running on a client.  Clients use a communication protocol called Hyper Text Transfer Protocol (HTTP) to retrieve web pages  HTTP recognizes a language called Hyper Text Markup Language (HTML) Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

19 of 35 Hyper Text Markup Language  An HTML Document has the following general layout {Version optional} <!….Elements such as text with formatting tags,links,tables,images etc go here……> ( ! Is symbol used for comments) Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

20 of 35 Example Of An Html Documents Description of a book on Information Technology Introduction o Information technology A first level book in I.T Publisher : Prentice – Hall of India Year of publication: 2003 Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

21 of 35 Display Of Html Document When the document is viewed using a browser it will appear as shown below Introduction to Information technology A first level book in I.T Publisher : Prentice – Hall of India Year of publication: 2003 Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

22 of 35 Explanation Of Tags In Html  tells it is an HTML document  End of HTML documents is indicated by  version optional  used to identify the document in the browsers title bar and is stored as the bookmark of this document , indicate headings. to available H1 highest size bold face and H6 lowest  indicates paragraphing  Italics and bold face font   Stand alone tags are also there in HTML. Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

23 of 35 Linking Documents  HTML can link to documents in other files.For Example to link an image we use :  IMG indicates image and src the source (Observe the tag IMG is standalone and does not have end tag  HTML has feature to list items with serial number or bullets  HTML can also display tables and forms  HTML is as rich as some word processors. Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

24 of 35 Hyperlinking Html Documents  HTML allows a web page to refer to other web pages  When a reference link in the page is clicked the browser switches to the referenced site.  The specification is where A is called anchor tag.  Linking can also be to other files.  Automatic conversion of word documents to HTML is possible using a tool Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

25 of 35 Shortcomings Of Html  HTML is the earliest markup language which made it possible to retrieve documents stored in the world wide web  HTML is primarily to facilitate presentation of contents of a web page.  HTML does not have any means of specifying what the documents represents. Is it an invoice? A purchase order, book description etc.  It also has no means of specifying the type of data to allow manipulation of data by browser.  We thus need a markup language which is richer and is more descriptive of structure of a document and what it represents Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

26 of 35 EXtensible Markup Language  A document has CONTENT, it has a STRUCTURE and it needs to be PRESENTED for ease of reading  Word processors and HTML emphasize presentation of content and have no means of specifying structure (or what the data actually represents)  XML is a new markup language which is capable of specifying what a document really represents  XML is a proper subset of an international standard known as STANDARD GENERALISED MARKUP LANGUAGE (SGML).It is open standard and not proprietary Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

27 of 35 Parts Of XML System  XML defines the structure of a document  Unlike HTML it has tags which are user defined.This allows easy understanding of the nature of the document and assists in its processing.  Formatting and presentation are not part of XML unlike HTML which has tags for bold face,italics etc.This is delegated to a companion language called XSL (Extensible Style Language)  Linking documents to create hypertext is also not integrated in XML unlike HTML where tag is a general purpose linking tag. Much more powerful linking is enabled by separating it to a companion language called XLL (Extensible Link Language). Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

28 of 35 Example Of XML Document A purchase order is represented in XML as below B ABC Traders 201 MG Road Bangalore Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

29 of 35 Example Of XML Document (Contd) C Programming ISBN X 50 P-H India Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

30 of 35 Example Of XML Document  Observe that the tags used have a syntax similar to HTML. The tags are, however, meaningful to a human reader  The XML definition clearly brings out the structure of an invoice.  However to interpret such a document and process it by a computer a companion document called Document Type Definition (DTD) is needed.  DTD has its own syntax. We give DTD for this XML document in the next transparency. Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

31 of 35 Document Type Definition (DTD)  DTD of XML document of is given below DTD Statements <! ELEMENT date (year, month,day) Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

32 of 35 Explanation Of Document Type Definition  Each statement in DTD declares the elements of XML program  states that purchase order is the top level element with one or more entry following it  2 statements are introduced at the start of XML definition which specifies the version of XML and the file name of DTD specification  Assuming DTD is in a file purchase_order.dtd the declarations are  The tags used in XML definition are then specified. Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

33 of 35 Explanation Of Document Type Definition  <! ELEMENT order_no (#PC DATA) specifies that the tag order_no is a string of characters.  <! ELEMENT date (year,month,day) specifies that the tag date is a higher level tag which consists of three tags- year, month and day.  The description of each of the next level tags follow, for example: <! ELEMENT year (#PC DATA) declares year as a string of characters.  The rest of DTD is self explanatory Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

34 of 35 Some Application Of XML  XML’s main use is in creating documents for the World Wide Web which can be retrieved by browsers at client computers.  User defined tags give several advantages including use in - Push Technology – In this application time varying data specified by users e.g. Hourly stock prices of specified shares are automatically sent to the client’s browser - Online banking – A standard XML format known as financial exchange initiative is used to obtain information such as bank statements. Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman

Systems Analysis And Design © Systems Analysis And Design © V. Rajaraman 35 of 35 Some Application Of XML  Software and database updates  XML adaptable to many natural languages such as Kannada as it uses Unicode standard.  Use in Scientific Publications – Markup languages based on XML have been developed for chemistry – CML (Chemistry Markup Language) and MML (Mathematical Markup Language)