new search, some tips
| From: | Pierre-Alain Joye | Date: | Thu, 14 Jul 2005 15:07:25 +0000 |
| Subject: | new search, some tips | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-4213@lists.php.net to get a copy of this message | ||
Hello,
For those who did not noticed, Martin replaced the old search page
with a new ones, cleaner, nicer. Thanks :)
I have a few comments/requests.
I would like to get the HTML out of the Damblan Search classes.
Making pearweb easier to customize.
Any objection to do so? Using templates/search_result.html for
example.
A second point is the usage of getAll, it is generally not a good
idea. As we use the same DB objects everywhere, I fail to see why
we do not store/returns result objects more often. Avoid multiple
and useless loops for nothing, and is a bit more "memory friendly".
Regards,
--Pierre