|
From: Iain S. C. M. <cr...@me...> - 2000-05-23 19:07:56
|
On 23 May 00, at 0:34, Todd L. Miller wrote: > > Yes it should. I think it should be easy (at least in my > > implementation it turned out pretty simple). > > Because you can just append the current topic to the links-to-me > field of every topic in the links-from-me field. (duh!) Maintaining > uniqueness will be annoying to do programatically; I'll investigate > possibilities for using facilities in MySQL. (Could be done in PHP by > using associative arrays, but they're probably rather expensive to > generate. Since linksto/from aren't fields that will need to be edited by > hand if something terrible happens (and/or restored from backup), it may > be worth looking into storing the associative array of each field in > binary...) Having not seen the code of how this is done I can't really comment. I was under the impression this was being done in a separate table though... > > > *: It would be interesting to write a WikiFormatter for emails :) **: > > > > Definitely. And for java and php source code.... > > Hey, now /that's/ a good idea. It shouldn't be too hard to do, > either... and it would /really/ nice to add it as an option to the CVSweb > for SF :) Yup. CVSWeb should be rewritten in php anyhow.... another project. :) > > Agreed. Athough, at least with our JOS wiki, it will probably be ... > > Remind me, once I get the global page working, to cache it -- if > something hasn't changed since the last cron-job, just don't bother with > it. OK. If possible though, I'd try and design the sfwiki so that it doesn't require cron jobs to maintain. This will help ease installation and portability. otherwise, you have to assume cron availability and access for everyone (possible on sourceforge sites, but not on others). Instead, use the page edits as an 'event' that can trigger big cleanup/rebuild/maintenance tasks. They're rare enough that they can act as cron-ish jobs and not really affect site performance. And people doing page edits probably won't notice or mind an extra second or delay in the edit save process. -iain |