[Zope] Portal idea
chas
panda@skinnyhippo.com
Sun, 05 Sep 1999 01:53:23 +0900
>> So, if I'm understanding Zope, the thing to do would be to create a ZClass
>> called 'event' with properties such as title, time, date, location, etc.
>> Could I have additional properties for certain events? Let's say sporting
>> events would also have properties like sport (e.g., football), score and
>> opponent. Now I could use ZCatalog to gather all of the contributed events
>> and publish them in some format that I design. Is this right?
>
>You're correct!
just as a side note, you might want to think about the nature of the events.
i've found that it's better to stick with rdb for events-listings because
my events fall into 3 categories when it comes to the dates/times :
a) one-off events. eg. you specify the dates.
eg. 19 oct 1999, 2 nov 1999 for event A
1 nov 1999 for event B
....
which results in a one-to-many relationship
b) regular events.
eg. each monday, wednesday and friday for event D
each saturday at 4 pm for event E
this is ok in zope
c) between 2 dates. eg. starts on 2 october and ends 28 october.
this is ok in zope too
supporting all in zope started to make my head spin ..
with an rdb it was pretty straight forward. i use zope
for the sql methods though.
still, if somebody has an idea for a schema in pure zope to
manage the above, i'm all ears. in fact, this goes back to
what must be ages old question of "when to use rdb vs zodb ?".
any pointers ?
chas