Ads by TechWords

See your link here
Receive the latest technology news and information.
Computerworld Daily News (First Look and Wrap-Up)
Computerworld Blogs Newsletter
The Weekly Top 10
Cloud Computing
View all newsletters




Privacy Policy
 

Q&A: Getting a grip on XQuery

One of its prime movers explains the importance of the query language

December 7, 2006 12:00 PM ET

Computerworld - XML seems unstoppable. On the Web, this general-purpose document display language is rapidly replacing HTML. In the office, Microsoft Corp. and OpenOffice have both moved to XML document formats. Even the big database vendors are turning their databases into relational/XML hybrids. That latter effort should get a boost by the end of the year, when XQuery, the XML counterpart to the conventional SQL database language, is expected to be become an officially recommended standard of the World Wide Web Consortium.

Jonathan Robie, XQuery technology lead at DataDirect Technologies, a subsidiary of Progress Software Corp., is one of the prime movers behind the XQuery standard. He spoke with Computerworld about XQuery's importance and its effect on business IT users.

How would you explain the importance of XQuery to an IT manager or CIO? If you've got objects, you want an object-oriented programming language. If you've got relational tables, you want SQL. If you've got XML, you want an XML programming language. You could mix and match and, for instance, use Java to program a relational database. But you would write a lot more code, it's a lot more complicated, and you end up fighting the data you're working with. For data integration, XQuery also has a unique advantage. Usually, you have to learn a new [application programming interface] for every different data source you work with. Then you have to do a lot of programming to integrate the data and bring it together. XQuery gets rid of all that. It lets you query everything as if it were XML and create an XML result. You don't have all of those APIs cluttering everything up.

What are some real-world implications of that? Could you enable more powerful searching of the Web, more powerful than Google today, for instance? There is a full-text search standard for XQuery, but most XQuery implementations now are not about full-text search. I think of XQuery more in terms of when you have a bunch of disparate data sources in your enterprise -- some databases, some configuration files, some programs -- and you want to integrate all that data for Web services or Web sites.

So XQuery might let you eventually sidestep some of the current data integration, data cleansing or master data management products out there today? Yes, absolutely. People are taking procedural and pipeline approaches to getting data together. That involves a bunch of middleware or Web services interfaces. A simple declarative query is what you'd really like. You can bypass many steps, save on massive amounts of code and avoid potential mistakes.



Jump to comments

XQuery

Additional Resources

WHITE PAPER
Approximately 60 percent of data migration projects overrun time or budget, while some fail completely. Download this white paper, "Enhancing Your Chance for Successful Data Migration," to learn the critical steps you need to take to execute a data migration project with minimum cost and risk to your business.
WHITE PAPER
Read the Gartner research note to learn why the TCO of a server-based computing deployment used to deliver all applications to users is around 50% lower than that of an unmanaged desktop deployment.
WHITE PAPER
Economic downturns have a tendency to accelerate emerging technologies, boost the adoption of effective solutions, and punish solutions that are not cost competitive or that are out of synch with industry trends. This IDC White Paper presents the results of an IDC survey of 330 companies in Western Europe, Asia/Pacific and the Americas that measures the receptiveness to Linux and takes into consideration changing views driven by the disruptive economic environment that businesses face today.