RE: Adam Bosworth Article - what does "direct access" mean?
*chuckle* XML-DEVers sure like to go off the deep end when someone challenges their sacred cow. -----Original Message----- From: Bullard, Claude L (Len) [mailto:clbullar@i...] Sent: Thu 1/16/2003 7:52 AM To: 'Sean McGrath'; xml-dev@l... Cc: Subject: RE: Adam Bosworth Article - what does "direct access" 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! len From: Sean McGrath [mailto:sean.mcgrath@p...] Article entitiled "Speaking XML" by Adam Bosworth: http://www.fawcette.com/xmlmag/2002_12/magazine/columns/endtag/ 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! ----------------------------------------------------------------- The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative of OASIS <http://www.oasis-open.org> The list archives are at http://lists.xml.org/archives/xml-dev/ To subscribe or unsubscribe from this list use the subscription manager: <http://lists.xml.org/ob/adm.pl>
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format