Generalized Query?

Derek Atkins warlord@MIT.EDU
17 Dec 2001 20:00:12 -0500


Dave Peticolas <dave@krondo.com> writes:

> > Well, does Query.h/Query.c need to know about every object (e.g.
> > Transaction, GncCustomer, Split, GncEntry, etc) or is it a
> > framework so that each new object can "plug in" its own query
> > terms?
> 
> Oh, right. It seems it would have to be a framework, otherwise
> it sort of defeats the purpose of the engine extension framework.
> 
> > My issue is that currently the code in src/engine knows nothing
> > about the business objects.  I'd like to keep it that way.
> > Unforutnately the Query is the current sticking point.
> 
> Sure and I agree.
> 

So, any ideas what it should look like?  I'm truly at a loss, but
I'm just about to the point where I need to have such a beast
to plug into the rest of GC.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available