[Zope3-dev] Re: principal events for the event hub

Steve Alexander steve@cat-box.net
Fri, 11 Apr 2003 16:30:44 +0200


> I'm currently working on the principal annotation service. I need to 
> gather informations when a principal logs in, for example calculate how 
> many and which pages in a zwiki had changed and were added.

I think you're focusing on the wrong problem.

Knowing when someone last logged in might be part of how you calculate 
for them which pages they will be interested in.
However, it might not. Perhaps when I last logged in, I was too busy to 
read the list that was offered to me.

So, instead, how about offering a user an explicit way to "checkpoint" 
their copy of the history of modifications.

For example, I might get a "recently changed or added pages" list. I can 
press a "thanks, now clear the list" button, which removes all the pages 
listed on that page, but not ones added to the list since that original 
list was shown.

--
Steve Alexander