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

Re: Re: If XML is too hard for a programmer, perhaps he'dbe b

Re:  Re: If XML is too hard for a programmer

On Fri, 28 Mar 2003, Mike Champion wrote:

> Not wanting to open up too big a can of worms, but perhaps data is hard for
> *OO* programmers, since the principle of encapsulating data behind accessor
> methods has been promoted for a decade or so now.  Geezers who learned that
> Algorithms + Data Structures = Programs shouldn't have a problem with
> labelled trees, or text patterns in strings, or whatever. <duck>

Personally i see no conflict with XML as a data format and OO paradigms.
On the contrary its extensible, hierarchical structure lends itself
perfectly to polymorphic models. Which is a lot more than what can
be said for relational db's!

OO developers, just like every one else, simply need to break the API
barrier to make full use of the XML data format.
Sure it'll seem perfectly sensible if you've spent 15 years writing RDBMS
applications to force XML into a db and then write another db app like you
already have done a hundred times. But that's essentially taking a
hierarchical structure and forcing it flat, loosing valuable
and useful information in the process.

Anyone who's tried to do anything even remotely OO using eg CMP EJB's
(container managed persistance EJB's) knows how poorly simple class
hierarchies map to relational db's - database tables simply aren't

With XML, we've a data (and document!) format which easily reflects the
inherent structure of OO models. Furthermore it's extensible, which means
flexibility in both the coding and data department.
Personally, I'm certain that the future of object-oriented development
will be tightly linked to that of XML, not only because of market pressure
but because the paradigms are ultimately compatible.
Of course, the super-efficient, extensibly indexed and nativly-XML backend
still needs to be perfected!


Martin Klang
http://www.o-xml.org - the object-oriented XML programming language


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.