gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] GnuMed EMR browser


From: Ian Haywood
Subject: Re: [Gnumed-devel] GnuMed EMR browser
Date: Thu, 12 Aug 2004 07:18:16 -0400
User-agent: Mutt/1.3.28i

On Wed, Aug 11, 2004 at 11:48:37AM +0200, Karsten Hilbert wrote:
> Hi all,
> 
> I encourage everyone to run
> 
>  python gmEMRBrowser.py
> 
> (Use hherb.com !)
This is all very impressive.

I would suggest two things:
        - using wxHTML instead of a text box to pretty things up a bit.
(this should be simple)
        - rationalising use of SQL. Unfortunately AFAICT the VO concept
has led to a very inefficient way of interacting with the backend: a
list of IDs is fetched, then one (or more) query for each item. Really
one big query (presumably on a view) should be used, which then
populates the VOs. Although it may be better OO design that VOs
encapsulate the queries used to populate themselves, certainly on all
the machine I have access to, both local and remote access, it's just
unusably slow. Because it is *unusable*, IMHO we need to grapple with
this now, normally I would agree with the priniciple of "get it working
first, then optimise"    

Ian

Attachment: pgpQrKOz60_YG.pgp
Description: PGP signature


reply via email to

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