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

Re: An inquiry into the nature of XML and how it orients our p

  • From: Mukul Gandhi <gandhi.mukul@gmail.com>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Sat, 21 Nov 2009 06:30:41 +0530

Re:  An inquiry into the nature of XML and how it orients our p
Hi Roger,

On Fri, Nov 20, 2009 at 5:46 PM, Costello, Roger L. <costello@mitre.org> wrote:
> I oftentimes hear of people creating XML in an Object Oriented (OO) form, i.e., as classes and subclasses, or of people creating XML in a relational database form, i.e., as tables with rows and columns. I wonder if such forms are appropriate for XML? Does OO serve the same purpose as XML? Do relational tables serve the same purpose as XML?

I personally think, it's quite challanging to design (looks like too
much of an effort to me, for end user applications) an object oriented
system (let's say object's structure -- attribute and method
instances) modeled as XML document (instead we should use OO languages
for this :)). But certainly we write XSD Schemas, in OO fashion. I
would say, we sometimes design a particular domain type system, in OO
fashion. But I can't imagine, that usual real world XML instances can
easily be object oriented (I have not seen such an application design
commonly).

But ofcouse, we have systems which serialize OO system's, object state to XML.

> What are the consequences of constructing XML documents as a collection of classes and subclasses, or as tabular rows and columns?

Using XML documents to depict object state, and the user doing an
application design for this, looks like a big effort to me. I am not
sure, if such a design should be preferred. I have not commonly seen
this kind of program design. Some programming infrastructures (like
java for example), provide APIs to serialize object state, to XML (but
that's an infrastructure service, and not an application design).

Imagining XML documents, as tabular rows and columns I think, is yet
another application data model (and I think, it's used much in
application design). Of course, I think there are many other XML
instance models possible (depicted by so many kinds of XML Schema's,
that already exist, and those that are yet to be written).

> Do we destroy the beauty of XML?

I don't think so. If we make use of XML to model an OO instance, I
think that would just be another use of XML :)



-- 
Regards,
Mukul Gandhi


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.