ExternalStorage

An add-on product which provides an extra storage for Archetypes.

Current release

No stable release available yet.

Project Description

ExternalStorage is an additional storage implementation for Archetypes, to support storing the fields content outside the ZODB. It works in a fashion like ExternalFile or similar products.

Each field can use a different ExternalStorage instance as storage, featuring:

  • independent repositories:
    • content from field_1 is stored in a place
    • content from field_2 lives at another place (disk/partition)
  • flexible path policies:
    • files from field_1 uses an hierarchical path computed from the instance absolute_url.
    • files from field_2 uses a flat path containing the field content-type concatenated with the parent creation date
    • files from fields 2 and 3 receives fixed names, logo.jpg/jingle.mp3 and are stored inside a folder with the instance UID name.
    • files from field 4 call any method at instance context to get and even more customized name pattern.