You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Thomas Müller <th...@day.com> on 2009/01/07 15:44:48 UTC

Re: Bridging DataStore and Web

Hi,

I'm wondering if anyone has thought about a direct bridge between a web
> server and a FileDataStore?


You may be interested in https://issues.apache.org/jira/browse/JCR-1892


>  It seems like the only things missing to implement such a thing are file
> extensions in the data store


The same binary object could be stored in multiple places (nodes) and thus
have multiple file names and extensions. I believe file name and extension
are attributes (that may change) and should not be bound to the content.


> and a way to compute a filesystem path for an item in the FileDataStore.


In some cases (DbDataStore) there is no path, and in some implementations it
may not be stable.

These would actually perform true caching functionality and could implement
> various policies pertaining to caching (lifetime, etc).


JCR-1892 should allow you to implement something like the HTTP ETag feature
- http://en.wikipedia.org/wiki/HTTP_ETag - if this is what you need.

Regards,
Thomas