Component-based Software Engineering: XML

Slides:



Advertisements
Similar presentations
Intesar G Ali IT DepartmentPalestinian Land Authority Web services Prepared by: Intesar Ali IT Department PLA August 2010.
Advertisements

What is XML? a meta language that allows you to create and format your own document markups a method for putting structured data into a text file; these.
1 Web Services Based partially on Sun Java Tutorial at Also, XML, Java and the Future of The Web, Jon Bosak. And WSDL.
History Leading to XHTML
XHTML 16-Apr-17.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
17-Jun-15 XHTML 2 What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML.
Grid Computing, B. Wilkinson, 20043a.1 WEB SERVICES Introduction.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
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.
COS 381 Day 16. Agenda Assignment 4 posted Due April 1 There was no resubmits of Assignment Capstone Progress report Due March 24 Today we will discuss.
Introduction to XML This material is based heavily on the tutorial by the same name at
Chapter 9 Web Services Architecture and XML. Objectives By study in the chapter, you will be able to: Describe what is the goal of the Web services architecture.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
Object and component “wiring” standards This presentation reviews the features of software component wiring and the emerging world of XML-based standards.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
 XHTML is aimed to replace HTML  XHTML is almost identical to HTML 4.01  XHTML is a stricter and cleaner version of HTML  XHTML is HTML defined as.
XML: Overview MIS 181.9: Service Oriented Architecture 2 nd Semester,
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
Web Services Description Language (WSDL) Jason Glenn CDA 5937 Process Coordination in Service and Computational Grids September 30, 2002.
FIGIS’ML Hands-on training - © FAO/FIGIS An introduction to XML Objectives : –what is XML? –XML and HTML –XML documents structure well-formedness.
1 Chapter 10: XML What is XML What is XML Basic Components of XML Basic Components of XML XPath XPath XQuery XQuery.
XP Tutorial 9 1 Working with XHTML. XP SGML 2 Standard Generalized Markup Language (SGML) A standard for specifying markup languages. Large, complex standard.
Of 33 lecture 3: xml and xml schema. of 33 XML, RDF, RDF Schema overview XML – simple introduction and XML Schema RDF – basics, language RDF Schema –
XML Overview / Schema / DOM Brent P. Christie Major USMC.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
XML Basics A brief introduction to XML in general 1XML Basics.
1 Web Services Web and Database Management System.
XML, XSL, and SOAP Building Object Systems from Documents CSC/ECE 591o Summer 2000.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
Evaluation Biztalk Table of Contents Introduction to XML. Anatomy of an XML document. What is an XML Schema? What is SOAP? XML Web Services overview.
XML Tools (Chapter 4 of XML Book). What tools are needed for a complete XML application? n Fundamental components n Web infrasructure n XML development.
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
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.
HTML 2.0HTML 3.2 HTML 4.0 HTML 4.01 XHTML malformed, non-standard markup.
Extensible Markup Language (XML) Pat Morin COMP 2405.
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.
What is XHTML? XHTML stands for Extensible Hypertext Markup Language
Unit 4 Representing Web Data: XML
CIS 228 The Internet 9/20/11 XHTML 1.0.
CITA 330 Section 3 XHTML.
Tutorial 9 Working with XHTML
Tutorial 9 Working with XHTML
XML QUESTIONS AND ANSWERS
Distributed web based systems
Introduction to XHTML.
XML in Web Technologies
Chapter 7 Representing Web Data: XML
XHTML
Chapter X IXXXXXXXXXXXXXXXX.
Tutorial 9 Working with XHTML
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
Web services, WSDL, SOAP and UDDI
Basic HTML and Embed Codes
Introduction to HTML5.
The Most Basic HTML Page
XHTML 7-May-19.
CSE591: Data Mining by H. Liu
XHTML 29-May-19.
Allyson Falkner Spokane County ISD
Web Design & Development
Presentation transcript:

Component-based Software Engineering: XML Matthijs van der Zon Fall 2003

Recapitulation Part One Part Two Part Three Motivation – components and markets Part Two Foundation Part Three Component models and platforms 16/10/2003 XML

Overview “Wiring” standards Rise of XML Difference with markup languages Structure of XML SOAP (simple object acces protocol) Web services 16/10/2003 XML

Object and component “wiring” standards One standard All components connectable Never been achieved Phone jacks Electronical sockets 16/10/2003 XML

On the wire – the rise of XML Introduced in 1998 By W3C (Worldwide Web Consortium) eXtensible Markup Language Succeeded where others failed: Intresting properties Standardization Proper timing 16/10/2003 XML

Properties of XML Define own markup Useful for representing data Structured Semistructerd Not useful for bulk data New applications arise by day Browsers support displaying XML documents Syntactic lingua franca (common language) 16/10/2003 XML

Qualifier eXtensible Extensibility: Simple syntax Namespaces Safely ignorance Leading “X” to all the acronyms in the XML family XML Documents XML Namespaces XML Schemas Etc. 16/10/2003 XML

Structure of HTML Example: <HTML> <HEAD> <TITLE>Hello From HTML</TITLE> </HEAD> <BODY> <CENTER> <H1> Hello From HTML </H1> </CENTER> Welcome to the wild and woolly world of HTML. </BODY> </HTML> 16/10/2003 XML

Relationship between HTML and XML Both based on SGML Standard Generalized Markup Language Both uses elements and attributes 16/10/2003 XML

Disadvantages of HTML and other markup languages Provides not enough power Only web pages Consists of fixed number of tags HTML 4.0 about 100 to 120 Easy abounds by specifying how content of document is handled See RTF example 16/10/2003 XML

Structure of XML XML elements XML attributes Unstructured text <tags> XML attributes Parameters of elements Unstructured text Properly quoted Example: <tag attr1=“val1” attr2=“val2”> 16/10/2003 XML

XML example <?xml version="1.0" encoding="UTF-8"?> <DOCUMENT> <GREETING> Hello From XML </GREETING> <MESSAGE> Welcome to the wild and woolly world of XML </MESSAGE> </DOCUMENT> 16/10/2003 XML

Well-Formed XML Documents Elements that can appear at top level Set of valid attributes Default value if attribute is omitted Allowed number of appearances Allowed to contain unstructured text (“CDATA”) 16/10/2003 XML

Valid XML Documents Check document is well formed Document type definition (DTD) DTD specifies the correct syntax is not extensible XML validator Example: <!DOCTYPE DOCUMENT [ <!ELEMENT DOCUMENT (GREETING, MESSAGE)> <!ELEMENT GREETING (#PCDATA)> <!ELEMENT MESSAGE (#PCDATA)> ]> 16/10/2003 XML

XML Schemas More precise than DTD Example specify the actual data types use schemas with multiple namespaces create simple and complex data types create list types and much more Example <DOCUMENT xmlns="x-schema:schema1.xml"> schema1.xml 16/10/2003 XML

XML Namespaces Grouping set of names Prevents tag collision Example xmlns:alias”<urn>” (universal resource name) 16/10/2003 XML

XML Namespaces (example 1.1) <library xmlns:book="http://www.amazingterrificbooks.com/spec"> <book> <title> Earthquakes for Lunch. </title> </book> </library> 16/10/2003 XML

XML Namespaces (example 1.2) <book:library xmlns:book="http://www.amazingterrificbooks.com/spec"> <book:book> <book:title> Earthquakes for Lunch. </book:title> </book:book> </book:library> 16/10/2003 XML

SOAP (simple object access protocol) Describe addressee of an invocation Encode data types into invocation messages Define what parts of a message must be understood or can be ignored 16/10/2003 XML

SOAP example <SOAP-ENV:Envelope> <SOAP-ENV:Body> <xmlns:n=http://schemas.example.com/customer/> <n:getName> <n:customerID id=“123-321”/> </n:getName> </SOAP-ENV:Body> </SOAP-ENV:Envelope> 16/10/2003 XML

XML web services Offers computational services Examples: WSDL (Web Services Description Language) UDDI (Universal Description, Discovery, and Integration WSFL (Web Service Flow Language) 16/10/2003 XML

Which way? Three major approaches The OMG: CORBA The Sun way: Java, JavaBeans The Microsoft way: COM, .NET Web standards intergrates all families 16/10/2003 XML