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

RE: Enlightenment via avoiding the T-word

  • From: "Bullard, Claude L (Len)" <clbullar@i...>
  • To: Tim Bray <tbray@t...>, xml-dev@l...
  • Date: Wed, 29 Aug 2001 13:46:47 -0500

grunge names
Which is why I asked earlier about points of 
view on these subjects depending on implementation 
background.  The namespace utility's usefulness 
has a lot to do with the system in which it is
used.  Again, surface syntax doesn't tell one 
enough about the properties of the *system*. 
That is why the groves people spent their 
time working out a way to find and map invariants.

On mapping relational databases:  declare all 
of the fields as globals and find out how much 
name grunge is in your legacy system.  Declare 
them locally (children in elements whose names 
ARE the tablenames), and you hide all of that.  
Use the ODBC connection of XML Spy to the 
relational database and see how it represents 
what it gets.

What you do about it depends on how much system code 
you are willing to rewrite and that depends on 
who else is using the schema.  But gad, there is a 
lot of grunge in almost any legacy table design 
and you have to track a bunch of people down to 
find out if it is real or just grunge.


Len 
http://www.mp3.com/LenBullard

Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h


-----Original Message-----
From: Tim Bray [mailto:tbray@t...]

Hmm, I'm not willing to go nearly as far as Rick.  But he's done
a good job of pointing out that overloading names in a single
markup vocabulary does have a real cost, and one you should 
worry about (and I found it instructive that in the RDBMS world, 
ERWIN raises a flag on this).

On the other hand, when I'm writing O-O software, when I pick
variable and method names I don't worry very much about whether 
they clash with locals elsewhere.  Hold, on that's not true: if 
you're building a class in Java, you'd better not have a toString() 
method that launches missiles :)... but it's certainly a different 
style of thinking.

There's scope for a nice general essay here about the 
differences between ways of thinking about data; basic WF XML, 
OOP, and RDBMS represent instructively different thought 
patterns.  PSVI and DTDs and SOAP and so on fit into this 
pattern in interesting ways.  -Tim

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.