IELM 511: Information System design Introduction Part 1. ISD for well structured data – relational and other DBMS Part 2. ISD for systems with non-uniformly.

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Advertisements

XML: Extensible Markup Language
XML and Enterprise Computing. What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content.
XHTML 16-Apr-17.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
1 COS 425: Database and Information Management Systems XML and information exchange.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
IELM 511: Information System design
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
DECO 3002 Advanced Technology Integrated Design Computing Studio Tutorial 5 – XML Basic School of Architecture, Design Science and Planning Faculty of.
Tutorial 11 Creating XML Document
Introduction to XML: Yong Choi CSU Bakersfield.
Developing a Basic Web Page with HTML
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Introduction to XML This material is based heavily on the tutorial by the same name at
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
4/20/2017.
XML – Extensible Markup Language Sivakumar Kuttuva & Janusz Zalewski.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
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.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Introduction to XML. XML - Connectivity is Key Need for customized page layout – e.g. filter to display only recent data Downloadable product comparisons.
Demystifying the eXtensible Markup Language Nick Roberts & Jim Few
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
XML About XML Things to be known Related Technologies XML DOC Structure Exploring XML.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
Lecture 16 Introduction to XML Boriana Koleva Room: C54
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
An Introduction to XML Sandeep Bhattaram
XML Design Goals 1.XML must be easily usable over the Internet 2.XML must support a wide variety of applications 3.XML must be compatible with SGML 4.It.
XML Basics A brief introduction to XML in general 1XML Basics.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
Web Application Programming Presented by: Mehwish Shafiq.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
XML The Extensible Markup Language (XML ), which is comparable to SGML and modeled on it, describes how to describe a collection of data. A standard way.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Introduction to XML Jussi Pohjolainen TAMK University of Applied Sciences.
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)
XP 1Creating Web Pages with XML Tutorial 1 New Perspectives on XML Tutorial 1 – Creating an XML Document.
XML Extensible Markup Language
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
1 Extensible Stylesheet Language (XSL) Extensible Stylesheet Language (XSL)
XML BASICS and more…. What is XML? In common:  XML is a standard, simple, self-describing way of encoding both text and data so that content can be processed.
XML: Extensible Markup Language
Chapter 1 Introduction to HTML.
Microsoft Office Illustrated
Presentation transcript:

IELM 511: Information System design Introduction Part 1. ISD for well structured data – relational and other DBMS Part 2. ISD for systems with non-uniformly structured data Part III: (one out of) Basics of web-based IS (www, web2.0, …) Markup’s, HTML, XML Design tools for Info Sys: UML API’s for mobile apps Security, Cryptography IS product lifecycles Algorithm analysis, P, NP, NPC Info storage (modeling, normalization) Info retrieval (Relational algebra, Calculus, SQL) DB integrated API’s

Agenda Brief introduction to file storage and protocols Basics of xml

Files: unit-containers of data Files are a common mechanism of data interchange in communication Data stored in a file must be readable by an application. Standards: Format in which [some specific type of] data is stored Type of Standards: Closed, Open, Open with proprietary extensions Examples ?

Protocols Implications of closed/open standards Closed: Can be used to leverage dominance in one application to other applications Examples ? Protocol analyzers and reverse engineers can discover standards  arms race Open: Seamless data exchange, Choice of applications, Competitive pricing and features, Resistance to catastrophic attacks, …

Data Protocols: documents Text files: A sequence of standard ASCII encoded characters - Can be read by _many _ applications - No formatting information, except for line feeds, tabs. Text, HTML, SGML, XML, … HTML: HyperText Markup Language - Sequence of standard ASCII encoded characters - File contains: DATA + how data should be DISPLAYED - Open standard, can be read/displayed by _many_ applications

Data Protocols: HTML HTML is a markup language A markup language specifies: - what markup is allowed and whereabouts - what markup is required - how markup is to be distinguished from text - what the markup means

Data Protocols: HTML.. Significance of HTML: - Can refer to other sources of data anywhere in the internet (URL) Title appears on the title bar of the window Here is the URL of HKUST home page Billions of documents can be linked in a network of information (www)

Data Protocols: SGML Standard Generalized Markup Language - Sequence of standard ASCII encoded characters - Open standard, can be read/displayed by _many_ applications - SGML is a metalanguage: - HTML describes how data should be displayed - SGML describes the structure of the data: It provides a means to describe a markup language, e.g. HTML.

Data Protocols: SGML.. SGML is NOT a markup language, it describes markup languages SGML allows you to describe a markup language independently of what the markup is intended to do

PLM data Protocols: SGML Fundamental notions in SGML: Markup Entities Markup Elements and their Attributes Document type Entities are strings of bytes; each entity must have a name. The string may be an entire file, or just one character. Elements: All documents are made up some type of higher level objects, e.g. paragraphs, titles, pictures, lists, etc. Document type : A DTD describes the entities, their allowed structure that can appear in a document.

PLM data Protocols: SGML Practical SGML: - Very powerful - Arbitrary freedom to the designer to describe document structure - Complex to create consistent, time constant DTD So ? It provides a mechanism to impose structure on unstructured data - Mother of HTML - Superset (and Mother) of XML

Data Protocols: XML eXtensible Markup Language - Sequence of standard ASCII encoded characters - A metalanguage that allows users to define their own markup language - A simplification of SGML - Is becoming the dominant document protocol for most applications. XML provides a way to - describe how the document is structured [this can also be done using style-files, which can be shared] - Document contains data organized in schemas defined using the declared structure

XML (some motivation) The Vision All applications on the web are easy to make open. Goods and services are easy to find. For example, any customer can: - Discover all sites that have some used book he/she cannot find. Then order the book from one of them. - Open a spreadsheet or Java application and easily let either of them talk directly to any site that manages the customer's portfolios. Then make changes to the portfolio. In short, make it easy to discover and interact with structured data and applications on the web. -Adam Bosworth, Microsoft Inc. Currently, all Microsoft Office™ document types can be stored in XML format.

Use of XML Practical use of XML: Schema of entities can match structure of Databases  Allows direct data exchange between documents and DB Practical use of XML in collaboration: Companies can share schemas  Shared terminology, easier to write applications to exchange data Practical use of XML w.r.t. DB-backed apps: HTML is widely used for formatting and structuring Web docs, but it is not suitable for specifying structured data that is extracted from databases.

Structured, Semi Structured and Unstructured Data Structured Data: Information stored in databases is known as structured data because - it is represented in a strict format. - The DBMS ensures that all data follows the structure, constraints specified Semi-Structured Data: Data that may have a certain structure, but not all the information collected will have identical structure. The schema information is mixed in with the data values; each data object can have different attributes that are not known in advance. Unstructured Data: Files of data, but with very limited indication of the type of data. Examples: A text document with a story. Web pages in HTML that contain some data.

XML basics The basic object is XML is the XML document. Each XML document describes a collection of objects; each object is described by zero-or-more objects, and zero-or-more elements Elements Attributes Attributes are used in XML to provide additional information about elements Kenny Anton Kenny Anton Elements: class, student, … Attribute: code

XML basics.. Objects are enclosed in ‘tags’ Each tag has a user-defined name XML specifies the structure of data, but not how to display it XML docs must have exactly one ‘root’ object  each document is a tree An element may contain elements or text Kenny Anton

XML basics… XML separates the ‘structure of the data’ from ‘how to display it’ The formatting for displaying XML documents is specified by -- Cascading Style Sheet (css) files -- eXtensible Stylesheet Language Transformation (XSLT) files preferred by W3C

Adam Eve Anton Adam Eve Anton XSLT basics

Well-formed and Valid XML documents Well formed XML documents contain no syntax errors: - single root - every tag has a closing tag - proper nesting of open/close tags … Valid XML document: An xml document that is well-formed, and obeys the structure specified by a separate xml DTD file or Schema file DTD: Document Type Definition simplified example of a DTD:

Software support for XML, XSLT Most web browsers, text editors (e.g. MS Word) can parse XML Design software support: Dreamweaver (Adobe™), Stylus studio, … DTD’s are useful only when data and document strictly follow a fixed structure; practically, most IT applications use an alternative, XML Schema, to specify document structure.

XML: summary Separation of data from its display/visualization  - we can use the same layout (Stylesheet) for all pages on a website - uniformly change the layout of a web-site by changing the Stylesheets User-defined tags  Different companies can use mutually agreed terminology, exchange info For example: if all spreadsheets are stored in universally agreed xml format then any spreadsheet file can be manipulated by arbitrary software, like MS Excel, Google spreadsheet, OpenOffice, …

Closing notes: motivation for XML XML enforces humans to tag the content of data/text with their meaning. An alternative, i.e. to use computer programs to understand meaning of the data is an important, but difficult problem (see below) and is called Natural Language Processing. I saw the man on the hill with a telescope. ?

References and Further Reading XML on wikipedia XML on w3schools Next: UML Reference paper: Andre Bergholz, Extending your markup: An XML tutorial, IEEE Internet computing, July-August 2000, p74-79