From: "Robert I. Eachus" <rieachus@comcast.net>
Subject: Ada Component Registry proposal
Date: Sun, 19 Oct 2003 17:16:36 GMT
Date: 2003-10-19T17:16:36+00:00 [thread overview]
Message-ID: <3F92C6DB.5010502@comcast.net> (raw)
I put together an XML DOCTYPE for a Ada Component Registry, and tried
it out on GNADE. If a couple of people who understand XML would like to
look at it and criticize, I'll send you a copy. But right now I consider
it too preliminary to let loose in the wild. I'll probably have a much
better worked out version by the end of next week. (Oops! Mental note to
self, the registry itself needs a version number. ;-)
I picked GNADE as a test case though, expecting it to be a decent stress
test. Boy was it! For me as well as the XML grammer. I'd like to
comment on a few things that I found and what they mean for a formal
registry, or for the Common Ada Library.
One of the things that the registry does is makes the zip or tar or
whatever file that you can download more accessable. Much more
accessable. Amazingly more accessable. GNADE as delivered has over a
dozen directories and if you actually compile it, creates a few more.
(And just to confuse you puts some stuff into existing directories
outside the GNADE structure.) With the registry, you can look and see
that most of the source files are children of GNU.DB, and that package
declaration can be found in ../gnade-src-1.4.3a/support. The problem
though can be found in that word most. There is also a separate OCI
root for an Oracle binding, and over a dozen packages and programs at
the library level that can conflict with other bindings. These include
such wonderful names as Parser, Scanner, SQL, ODBC, and Tools.
Am I saying that GNADE is horribly organized? No. Just that GNADE is a
excellent example of why a registry is needed. If there were a standard
place for a database interface packages--I would prefer
Interfaces.Xxxxx, but that is a detail--then GNADE could provide some of
those packages and mix and match with implementations of such packages
from elsewhere. And GNU.DB.Support would disappear as GNADE moved to
using more standard implementations of tables and lists. Finally, the
scanner and parser that GNADE provides to support embedded SQL could be
reused by other projects that have nothing to do with databases.
But all of this has to be understood in terms of encouragement and
process. GNADE is not going to adopt major changes just because I say
they should. But the existance of a useable registry and "standard"
Common Ada Library would encourage the GNADE authors to evolve their
code in directions that will make it easier to reuse.
--
Robert I. Eachus
"Quality is the Buddha. Quality is scientific reality. Quality is the goal of Art. It remains to work these concepts into a practical, down-to-earth context, and for this there is nothing more practical or down-to-earth than what I have been talking about all along...the repair of an old motorcycle." -- from Zen and the Art of Motorcycle Maintenance by Robert Pirsig
next reply other threads:[~2003-10-19 17:16 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-19 17:16 Robert I. Eachus [this message]
[not found] <3F9879C0.9040209@myob.com>
2003-10-24 3:03 ` Ada Component Registry proposal Alexandre E. Kopilovitch
-- strict thread matches above, loose matches on Subject: below --
2003-10-23 16:16 Robert C. Leif
2003-10-24 11:48 ` Georg Bauhaus
2003-10-19 16:41 Robert I. Eachus
2003-10-19 16:44 ` Stephane Richard
2003-10-21 20:45 ` sk
2003-10-22 0:28 ` Robert I. Eachus
2003-10-22 2:26 ` sk
2003-10-22 3:38 ` Robert I. Eachus
2003-10-22 10:35 ` Stephane Richard
2003-10-22 16:58 ` Robert I. Eachus
2003-10-22 17:06 ` Stephane Richard
2003-10-22 23:14 ` Georg Bauhaus
2003-10-22 13:11 ` Marin David Condic
2003-10-22 13:51 ` sk
2003-10-22 4:26 ` sk
2003-10-22 11:14 ` Jeff C,
2003-10-22 11:34 ` Stephane Richard
2003-10-22 12:23 ` sk
2003-10-22 17:09 ` Robert I. Eachus
2003-10-22 19:13 ` sk
2003-10-23 2:17 ` Robert I. Eachus
2003-10-23 5:20 ` sk
2003-10-23 14:39 ` Robert I. Eachus
2003-10-22 12:12 ` sk
2003-10-23 5:41 ` sk
2003-10-23 15:01 ` Robert I. Eachus
2003-10-23 19:03 ` Alexandre E. Kopilovitch
2003-10-23 23:58 ` sk
2003-10-24 1:02 ` Robert I. Eachus
2003-10-24 1:18 ` Stephane Richard
2003-10-24 13:23 ` sk
2003-10-24 13:30 ` Stephane Richard
2003-10-24 15:11 ` sk
2003-10-24 17:12 ` Robert I. Eachus
2003-10-25 0:03 ` sk
2003-10-25 17:43 ` Robert I. Eachus
2003-10-25 18:53 ` Marius Amado Alves
2003-10-25 21:11 ` Marin David Condic
2003-10-25 21:23 ` Robert I. Eachus
2003-10-25 21:28 ` Marin David Condic
2003-10-26 0:24 ` Stephane Richard
2003-10-26 13:36 ` Marin David Condic
2003-10-26 16:02 ` Martin Dowie
2003-10-26 16:45 ` sk
2003-10-26 21:54 ` Marin David Condic
2003-10-26 16:34 ` Stephane Richard
2003-10-26 2:28 ` sk
2003-10-26 18:11 ` Robert I. Eachus
2003-10-26 18:34 ` chris
2003-10-24 17:31 ` tmoran
2003-10-24 17:50 ` Alexandre E. Kopilovitch
2003-10-25 17:48 ` Robert I. Eachus
[not found] ` <mSBO2c_KxF@vib.usr.pu.ru>
2003-10-24 1:00 ` sk
2003-10-24 13:39 ` sk
2003-10-24 17:18 ` Robert I. Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox