On Fre, 2003-01-31 at 22:53, Ian Bicking wrote: > On Fri, 2003-01-31 at 12:31, Fionn Behrens wrote: > > I have one problem left, however. > > [...]
> You can still put it in a global, but you need to do locking to handle
> this. I'd personally use a combination of my own ParamFactory and
> Persist modules, which are primitive but effective. I think it would go
> something like:
>
> class _Image(PersistMixin):
[...]
This looks very similar to what I alredy have.
> Image = ParamFactory(_Image)
So this factory has to be the needed part that is only there once. Since
I am not quite accustomed to factories (admittedly all I know about them
is that I already read the term some time on this list) my problem has
not yet vanished but shifteed to: where should that factory class go to
be instantiated only once?
Regards,
Fionn
--
Any poor fool who has nothing in the world to be proud of
eventually resorts to the last option available
- being proud of the nation he happens to be part of.
*** Arthur Schopenhauer (Parerga and Paralipomena)
signature.asc
Description: This is a digitally signed message part
