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

RE: SQL instead of XQuery [offtopic]

  • From: "Michael Kay" <mike@s...>
  • To: "'Len Bullard'" <len.bullard@u...>,"'Ken North'" <kennorth@s...>,<xml-dev@l...>
  • Date: Mon, 11 Feb 2008 20:21:59 -0000

RE:  SQL instead of XQuery [offtopic]
> I think it a huge 
> conceptual mistake to make document computing the centerpiece 
> of database design although it is a big win for the GUI.

It certainly can be a big mistake. I think there are two cases where it
works well:

(a) where the documents map well to the business objects that are the
primary information content of the database. For example a database of
hotels can work well when implemented as a database holding one document per
hotel, similarly a database of medicinal drugs. You get issues about where
to put information that doesn't belong directly with a hotel (e.g.
information about a hotel chain or about a resort), but if you're clever you
can present this to viewers (not updaters) as if it's just part of the hotel
information. (One thing that seems to be lacking from most of today's XML
databases is this concept of a persistent virtual document or view.)

(b) where the purpose of the database is to record events and the events are
captured by documents - for example safety inspection reports or insurance
claims. In this situation a database of documents is exactly what you need.

When these conditions don't hold, for example with an HR database, despite
the fact that XML is very good at handling the flexibility of the data,
document-centred modelling certainly has its limitations. But then so do
other modelling techniques. I once asked a data modelling class to model a
railway timetable - big mistake.

Michael Kay
http://www.saxonica.com/





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.