|
XML is a disappointment for me. At a business level, the need for a set of common standards for data interchange is vast and important. But why oh why was it done like this?
Over the past couple of decades I've worked with many data formats, and XML / XSLT is one of the less readable ways to present data. It's really hard to provide layout which makes an XML document readable without transformation.
This gets worse when dealing with XSLT for use with XHTML. The code and the content (XHTML tags) are hopelessly intertwined. Modularity - one of the foundation stones of development - is out the window as a result.
And yet - the business need is powerful. XML Schema is indeed hard to understand (and I write as one who has written schema processors).
But the schema for an industry - an agreed definition of the data standards for a domain - is something of immense power. With standards like MPEG-7 (multimedia), DIG-35 (cameras), FPML (financial products), SWIFT (financial back office) - the data architecture of an indistry is laid bare.
And the data architecture of an industry lets me develop applications for that industry in a fraction of the time it would normally take.
I can generate the database. Class libraries. Data input screens. Reports. All with a little manipulation of the schema. All knowing that there will be no problem with incompatibilities.
With change reduced by the perfection of the initial analysis in the schema, shining gems of analysis crystallized in the hard form of a specification agreed by an industry.
And THIS is what none of the books teach me.
|