From: Eloi G. <el...@re...> - 2003-05-19 15:28:28
|
> I think this is a good idea but I wouldn't alter the current FatCat code. > I am currently rewriting it for 0.9.3. Arrgh! That's what I get for thinking about stuff on the weekends. I'm done already. I haven't given it a serious workout, but it seems to be working fine. Tell you what -- so it's not completely wasted, I'll just give you a .zip of the changed files in case you want to use some of the ideas later on. In any case I also coded a few optimizations (mostly because the module was tagging the database too often) and commented in descriptions of what various functions do as personal reminders. I put comments near each of the changes. > So FatCat is going to need to be 'aware' of what it is categorizing and > modules need to be 'aware' of what category they are in. Currently, it's > just not in the code. Well, I know that modules can know what categories they're in by using PHPWS_Fatcat_Elements::getModulesCategories(), but I'm not sure what you mean by FatCat being aware of what it's categorizing. Can you give me an example of what you'd like it to do? BTW, in my never-ending quest to reduce the server load I also changed a function in my users/groups.php. Before it was executing 1 query per group. Now it does everything in one query using listAllGroups(). SourceForge is down right now, but I'll submit the bug report when it comes back. -Eloi George- |