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

RE: "Uh, what do I need this for" (was RE: XML.COM: How I Learne d to L

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: Michael Brennan <Michael_Brennan@A...>
  • Date: Tue, 21 Aug 2001 19:54:08 -0400

RE: "Uh
On 21 Aug 2001 15:28:28 -0700, Michael Brennan wrote:
> Except that somewhere there is a program driving that conversation.

Sure, but binding those programs tightly together is usually a bad idea,
especially when more than one participant is involved in the
conversation.

> Nonetheless, I think you make valid points, and for this same reason I think
> that of all of the things the W3C has given us, the DOM is probably the one
> with the least value.

I'm not completely sure what you mean here, but I'm not inclined to
disagree, either.

> In our own software we leverage a custom XSLT-like technology that lets us
> define in a declarative fashion the data structures we wish to extract from
> an XML message, and define mappings between these structures and the XML
> format for a particular message. We can also hook in arbitrary code at
> particular points to allow us to do any additional processing not
> accommodated with the declarative syntax. This affords us a rather malleable
> layer that sits between our own engine and the external interface we expose
> to customers and partners. However, the technologies are such today that you
> often drop into code at some point, and then you are typically stuck with
> the DOM or SAX. We are exploring ways to strike those from the APIs and let
> developers work at higher levels of abstraction when they do need to drop
> into code while still supporting that flexible modeling of conversations. 

Abstraction is a useful concept, when under the control of the
developers.  SOAP strikes me as horrible means of managing such
abstraction.  I'd really rather see developers deal with the need for
code than bind themselves into shared API straitjackets.

And yes, I know SOAP lets you wrap arbitrary documents, but if I wanted
arbitrary documents, why waste cycles in SOAP?

> Developers still need to write business logic, and they need to get the
> information from the XML document into data structures better suited to
> supporting that business logic. All of the APIs in the XML world are
> unsuited for this. They force the developer to mold their logic to fit an
> API that is only suited for modeling a document structure, rather than
> letting the developer mold their data structures and APIs to align with
> business concepts and processes.

That sounds reasonable, but it hardly sounds like a ringing endorsement
for API models in general or SOAP in particular...

Needing better APIs for direct XML processing doesn't sound like cause
to run to a higher level of API abstraction that leaves you largely
stuck in the land of APIs.  It seems that we could certainly do
something more creative than that.



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.