[Seaside] Re: Multiple versions of a image file

Ronaldo Ferraz ronaldoferraz at gmail.com
Sat Feb 16 19:42:06 UTC 2008


Hi, Lukas--

Thanks again for the reply. Subclassing really seems better than
changing a core class.

By the way, Magritte rocks. :-)

Regards,

Ronaldo

On Feb 16, 2008 5:38 PM, Lukas Renggli <renggli at gmail.com> wrote:
> > Thanks for the quick reply. I guess I didn't express myself well when
> > I used the word "versions". By versions I meant diferent
> > representations, like thumbnails, for example. Currently, I'm
> > generation them on-the-fly, but I'd like to keep then on the disk to
> > make use of Apache static file support.
>
> In this case a new subclass of MAFileModel is probably the easiest way
> to go (I did something similar for a commercial project). You can tell
> the file-description to use a different file-model class using the
> #kind: accessor.
>
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Ronaldo Ferraz
http://logbr.reflectivesurface.com


More information about the seaside mailing list