> I see no insurmountable problems in a query-only htDig DBD.  For example,
 > one thing that makes Microsoft's Index Server so easy to use is the familiar
 > interface.  If you know ADO, you can use Index Server and get back
 > recordsets in response to your queries using a modified SQL syntax.  I want
 > a perl programmer who knows DBI to be able to query htDig through a DBD.
 > All it takes is the ability to parse the sql statement into a valid htDig
 > query.  DBD's have been written for text files, so DBI is obviously not
 > restricted to SQL Databases.

 You have a point here, and a very interesting one. I've entered an entry
for that in Dev Projects so that we don't forget it.

 > I can see what you mean about using Text::Query to parse queries from the
 > PERL side and I see no reason not to do it, but keep in mind that whatever
 > is implemented in PERL won't be enjoyed by the users of any other
 > programming language.  

 True and sad :-)

 > It would be many times more effective to duplicate
 > PERL's Text::Query capabilities in htDig itself and let everyone take
 > advantage of this flexibility.

 Yes but longer. Two different worlds. When a re-implementation becomes
available at the C/C++ level, I'd be happy to re-write the Text::Query module
to take advantage of it. This will trigger discussions because some people
love to have Perl only programs. 

 > I agree, and I'm almost done getting the parser/searcher separated from the
 > CGI.  But at some point, I want the perl user to be able to "prepare" his
 > statement prior to executing it, which means providing a parser interface as
 > well as a searcher.

 When you say at some point, you mean not for your first release, right ?
I agree that a prepare would be nice, with a syntax tree, possibly optimized
as a result. Resolving the query would then only require using an already
parsed query instead of re-parsing it every time. Let me know when you want
to start a discussion on that.

 Had any success in geting a login on CPAN ?

-- 
                Loic Dachary

                ECILA
                100 av. du Gal Leclerc
                93500 Pantin - France
                Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61
                e-mail: [EMAIL PROTECTED] URL: http://www.senga.org/


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to