[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-dev
Subject: Re: [Zope-dev] Problems with ZODB and persistence
From: Chris Withers <chrisw () nipltd ! com>
Date: 2003-09-25 10:54:07
[Download RAW message or body]
Emiliano Marmonti wrote:
> class Autores:
> def __init__( self, file='dcAuthor.fs' ):
> self.file= file
> self.db = ZODB.DB( FileStorage( file ) )
This is BAD.
The level you're writing stuff at, let Zope take care of the storages, you just
stick to writing application code ;-)
If you're doing anything more than subclassing persistent, you're doing too much :-)
Chris
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic