comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: A little database
Date: 16 Nov 2002 12:20:25 +0100
Date: 2002-11-16T11:21:06+00:00	[thread overview]
Message-ID: <u8yztg3ra.fsf@wanadoo.fr> (raw)
In-Reply-To: 4519e058.0211151348.4e882a74@posting.google.com


dennison@telepath.com (Ted Dennison) writes:

> For a database, the most sensible portable format would be CSV. That
> way it can be imported, exported, edited, and manipulated with any
> database or spreadsheet tool you users might have or want (even a text
> editor). Unless you have complicated hierarchal relationships that
> can't be easily expressed in tabular format, XML is overkill (and
> relatively poorly supported overkill, at that).

Overkill at first sight... but with XML you can parse, validate, publish or
whatever... This is the same argument that say that Ada is overkill compared
to C!

> I don't know of any Ada support for creating CSV's, but the format is

I have a Text_Key_File component on my homepage that does just that. Handle a
file where each line is composed of fields. The separator can be
configured. Not also that this is a job that is easy to do with GNAT.AWK.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



  reply	other threads:[~2002-11-16 11:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-15  7:01 A little database Victor Porton
2002-11-15  9:31 ` Preben Randhol
2002-11-15 10:10 ` Georg Bauhaus
2002-11-15 19:02 ` Pascal Obry
2002-11-15 21:48 ` Ted Dennison
2002-11-16 11:20   ` Pascal Obry [this message]
2002-11-18 15:01     ` Ted Dennison
2002-11-25 19:13       ` Georg Bauhaus
2002-11-25 22:00         ` achrist
2002-11-26 10:39           ` Georg Bauhaus
2002-11-23 20:13 ` Michael Erdmann
2002-11-26  5:46 ` Victor Porton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox