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

RE: Declarative XML Processing with XQuery


nopreload



>From: "Bullard, Claude L (Len)" <len.bullard@i...>
>To: 'Michael Champion' <michael.champion@h...>
>CC: "'xml-dev@l...'" <xml-dev@l...>
>Subject: RE:  Declarative XML Processing with XQuery
>Date: Tue, 8 Nov 2005 15:35:03 -0600
>
>Hjelsberg's discussion takes a bit longer to absorb but
>is well worth it.

There are a couple of others that I think are worthwhile for people 
interested in LINQ and XML

http://microsoft.sitestream.com/PDC05/DAT/DAT324_files/Default.htm#nopreload=1&autostart=1
http://microsoft.sitestream.com/PDC05/TLN/TLN306_files/Default.htm#nopreload=1&autostart=1

(Mangle the URLs I sent earlier for the FF-friendly components   -- 
s/TLN307/TLN306 , etc.)


>So why exactly do we want to use XQuery or XLinq?
>
>One reason, with my limited practical experience, that
>comes to mind is that this is a lot like Foxpro in that
>Foxpro, being a dedicated database programming language,
>was a lot more productive than doing the same work in say,
>Visual Basic.  Having the queries in the procedural language
>(once one mastered USE) was quite powerful and real rapid
>prototyping.

I think that's the main reason -- making queries a first-class feature of 
the programming language rather than strings passed to an API. There's also 
the tool support (Intellisense, debuggers, etc.) that makes it easier to 
learn and remember the query features.

Also, and getting back to the original topic, querying data in lists, 
arrays, object graphs, etc. as well as XML trees  has a much more 
declarative feel to it and allows optimizers to do the heavy lifting to get 
efficient navigation over the various data structures.  Say what one will 
about that's what programmers are supposed to learn in school, the fact 
remains that the Hjelsbergs of the world will do it an order of magnitude 
better than many of us, and the declarative approach lets us say what we 
want to happen, and them generate the detailed instructions to make it 
happen.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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.