[thelist] Tricky Database Question

Sam Richardson sam.richardson at outwide.co.nz
Sun Jul 20 16:02:31 CDT 2003


XML would be great if I migrate the output to other mediums, but it still
has to be stored in a database. Thanks though, I may make an intermediate
step of formatting the database recordsets into XML before I output them to
the page.

----- Original Message ----- 
From: "M.G. Noriega" <manuel at simplelogica.net>
To: "Sam Richardson" <sam.richardson at outwide.co.nz>
Cc: <thelist at lists.evolt.org>
Sent: Friday, July 18, 2003 9:33 PM
Subject: Re: [thelist] Tricky Database Question


El vie, 18-07-2003 a las 00:11, Sam Richardson escribió:
> I'm developing an application that is going to deal with information about
> different animals, and breeds of those animals.

I'm not 100% percent sure, but could XML be more appropiate to model
this kind of info

<animals>
       <animal id="001"></animal>
<species>Dog</species>
<breed>Unknown</breed>
<name>Little Santa's Helper</name>
<attributes>
<attribute name="height" unit="cm">100</height> </attribute>
<attribute name="speed" unit="km/h"/>
1
</attribute>
</attributes>
</animal>
</animals>


Of course, the schema could be organized around species, breed, etc..
not individual animals. XML gives you more power to deal with
semi-structured info, imo.

Just trying to think outside the box :)


-- 
Manuel González Noriega
Simplelógica, construcción web @ http://simplelogica.net
Logicola es el weblog de Simplelógica http://simplelogica.net/logicola/

-- 
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

Evolt.org conference in London, July 25-27 2003.  Register today at
http://evolt.org.uk

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !



More information about the thelist mailing list