Hi Peter, You wrote that an XML design must take into consideration a-priori knowledge about the environment that the design must live within: Ø
Better is determined by the needs of the data exchange partners
Ø
and can vary by use case, network bandwidth, target device and
Ø
a host of other constraints How does one design XML in the absence of such a-priori knowledge? That is, how does one design XML that can be used over lots of different networks with lots of different bandwidths? How does one design XML that can be used
by lots of different consumers (applications) with widely varying processing needs? I thought that the whole point of designing XML is to avoid tying a design to a specific network, a specific application, a specific use-case?
I thought that the whole point of designing XML is to create a design that is usable across lots of different networks, by lots of different applications, by
lots of different use-cases? I thought that the whole point is to free XML of such tethering.
XML, run free! In the absence of a-priori knowledge we must, I contend, strip away all preconceived notions of “the right XML hierarchy.” I content that’s what a flat design
provides: it provides a series of components that that can be mashed up with other components, can be transformed (parsed) into any hierarchy, and can be normalized/stripped-down. The flat design, it seems to me, represents the ultimate goal of XML – freedom
from a-priori constraints/knowledge! XML design, be eternal! Comments? /Roger
From: Peter Hunsberger [mailto:peter.hunsberger@gmail.com]
Roger, I really think you need to give up on this particular line of reasoning. In particular, your examples make it clear you're aiming this at data exchange, not documents. As such, there is no "better" as far as flat
or fat. Better is determined by the needs of the data exchange partners and can vary by use case, network bandwidth, target device and a host of other constraints that do not allow for the kind of generalizations that you are trying to make. Rather, at best
these recommendations are useless and at best they will lead to broken designs that do not fit any needs at all.
"There are many technologies for transforming XML to fit the needs of the business partners exchanging the XML. When designing a system to exchange XML data, design your systems to exploit these technologies in order that the data exchange meet the needs of
the business partners in the best possible way." On Tue Dec 02 2014 at 4:31:27 AM Costello, Roger L. <costello@mitre.org> wrote:
|