DB design document

David Merrill dmerrill@lupercalia.net
Thu, 21 Dec 2000 14:10:58 -0500


On Thu, Dec 21, 2000 at 02:03:13PM -0500, Derek Atkins wrote:
> David Merrill <dmerrill@lupercalia.net> writes:
> 
> > I think the SQL code should not be marshalled over the wire. Keep SQL
> > on the server side entirely.
> 
> Oh, I agree.  I would rather marshall requests in a more
> GnuCash-centric manner (e.g., the Query API) and marshall GnuCash
> Objects (e.g. Splits, Accounts) directly back.  This implies a GnuCash
> marshalling system (which is really built on something like
> RPC/CORBA/etc but has the GnuCash object definitions), but I
> believe this is the right approach.

Is it possible that the answer is to take the existing engine code and
separate the Query API into calls into a corresponding API on the
server side? I'm still getting familiar with the code, so I have only
a vague concept of its functions. But obviously the existing Query API
is working.

-- 
Dr. David C. Merrill                     http://www.lupercalia.net
Linux Documentation Project                dmerrill@lupercalia.net
Collection Editor & Coordinator            http://www.linuxdoc.org
                                       Finger me for my public key

Let My worship be in the heart that rejoices,
For behold--
All acts of love and pleasure are My rituals.
		-- from The Charge of the Goddess, Doreen Valiente