Next in thread → Next in month →

Re: [xml-dev] Adam Bosworth Article - what does "directaccess" m ean?

From
Tim Bray <>
To
"W. E. Perry" <>
Date
2003-01-16T16:35:54Z
ID
<>
Thread
Re: [xml-dev] Adam Bosworth Article - what does "directaccess" m ean?
It is perfectly reasonable to want to receive an XML message containing 
a bunch of information about an equity.  It is perfectly reasonable to 
want to offer an object-oriented interface to that information with 
methods like price(), revenue(), and expenses().

There's no reason to expect that the XML message is anything like a 
direct serialization of the object instance.  XML buys you 
interoperability, and the price you have to pay is the work of loading 
incoming data from XML's optimized-for-generality layout to your 
internal software's optimized-for-your-problem layout.  Fortunately, 
this is usually not rocket science and provides a valuable level of 
decoupling between your software and your network.

Adam's a smart guy and genuinely gets XML at a deep level. He has 
successfully demonstrated that for programmers, fishing information at 
run-time directly out of XML messages is klunky and awkward.  D'oh. 
What next?  -Tim
Next in thread → Next in month →