On Wed, 2 Aug 2000, Gilles Detillieux wrote:
> code definitely is display-related. Perhaps a separate section to
> deal with template variable creation would make sense. I would like
> to see createURL() remain with the template variable stuff, it that's
> alright, so that the code that deals with input parameter -> config
> attribute -> htsearch output remains in the same module.
I was thinking along the lines of:
sorting & scoring -> ResultList (or similar)
this could also include some minimal checking to ensure a document
exists, so the count of matches is always correct
variable expansion -> Template (or similar)
Since the Template classes also have the "start" and "end" templates,
which AFAIK aren't used by anyone, I was also thinking of merging the
header and footers into the Template classes to replace these. The .start
and .end template are, at least, undocumented.
I doubt any of these changes will create much of a speed boost, but it
might make Display a bit easier to modify.
> I guess I should apply my build_select_lists enhancement patch to 3.2
> before you rearrange things, though.
Certainly any pending Display changes should be made in the next few
weeks. If I'm doing it alone, it may take me that long to get the
parsing/querying side of things in shape.
-Geoff
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.