[Zope-CMF] sum up member properties for specific time period

Dieter Maurer dieter@handshake.de
Mon, 2 Jun 2003 19:05:41 +0200


Norman Khine wrote at 2003-6-2 08:31 +0100:
 > how can one, sum up the member properties? for example, i would like to be
 > able to sum up all the members that had joined the cmf portal within a
 > specific time period, and get a table like so:
 > 
 > 
 >   Date  \  Member Type  |   REVIEWER     |     MEMBER   |  TOTAL
 > ------------------------------------------------------------------------
 > MAR-03                       |      2                   |           10
 > |  12
 > APR-03                       |        4                 |            12
 > |   16
 > MAY-03                      |        1                 |            23
 > |     24
 > JUN-03                        |       0                 |              2
 > |      2
 > -------------------------------------------------------------------------
 > TOTAL                      |             7            |               47
 > |      54

Zope does not directly maintain this information for you.

When you are using FileStorage (the default ZODB storage),
then in principle historical information is maintained
up to the last pack time. But it is not easy to access
this information (for ObjectManager like objects).

The best way is that you store the information yourself.


Dieter