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

loose coupling, was Re: Early Draft Review: XQuery forJava (JS


js coupling
Michael Kay wrote:

>>The issue is relevant to ad hoc queries but it's moot for 
>>repetitive queries,
>>such as for generating a monthly publication. 
>>    
>>
>
>That statement confuses me, and not only because Americans appear to use the
>word "moot" in the opposite of its original English sense of "arguable".
>  
>
I wonder whether to which extent the interpretation of words like moot 
influences the quality of API designs. I always though argueing (with 
the goal of agreement) was a good thing, but by now I come to think that 
I might be too idealist.

>The benefit of a string interface is that it gives looser coupling between
>systems. The benefit of a custom syntax/protocol is that it gives earlier
>validation. The experience of the last few years is that loose coupling
>tends to win, across most application scenarios. Hence XML.
>
>  
>
I am not sure of the "loose coupling" argument in the context of 
large-scale software development.

You put element names, variables names in your query strings. You might 
rely on the schema of the data to process the query result.

Now the schema evolves, you have to change your queries - is it easier 
to change (=>loosely coupled) if you have your queries in objects, or if 
you have them in strings ?

cheers,
Burak


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.