[Hippo-cms7-user] associating a binary file with a document
gerritberkouwer at gmail.com
Mon Aug 17 11:13:47 CEST 2009
Ard, indeed, *if* workflow is supported on binaries I see your preference and
I would probably agree! :-).
Then the use-case would be:
- upload a binary, with it's meta-data (eg. title, publication-date,
introduction text, body-text)
- show this binary-hippo-document as a webpage: a page with some of the
meta-data as text, and a link to the binary itself
So to be honest that would mean that storing binaries in Documents would not
be necessary anymore...
> If however you're usecase is less rigid, *and* we support workflow
> (preview/live) on binaries, then, my preference would still be to
> store pdf's in the assets folder. Then, this document in the asset
> folder might contain next to the binary also other (meta)-information,
> as it is just a document.
> The reason for this is efficiency. Storing a binary once, and link to
> it, will never trigger the re-storing of the binary, and having more
> impact, the re-indexation. Fortunately, we are using the DataStore
> from jackrabbit by default, making sure that a binary is stored with
> some hash, making sure not every doc containing the same binary stores
> it again. This however is not possible for indexing. Every document
> that has some pdf, will during storing extract and index the pdf. For
> large pdf's, this can become quite cpu & memory intensive (poi, tika,
> lucene). Now, in your preferred model, a pdf would be stored in the
> draft, preview & live. Every time the document is saved, the indexing
> runs. When you start editing, as second version of the pdf is created
> as draft, which triggers indexing.
> So, I do agree on your usecase, and bottom line, it will perform fine
> enough (unless your pdf's become really large), but I did want to
> explain *why* we by default opt for the, perhaps in your eyes, less
> logical solution. The reason is efficiency.
> Anyways, you're usecase, will be made available out-of-the-box through
> the cms and through the HST2. Stay tuned,
> Regards Ard
> Hippo-cms7-user mailing list and forums
View this message in context: http://n2.nabble.com/associating-a-binary-file-with-a-document-tp3441313p3457402.html
Sent from the Getting Started mailing list archive at Nabble.com.
More information about the Hippo-cms7-user