[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

more MOPs

invoice data model
>> data + context = information

>data - context = a bunch of random bits

No, I think:

data - context = RDBMS

where the meta data and the data are separated (and the meta data is static)

>So your assertion doesn't seem all that profound. Can data even exist
>without context? I don't think it's data if there's no context to which it
>can be applied.  Does an XML document, as a store of data, have a special
>ability to carry context?  I don't see how it does.

Is there not obvious context between the <name> elements in the following

			<name>Bill Payor</name>
			<name>Joe Receiver</name>
		<name>John Purchaser</name>

We have:
Invoice>BillingAddress>Contact>name = Bill Payor
Invoice>ShipToAddress>Receiver>name = Joe Receiver
Invoice>PurchasedBy>name = John Purchaser

Each name has it's context directly associated with it based on the
hierarchy of the XML.

If I gave you the data: Diana, you would not know what it means, and
therefore could not interpret how to process it, but if I gave you:

Owen>Wife>name = Diana then you have the context you need to process the
data, because it is now *information*

>> Adaptive application can be written (if certain XML modeling rules are
>> followed), that allow Meta Object Protocols (MOP) and
>> Reflection to be used
>> to dynamically extend the runtime environment.

>Ah-yup.  But a specific application of XML technology does not by itself
>constitute an proof that there is an underlying data model for the syntax
>that is XML.  The fact that you can construct a data model (or information
>model, if you like) using XML syntax does argue for its flexibility in
>adaptable to a wide variety of programming a modeling domains.  But it is,
>by the same token, adaptable to wide variety of document domains,  and
>serialized representations of all sorts of things.

Do not confuse data model (logical) with data base (physical), which I think
may be the disconnect.  So many people use XML for transfer, and then shred
or CLOB it into their existing *data* bases, without regard to the fact that
the XML *could* be formatted in such as way (logical=physical) as to require
minimal translation, if the format was more information rich, and less
transfer brief.

>It think using XML for MOP-ish descriptions is an excellent idea myself,
>have suggested as much this list in the recent past for describing how to
>represent XML data in objects and collections of objects.  It doesn't mean
>that XML has a fixed underlying data model, though. You can make it
>represent such data models, but that's different hill of beans.

No, XML has no *fixed* data model, rather it can be structured to represent
any specific Information Model you like. (logical=physical, and both data
and meta data dynamic)

I guess I will go on to say that Objects (and object technology in general)
has hit a wall, or has failed us.  I say this because we are still trying to
define things (like processable code) a-priori, without regard to the
behaviour that someone later might wish.  An example of recent point: look
at the discussion of HTTP protocol, where we endlessly debate whether it
should be used for things it wasn't designed to do.  If all people use XML
for is to serialize their objects, then they have missed the point of XML as
a synergistic effect upon which the way applications in the future will be
built.  Object behaviour (e.g. methods) *must* be as flexible as the data
(instances variables).



Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.