jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: [j3] Repository MicroKernel API draft
Date Mon, 20 Jun 2011 11:05:14 GMT

On Mon, Jun 20, 2011 at 12:50 PM, Thomas Mueller <mueller@adobe.com> wrote:
> Only if the implementation needs to do anything with the values (except
> for storing and retrieving). The MicroKernel doesn't care about most of
> the values - they are just stored "as is".

The MicroKernel implementation has to parse and reserialize JSON
strings whenever it needs to process a diff or is given a nonstandard
set of depth, offset and count values in a getNodes() call.

This parsing and reserialization is exactly the same stuff that any
client needs to perform to use the API, which is duplication that
could and IMHO should be avoided.


Jukka Zitting

View raw message