Personal tools
You are here: Home Products PloneMultimedia Roadmap #1: Configurable storage layer
Document Actions

#1: Configurable storage layer

Contents
  1. Motivation
  2. Proposal
  3. Participants
by Christof Haemmerle last modified June 11, 2006 - 00:22
Make it possible to choose where the uploaded files should be stored, whether on the file system or in the ZODB.
Proposed by
Christof Haemmerle
Seconded by
Nate Aune
Proposal type
Architecture
State
being-discussed

Motivation

The PloneMultimedia products rely on ATMediaFile for the base class. The ATMediaFile content type by default uses ExternalStorage for the storage layer. Some users may not want to use ExternalStorage but use an alternative storage layer such as FileSystemStorage or keep the objects in the ZODB using AnnotationStorage.

It should be possible for the user to choose which storage they want to use for their media files.

Proposal

Typical values for the storage types will be: AnnotationStorage (ZODB), ExternalStorage, FileSystemStorage

Configured via configlet

selection:"current storage type" which defines the "current storage type" which all future ATMediaFile objects will use

checkbox:migrate on modify if checked then ATMediaFile objects with a storage type not of the "current storage type" will be transparently migrated to the "current storage type" when that object is modified

action:consolidate storage type migrates all ATMediaFile objects which are not of the "current storage type" to the "current storage type" (undo will probably not be possible)

storage type per content object is stored as an attribute in each object ATMediaFile has an attribute "storage type" which reflects the "current storage type" of each object

Participants

Nate Aune
Chris Miles
Andy Nicholson
Christof Haemmerle


For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by