On Monday 29 May 2006 06:56, Frank Burkhardt wrote:
> Unfortunately, there is no 'provide' method on interfaces :-( .
>
> Now the questions:
>
> 1. Is the list of a content object's provided interfaces stored
> persistently in the Zodb?
Yes.
> 2. Is it according to Zope-, Python-, ... philosophy
On 5/29/06, Frank Burkhardt <[EMAIL PROTECTED]> wrote:
Different factories won't help because the user should be able to update
the file object's content after ist was created.
Yeah, that's what I suspected. I still have the feeling there must be
a better way, but I have no answers now. :)
I
Am 29.05.2006 um 14:24 schrieb Frank Burkhardt:
OK - this was a bit confusing. One more try:
I want to make an object provided one interface (IFile) always and
one
interface (IImage) "sometimes". Sometimes means "whenever libmagic
thinks,
the file is an Image". I don't want to modify an
Hi,
On Mon, May 29, 2006 at 01:31:03PM +0200, Lennart Regebro wrote:
> On 5/29/06, Frank Burkhardt <[EMAIL PROTECTED]> wrote:
> >I'm going to write an alternative implementation of
> >zope.app.file.interfaces.IFile . This implementation will automatically
> >determine the mime type of the data it'
On 5/29/06, Frank Burkhardt <[EMAIL PROTECTED]> wrote:
I'm going to write an alternative implementation of
zope.app.file.interfaces.IFile . This implementation will automatically
determine the mime type of the data it's containing.
I would like to add a method that determines (guesses), if the c
Hi,
I'm going to write an alternative implementation of
zope.app.file.interfaces.IFile . This implementation will automatically
determine the mime type of the data it's containing.
I would like to add a method that determines (guesses), if the current file
object contains an image...
isimage=(m