Michael Bernstein wrote:
> There is some question in my mind if
> accessing any attribute (such as the thumbnail version)
> causes all attributes to be loaded into memory. If so,
> displaying a list of images with thumbnails may result in
> many large objects being loaded into memory.
Make sure that each large attribute is an instance of a class that
derives from Persistent.
Of course, if this is a ZPatterns application, you'd probably want to
have the images in their own Rack, and use an Attribute Provider on your
Photo objects that gets the images for a Photo as needed. The Photo
(with meta-data) and the images are entirely different objects, accessed
via different Racks, via different Specialists.
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -