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

Re: Ontolgies, Mappings and Transformations (was RE: Web Servi

  • To: Rick Marshall <rjm@z...>
  • Subject: Re: Ontolgies, Mappings and Transformations (was RE: Web Services/SOA)
  • From: Daniela Florescu <dflorescu@m...>
  • Date: Tue, 30 Nov 2004 22:17:48 -0800
  • Cc: Michael Champion <michaelc.champion@g...>, xml-dev@l...
  • In-reply-to: <41AD4552.5010506@z...>
  • References: <830178CE7378FC40BC6F1DDADCFDD1D103BD1C09@R...> <e3a5cb2c04113018202396be42@m...> <41AD4552.5010506@z...>

ontolgies
xml and associated tools - xslt, xquery etc are the nice declarative bit. soap, ws-* etc are the workflow bits (although they're a bit hybrid being to some extent declarative in specification)

You are right, those are two different pieces in the puzzle for programming
with XML (especially Web services). But declarative constructs and workflow constructs
do not invalidate each other, they can co-exist as part of the same language.

I think that there are two pieces missing in the puzzle for programming for
Web Services: adding imperative logic to the XML world (aka statements)
and making the link between XQuery/XSLT and Web services.

XQuery and XSLT don't give us imperative logic. But XQuery gives us
(a) an abstract data model for XML
(b) a type system
(c) expressions
and all imperative languages use those three as building blocks don't they ?

So, shouldn't we use them !?

Almost 4 years ago I was playing with extending XQuery to a full programming
language for Web Services. The resulting language, called XL, was implemented
by a couple of PhD students in Germany and now in ETH in Switzerland.

I think that the web site (that includes a live demo) is still maintained by my colleague
Donald Kossmann at

http://xl.informatik.uni-heidelberg.de/index2.shtml

This experiment raised a lot of positive comments. But in the same time the idea
of having an XML oriented programming language raised the following comments
from Tim Bray:



An XML-Oriented Programing Language? One response has been a suggestion that we need a language whose semantics and native data model are optimized for XML. That premise is silly on the face of it: here are two reasons why:
? Some decades after the advent of the relational database, we have not seen programming languages center themselves around normalized data models; in fact, the movement away from the C struct-centered worldview to O-O code+data encapsulation is really a move away from the tabular paradigm. You can embed SQL in most languages now, but normally you don't implement any serious business logic in it. If this hasn't happened after decades in the relational world, why would we expect it to happen in the XML world?
? The notion that there is an "XML data model" is silly and unsupported by real-world evidence. The definition of XML is syntactic: the "Infoset" is an afterthought and in any case is far indeed from being a data model specification that a programmer could work with. Empirical evidence: I can point to a handful of different popular XML-in-Java APIs each of which has its own data model and each of which works. So why would you think that there's a data model there to build a language around?




I still don't understand why something like this would be silly.


Best regards,
Dana

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.