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

RE: Adam Bosworth Article - what does "direct access" mean?

what does fullstop mean
His example shows that using XML to support a single function 
is pretty awful.

It is. Not new news.  As the guy who talked long about 
coarse transactions, he knows most folks don't do that. 
He knows that they do that repeatedly.  Painful code to 
enter and maintain, and brittle.  XML is not object-oriented.

He is showing that using paths to identify data 
for use by a function is verbose.   

It is.  Not new news. As the guy who talked long about 
loose coupling, he knows what the tradeoffs are in data 
driving with a syntax unification approach based on 
a hierarchical format.  Path identification should 
go away in the program but how else will we deal 
with selectors?  XML is not object-oriented.

He's right that the code examples are real ugly.
So the alternatives are?   

Ok, we go back to the old Xerox approach to 
markup:  elements and text nodes.  Full stop. 
Straightforward binding and no intricacies 
from those messy attributes, PIs, DOCTYPEs, 
and so on. IDs?  Interoperability?  Oops. 

While we're at it, let's fix that semantic 
problem.  Let's bind data to code and send 
it all as one neat package.  Security?  OOPs.

Good discussion topic.  XML is not object-oriented. 
Well... duh!


From: Sean McGrath [mailto:sean.mcgrath@p...]

Article entitiled "Speaking XML" by Adam Bosworth:

I'm intrigued by "it is becoming increasingly necessary for developers to 
directly access and
manipulate XML documents."

My reading of the article suggests that "direct access" here means "lets 
make the XML a direct
serialization syntax for objects":

         import Customer
         Customer c = new Customer ("Customer.xml")

If this is the line of thought I'm fairly squarely against it for more 
reasons than I have time
to articulate at the moment. Just looking for opinions on my interpretation at
this point!


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.