|
Posted by Tim Van Wassenhove on 07/25/05 16:38
On 2005-07-24, Kyndig <kyndig@gmail.com> wrote:
> My problem is that everyone's house attributes are different. Some
> folks have special PANELS that go in a ROOM, and some users don't want
> to include PEOPLE in their house description.
Actually, in a normalized db design you would probably end up with
tables like:
houses, rooms, panels, peoples
and then add houserooms, housepeoples, etc to link them...
>
> I have been searching for a php, mysql, xmls style 'generator'(for lack
> of proper term). I can piece togeather any code I need. So far I have
> found a wonderful XML generator lib that will handle creating XMLS
> which I can store in a simple DB 'text' row. But I am having a
> difficult time 'piecing everything I need to do togeather'.
As you are trying to save XML in a database, you would probably end up
with tables like:
nodes
attributes
nodeattributes
....
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
Navigation:
[Reply to this message]
|