comp.lang.ada
 help / color / mirror / Atom feed
From: "Warren W. Gay VE3WWG" <ve3wwg@cogeco.ca>
Subject: Re: A Customer's Request For Open Source Software
Date: Wed, 27 Aug 2003 09:37:12 -0400
Date: 2003-08-27T09:37:12-04:00	[thread overview]
Message-ID: <_t23b.5683$nw3.248827@news20.bellglobal.com> (raw)
In-Reply-To: <3F4CA22B.30608@noplace.com>

Marin David Condic wrote:
> I agree that concurrency is difficult. What I'm talking about is that if 
> you built a core accounting engine that presented itself to the rest of 
> the application as an "object" and if that engine initially just 
> operated within RAM (load and store to a file), you'd have a useful 
> start. 
...
> MDC

Actually, that is not too far away! I just finished testing some generic
database code, that can swing between PostgreSQL and MySQL with just
a swap of a "with" statement in the main program (using APQ 2.0). This
relies heavily on tagged types and polymorphism, but it works very
well.

You build your code so that it only needs the database connection
Root_Connection_Type'Class (which naturally dispatches when used),
and the procedure that this connection object is passed to
can do everything else in a database neutral way.

This is not to say there aren't some database specific issues,
but there are ways to deal with most of these, and some of
them in a fairly generic way.

Since accounting is such a basic need, I have made plans to include
an accounting engine object in a child package, to do just the sort
of thing you have suggested. I mean, why build the accounting engine
more than once?  Everyone needs accounting. The package may
fit into the hierarchy structure as something like
APQ.Applications.Accounting. If you want to see a rough draft
of a PDF manual for APQ version 2.0, email me and I'll send it
to you (it includes some generic database code examples).

The first thing I had to conquer was generic database
programming, since I don't like being locked into one
brand of database.  Whatever I choose will be the wrong
choice for you, or the wrong choice 2 years from now.
But this annoyance is nearly out of the way now.

I only like to write such things once if possible, and
only support one instance of the same code. So the time is
now ripe for application objects of this type. It is nearly
next on my list of things to do, and I have a big list ;-)

-- 
Warren W. Gay VE3WWG
http://home.cogeco.ca/~ve3wwg




  reply	other threads:[~2003-08-27 13:37 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-21 12:35 A Customer's Request For Open Source Software Marin David Condic
2003-08-21 12:46 ` Stephane Richard
2003-08-22 12:32   ` Marin David Condic
2003-08-22 13:38     ` David Holm
2003-08-22 14:33       ` Stephane Richard
2003-08-22 16:40         ` David Holm
2003-08-23 13:18           ` Marin David Condic
2003-08-25  8:27             ` Preben Randhol
2003-08-25 20:50               ` Chad R. Meiners
2003-08-26  1:28                 ` Stephane Richard
2003-08-26  9:27                   ` Preben Randhol
2003-08-26 17:06                     ` Chad R. Meiners
2003-08-26 12:51                   ` Marin David Condic
2003-08-26 18:25                     ` Wes Groleau
2003-08-27 10:05                     ` Dave Head
2003-08-27 12:11                       ` Marin David Condic
2003-08-27 19:45                       ` [off-topic] military medicine Wes Groleau
2003-08-30 17:33               ` A Customer's Request For Open Source Software Jan Kroken
2003-09-01 10:03                 ` Preben Randhol
2003-09-17 18:21                   ` Jan Kroken
2003-08-22 16:46         ` Larry Kilgallen
2003-08-22 17:09           ` Stephane Richard
2003-08-22 18:03             ` Larry Kilgallen
2003-08-25  8:33             ` Preben Randhol
2003-08-23 13:05       ` Marin David Condic
2003-08-30  5:58     ` Adrian Hoe
2003-08-30 11:09       ` Stephane Richard
     [not found]         ` <rti721-4p3.ln1@beastie.ix.netcom.com>
2003-08-31 18:28           ` Christopher Browne
2003-09-02 15:44             ` Adrian Hoe
2003-08-30 13:18       ` Marin David Condic
2003-08-21 20:46 ` Warren W. Gay VE3WWG
2003-08-21 21:12   ` Stephane Richard
2003-08-22 20:26     ` Warren W. Gay VE3WWG
2003-08-22  3:09   ` Hyman Rosen
2003-08-22 12:45     ` Marin David Condic
2003-08-22 20:46     ` Warren W. Gay VE3WWG
2003-08-22 12:37   ` Marin David Condic
2003-08-22 18:59     ` Warren W. Gay VE3WWG
2003-08-22 20:59       ` Warren W. Gay VE3WWG
2003-08-23 13:24         ` Marin David Condic
2003-08-25 19:35         ` Brien
2003-08-25  8:52   ` Preben Randhol
2003-08-25 16:32     ` Warren W. Gay VE3WWG
2003-08-26  9:19       ` Preben Randhol
2003-08-26 21:01         ` Warren W. Gay VE3WWG
2003-08-27  5:15           ` Preben Randhol
2003-08-21 22:53 ` David Holm
2003-08-21 23:11   ` Stephane Richard
2003-08-22  0:04     ` David Holm
2003-08-22  0:17       ` Stephane Richard
2003-08-22  0:19       ` Stephane Richard
2003-08-22 17:49         ` Robert I. Eachus
2003-08-22 20:56           ` Warren W. Gay VE3WWG
2003-08-23  2:29             ` Alexander Kopilovitch
2003-08-24  2:54               ` Robert I. Eachus
2003-08-24  3:11                 ` Matthew Heaney
2003-08-24 14:57                 ` Marin David Condic
2003-08-24 16:31                   ` Robert I. Eachus
2003-08-25 12:37                     ` Marin David Condic
2003-08-25 14:08                       ` Robert I. Eachus
2003-08-25 21:07                         ` Alexander Kopilovitch
2003-08-26 18:34                       ` Christopher Browne
2003-08-27 12:21                         ` Marin David Condic
2003-08-27 13:37                           ` Warren W. Gay VE3WWG [this message]
2003-08-28 22:04                 ` chris
2003-08-29  1:02                   ` Robert I. Eachus
2003-08-29 10:46                     ` Larry Kilgallen
2003-08-29 21:15                       ` Robert I. Eachus
2003-08-29 16:10                     ` Jon S. Anthony
2003-08-30 19:01                     ` Alexander Kopilovitch
2003-08-30 22:57                       ` Robert I. Eachus
2003-08-31 23:04                         ` Alexander Kopilovitch
2003-09-01  2:09                           ` Robert I. Eachus
2003-09-01 16:29                             ` Alexander Kopilovitch
2003-09-01 21:22                               ` Robert I. Eachus
2003-09-02  2:12                                 ` Christopher Browne
2003-09-02  4:16                                   ` Ludovic Brenta
2003-09-02 14:53                                     ` Christopher Browne
2003-09-02 19:52                                       ` Charlie Spitzer
2003-09-03  2:18                                     ` Robert I. Eachus
2003-09-12 12:21                                   ` Jacob Sparre Andersen
2003-09-12 17:49                                     ` Robert I. Eachus
2003-09-13  5:49                                       ` Edward Rice
2003-09-13 18:59                                         ` Robert I. Eachus
2003-09-12 20:45                                     ` Christopher Browne
2003-09-02 16:16                                 ` Alexander Kopilovitch
2003-09-03  2:36                                   ` Robert I. Eachus
2003-09-01 21:44                             ` Larry Kilgallen
     [not found]                             ` <e2e5731a.0309010Organization: LJK Software <og4DamrQ9AuX@eisner.encompasserve.org>
2003-09-03  3:02                               ` Robert I. Eachus
2003-09-03 16:57                                 ` Warren W. Gay VE3WWG
2003-09-04  7:19                                   ` olehjalmar kristensen - Sun Microsystems - Trondheim Norway
2003-09-05 17:06                                     ` Warren W. Gay VE3WWG
2003-09-05 19:27                                     ` Robert I. Eachus
2003-09-03 12:38                             ` Larry Kilgallen
2003-09-06  2:10                             ` Larry Kilgallen
     [not found]                             ` <e2e5731a.03090Organization: LJK Software <D1upWhxUuOLF@eisner.encompasserve.org>
2003-09-06 20:34                               ` Warren W. Gay VE3WWG
2003-09-06 23:36                             ` Larry Kilgallen
     [not found]                       ` <hli721-4p3.ln1@beastie.ix.netcom.com>
2003-08-31  2:35                         ` Robert I. Eachus
2003-08-22 20:49       ` Warren W. Gay VE3WWG
2003-08-23  1:47     ` jim hopper
2003-08-23  1:47       ` Ludovic Brenta
2003-08-25  9:12         ` Preben Randhol
2003-08-25  8:59     ` Preben Randhol
2003-08-25  8:02 ` Preben Randhol
2003-08-25 20:55   ` Chad R. Meiners
2003-08-26  9:28     ` Preben Randhol
replies disabled

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