|
From: Sidnei da S. <si...@en...> - 2006-12-18 17:53:44
|
Re-sending ---------- Forwarded message ---------- From: Sidnei da Silva <si...@en...> Date: Dec 18, 2006 3:36 PM Subject: Re: [Plone-developers] ZODB Blob Support To: Justizin <jus...@si...> Cc: plone-developers <plo...@li...> On 12/17/06, Justizin <jus...@si...> wrote: > I am really impressed with what I hear about blobstorage, but I am > concerned that it is more complex to map interaction with other > applications via the filesystem because it stores via UIDs vs. > ExternalStorage, which uses the actual filename, but does not support > renaming, or at least products using it don't seem to. There are certainly tradeoffs. You can get: - Real filenames, with/without renaming support, with/without 'versioning' support, no ZEO support at all. Or you can get: - Gibberish filenames, with renaming support, with 'versioning' support, with ZEO support The new blob implementation in ZODB trunk does give you the latter. I believe that a blob implementation that does not work with ZEO is bound to fail. That's why I like this one and I'm willing to support it. There could be a layer on top of this, external to Zope, that given a OID would give you the 'current file'. Then you don't need a real filename. My understanding is that 'real filename' is overrated. Since you only need this for serving through say, Apache, you could have a simple script that would map oid -> filename -> oid. If, OTOH, you need to write to the file behind Zope then you're asking for trouble. -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 |