From: Jeff D. <da...@da...> - 2000-08-10 15:27:27
|
Look at my new database code in the jeffs_hacks-branch. It fully implements MostPopular (& the link tables) both for DBM and MySQL backends. Maybe now's the time to switch to that? (If we don't want to deal with multiple archived pages yet, we could implement a MAX_ARCHIVED_PAGES constant to limit the number of old pages which get kept in the database (to one).) If we are going to move to a new OO database API, it seems to me that there's no point in putting too much effort into implementing features in the old API. Jeff In message <Pin...@bo...>,Steve Wai nstead writes: >I'm having trouble with the DBM version because it would mean some very >messy code; I'd have to open a file in one function and close it in >another. > >It would also mean reworking index.php3 since it wouldn't have to decide >on which db to open (there's only one). It might be simple, or there might >be control flow problems... I'm too sleepy to think it through tonight. > >I have tomorrow off though and will look into it, as well as bring more >stuff up to date for the project. |