gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] pooling connections


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] pooling connections
Date: Sun, 1 Sep 2002 10:36:45 +0200
User-agent: Mutt/1.3.22.1i

> I suggest an abstracted API for the database, so there is no reliance on
> developer 'diligience'
> 
> So to 'read' from a service:
> def get_query (service, query):
> def get_query_async (service, query, callback)
> def send_update (service, commands)

And even those, if used, shouldn't be sprinkled throughout the
code freely but should rather live within business object
methods such as cPatient.GetMedicationsList(aCutoffDate = None)
or cEMR.StoreVaccination(anEpisode, aPatient, aVaccination).

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]