I'm new here, so hi! ;-)
I'm looking to create a database
of persons and events, later to search persons by names, events by
dates and locations (participants of events are already in an
attribute of the event and instances of Person, which inherits from
Persistent)
At first I made a PersistentLi
es in a XXBTree? Or if they aren't, do they have any
advantages, when using in ZODB?)By a VFS-like structure you
mean a non-flat structure? (Like a deeper mapping, like: Family name
-> id -> person?)Markus
___
For more information about ZOD
quot;Plone/Zope way" and would like
to dive a little deeper into it. (that the reason why i asked to cover ZODB in
the class in the university [www.fbi.fh-darmstadt.de]).
Thanx in advance for any help !
ciao markus kalb
-- .- .-. -.- ..- ... / -.- .- .-.. -...
emove") them from the OOSet of all persons, because it raises
a KeyError.
Yet if I iter through the set of persons, one of them *is* the one I got
from the name-index... What am I thinking wrongly about?
Markus
___
For more information
he same in each place. (Like if you comment out the "Commit,
close and reload" part of the below code, all the comparisons evaluate to
True)
Markus
# -*- coding: cp1252 -*-
# ZODB
from ZODB import FileStorage, DB
import transaction
# Trees
from BTrees.IOBTree import IOBTree as IO
from B