Search the web
Sign In
New User? Sign Up
extremeprogramming · Extreme Programming
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: [XP] Question about YAGNI and DTSTTCPW   Message List  
Reply | Forward Message #23385 of 152329 |
Re: [XP] Question about YAGNI and DTSTTCPW

Responding to Paul Michali (07:09 AM 3/19/2001 -0500):
>I haven't read much about XML. Can someone point me to a few references
>to it so that I can learn more about how this could be used? I'm looking more
>for thebig picture; how say one application on a machine can access a database
>(e.g. several flat files) on the same machine. This machine *may* have a
>network interface or it may not. It will have a hard disk drive. It
>doesn't have
>a web server.

In essence, XML is just a textual formatting standard for data. Each
"record" consists of textual tags surrounding data. You can read it by
parsing out or regexping the tags. There are available libraries for
reading and writing XML in almost every language.

An example may suffice to give the flavor. Here's a few records from a
simple database, in XML:

<RECORD>
<NAME><FIRST>Ron</FIRST><LAST>Jeffries</LAST></NAME>
<CITY>Pinckney</CITY>
<STATE>Michigan</STATE>
</RECORD>
<RECORD>
<STATE>
California
</STATE>
<NAME>
<LAST>Jones</LAST>
<FIRST>James</FIRST>
<MIDDLE>Earl</MIDDLE>
</NAME>
</RECORD>

There are frills and details, data definitions also expressed in XML,
attributes and such, but mostly what one needs to know is (in my opinion)
expressed in that example.

At this level, XML is an interesting way to represent any kind of
structured data. There are many many tools; there's a translation language
to transform XML files to other formats; all kinds of things. Right now, of
all the XML books I have, I would recommend none.

Regards,

Ronald E Jeffries
http://www.XProgramming.com
http://www.objectmentor.com



Mon Mar 19, 2001 12:26 pm

ronjeffries@...
Send Email Send Email

Forward
Message #23385 of 152329 |
Expand Messages Author Sort by Date

... I haven't read much about XML. Can someone point me to a few references to it so that I can learn more about how this could be used? I'm looking more for...
Paul Michali
pcm@...
Send Email
Mar 19, 2001
12:09 pm

... In essence, XML is just a textual formatting standard for data. Each "record" consists of textual tags surrounding data. You can read it by parsing out or...
Ron Jeffries
ronjeffries@...
Send Email
Mar 19, 2001
12:27 pm

... O'Reilly just came out with "XML in a Nutshell", which isn't half bad. It explicitly has separate sections on XML as a text markup language and XML as a...
jbrewer@...
Send Email
Mar 19, 2001
7:17 pm

... Fluffiness? My problem with them is that when I read them in the bath, they're so heavy I'm afraid I'll drown! Ronald E Jeffries ...
Ron Jeffries
ronjeffries@...
Send Email
Mar 20, 2001
3:10 am

... A pound of feathers... Bill...
Bill dehOra
BdehOra@...
Send Email
Mar 20, 2001
10:01 am

... is about a cubic mile ... Ronald E Jeffries http://www.XProgramming.com http://www.objectmentor.com...
Ron Jeffries
ronjeffries@...
Send Email
Mar 20, 2001
12:24 pm

... So does the parse take the records and pack them into struct that the program then uses? How does one access a specific record (say the 100th)? Does one...
Paul Michali
pcm@...
Send Email
Mar 19, 2001
1:56 pm

... The provided parsers usually provide strings to your program on callbacks and you can do what you want. Building a struct or object representation is ...
Ron Jeffries
ronjeffries@...
Send Email
Mar 19, 2001
2:12 pm

Adding to Jeffries.... There are some other considerations that need to be addressed....as below ... You may what to think about a class structure that has...
Glen B. Alleman
galleman@...
Send Email
Mar 19, 2001
3:58 pm

Paul, Take a look at www.xml.com for the foundations of XML and its uses as both a text markup and data markup. One thing to remember, there is a TWO ...
Glen B. Alleman
galleman@...
Send Email
Mar 19, 2001
2:17 pm

... Sadly, I can only second that. The only (half-way) decent book I have is 'XML by Example' from Que. ...
Blum, Robert
rblum@...
Send Email
Mar 19, 2001
3:19 pm

Metaphor could be a source of new features and, consequently, new user stories. One the developers and customers agreed to the metaphor, every inconsistency...
Michael Larionov
michael.larionov@...
Send Email
Mar 19, 2001
3:40 pm

... Danger, Will Robinson, warning, warning. Very slippery slope ahead. Ronald E Jeffries http://www.XProgramming.com http://www.objectmentor.com...
Ron Jeffries
ronjeffries@...
Send Email
Mar 19, 2001
6:40 pm

... From: Michael Larionov <michael.larionov@...> ... adjust ... Teams do not need customer buy-in on metaphor. You can move along nicely without a...
Michael C. Feathers
mfeathers@...
Send Email
Mar 19, 2001
3:56 pm

... Yes. ... WHOA. You can do *a lot* using simple XML for data persistence without ever going near xslt, dtds, or sometimes even DOM's or SAX (although you...
Kevin Smith
sent@...
Send Email
Mar 20, 2001
4:08 am
 First  |  |  Next > Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help