[Top][All Lists]

[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/

> 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).

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

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