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

Re: XML as "passive data" (Re: The Browser Warsare D


passive data. examples.
[Alaric B. Snell]
> Nobody's yet given a good reason why data encapsulation is bad.
>
> Some people have spoken out about problems with things that 'hide' your
data
> away from you, but that's not the point - sure you encapsulate some data
> badly:
>

Generally speaking, and maybe especially for business uses, data is much
more long-lived than process.  Thus it is often reused in ways not
originally expected.  Data mining is just one example.  So it can be useful
to construct business objects from data and behavior to accomplish a
particular task or process, but the data often lives on.

In this way data can have a special place relative to objects and process,
and there is a real place for "passive" data.  On the other hand, if data is
being exchanged for a particular purpose and then it will evaporate, none of
the above really holds, and you might as well send objects or marked-up
attempts to simulate them.

Imagine an active data object that corrects the spelling of the text that
you encapsulate in it.  One day you want to send an example of a mispelled
word on purpose, but -whoops! - the object fixes it for you anyway.  Active
data may or may not be what you want - it all depends, as always.  But it
would be conservative (and safe, I would say) to send data-only and then
process it as you like.  Heck, even send the processor, why not?

Cheers,

Tom P



PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.