26
Comparting, Sept. 2010 <XML/> A Technology Penetrates the Entire IT Jeremias Märki <[email protected]>

A Technology Penetrates the Entire IT Jeremias Märki

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A Technology Penetrates the Entire IT Jeremias Märki

Comparting, Sept. 2010

<XML/>A Technology Penetrates the Entire IT

Jeremias Märki <[email protected]>

Page 2: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

About me

• Independant Software Developer & Consultantfrom Lucerne (Switzerland)

• Main focus on document production and -handling

• Strong focus on Open Source Softwareand open standards

• Member of the Apache Software Foundation

• Contributor to Apache FOP (an XSL-FO formatter)and other Open Source projects

Website & Blog: http://www.jeremias-maerki.ch/

Page 3: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Beware! Many, many acronyms!

Page 4: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

XML is everywhere in the IT world

• What is XML?

• Where do I find XML?

• The hype is past. Is XML here to stay?

• Why should I bother myself with XML?

Page 5: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

You're using XML every day!

• Your news arrive by means of an RSS feed.

• You log into your e-mail account (via SAML).

• Many websites have switched from HTML to XHTML.

• Your PowerPoint presentation is really an XML file.

• You download your sailing trip from your GPS and look at it inGoogle Earth.

Often, you'll not even realize you're using XML!

Page 6: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

<?xml version="1.0" encoding="UTF-8"?><business-card> <name>Pepé Le Pew</name> <function>Expert d'Amour</function> <address1>13 Pleasantstreet</address1> <address2>Acme Acres</address2> <phone>+1 (23) 456-7890</phone> <mail>[email protected]</mail></business-card>

What is XML?

• An acronym for eXtensible Markup Language

• An established standard

• Essentially a text file, a markup language

• Strongly hierarchical (tree structure)

• versatile

• Easy to generateand to process

• Extensible

• Schema Validation

Page 7: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Once upon a time...

• GML ⇒ SGML ⇒ XML

• GML: IBM's General Markup Language (1960ies)

• SGML: Standard Generalized Markup Language (1986, ISO 8879)

• XML: eXtensible Markup Language (1998, by W3C)

• XML as subset of SGML

• XML replaces SGML more and more

Page 8: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Standardization Bodies

Page 9: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

XML's Competitors

• Line data

• CSV (comma separated data/values)

• Fixed record formats

• EDIFACT (ISO 9735)

• JSON and derivates (JavaScript Object Notation)

• Proprietary Formats (collective name)

Page 10: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

The Competitors' Problems

• A special parser and generator for each format

• Encoding problems (Umlauts etc.)

• Unintelligible documentation

• Non-uniform value formats

• No validation facilities

• Restricted ability for data transformation

• Restricted or missing extensibility

• Not always human-readable without tools

• ...and as a consequence: more expense

Page 11: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Downsides of XML

• Files can get big

• Compression helps out

• ex. ZIP container for ODF, OOXML etc.

• Not always easily human-readable

• Performance compromise

XML is not always the answer!

Page 12: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

The X in XML

• Take a standard format...

• ...and extend it with private data.

• Consumers process only what they understand...

• ...and ignore the rest,

• or simply pass the rest on.

Page 13: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Page 14: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Where is XML in Use?

• Health and Social Security

• Public Administration

• Finance and Insurance

• Information and Communication

• Chemical industry

• Education

• Commerce

• Medicine

• Energy

• etc.

• etc.

So, essentially in practicallyall economic areas!

Page 15: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

An Example from Switzerland: MediPort

• Electronic benefit settlement in health services

• Uses XML for electronic communication between involved parties.

• Avoids a media gap and improves processes.

• The patient receives a PDF or a paper document which is produced bythe print shop.

ServiceProvider

HealthInsurance

MediPort Print Shop PatientXML

Payment

Reimbursement Claim

Payment

Electronic Invoice (XML)

Electronic Invoice (XML)

Tiers garant

Page 16: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Format Contracts (Schemas)

• XML Schema, Relax NG etc. for language definition

• Allows for automatic validation.

• Turns generic XML into a concrete language with semantics...

• ...and subsequently defines a contract between two applications.

Page 17: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Security (Cryptography)

• Encryption of XML documents (or parts thereof)

• Electronic signature of XML documents (or parts thereof)

• Authentication

• Makes e-Business possible in the first place

• Standards: XML-Encryption, XML-DSig, SAML

Page 18: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Data Storage

Page 19: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Office Formats

• ODF (Open Document Format)

• OOXML (Office Open XML by Microsoft)

• Mars (Adobe's PDF expressed in XML)

• XPS (XML Paper Specification by Microsoft)

• Desktop Publishing (z.B. InDesign, Scribus etc.)

• Graphical Applications (z.B. SVG with Inkscape or Illustrator)

Page 20: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Example from Technical Documentation

• Content is written in DocBook (XML), for example.

• Multi-channel publishing via an XML workflow with XSLT

BookDocBook XML XSL-FO

ePub(eBook)

PDF

Web(XHTML)

XSLT

Page 21: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Service-Oriented Architecture (SOA)

BPELEngine

Enterprise Service Bus (ESB)

Accounting Stock Procurement

Company X Provider Y

SOAP

SOAP

SOAP SOAP

Bank Z

SOAP

WSDL WSDL WSDLWSDL

WSDLMessageTransformation

XSLT

XML

Order

Page 22: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Output Management

Application

InvoiceXML

XSL-FO(+ SVG)

XSLTStylesheet

Spool-File(PS, AFP...)

XSLTProcessor

XSL-FOProcessor

Post-Processing

(z.B. PPML,JDF etc.)

Archive/DMSz.B. CMIS

Page 23: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

DirectFactory by Swiss Post

Page 24: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Is XML here to stay?

• YES!

• Why?

• Established

• Accepted

• Versatile

• Survived the Hype.

• New XML languages constantly evolve.

Page 25: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

And how does that help me?

With XML you can:

Page 26: A Technology Penetrates the Entire IT Jeremias Märki

<XML/> - a Technology Penetrates the Entire IT Comparting, Sept. 2010

Any Questions?

Jeremias MärkiSoftware-Entwicklung und BeratungLützelmattstrasse 14CH-6006 Luzern

Tel. +41 76 302 49 27E-Mail: [email protected]

Web & Blog: http://www.jeremias-maerki.ch

Most photos in this presentation were published under the Creative Commons License and originate from flickr. My thanks go to Mixy Lorenzo,AndyRob, BrendaStarr, papalars, FlorianSchroiff, crosathorian & JuditK