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

Re: syntax, model


poison models
On Friday 24 October 2003 11:34, Simon St.Laurent wrote:
> tyler@w... (Tyler Close) writes:
> >That's what a data model is. A data model tells you how you can
> >expect data to be structured.
>
> Perhaps the problem is that I make a distinction between "data" and "XML
> document".  I don't generally give a damn about sharing structures
> beyond the document itself.  When I do, I try to keep those structures
> as minimal as possible.

But the document itself structures data. The schema for the
document is a description of how the data is structured. You are
using a data model. The schema defines the data model.

When you write code to fetch a string from an XML document, how do
you know where in the XML document to look for the string?  The
XML specification doesn't tell you where to find the string.  You
must have some kind of data model that tells you where to look for
the string.

> >Perhaps we need an explicit definition of what a data model is.
> >Could you provide yours?
>
> A data model can range from a blessedly custom-fit outfit tailored
> specifically to a particular need, or a hair-shirt straitjacket meant to
> be shared by as many people as possible.
>
> My problem is not with the notion of a data model per se - I use them in
> my own code all the time.  My problem is with the notion of shared data
> models.  Sharing syntax, fine.  Sharing data models?  That costs a lot,
> in various ways.
>
> Shared data models are poison.

If that's your best shot at a definition, you don't have a clear
notion of what a data model is. Maybe that's why you call it
poison.

Tyler

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.