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 - [EMAIL PROTECTED]
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 )

Reply via email to