jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@adobe.com>
Subject Re: Support for long multivalued properties
Date Thu, 15 Nov 2012 14:50:29 GMT
Hi,

Am 15.11.2012 um 14:06 schrieb Lukas Kahwe Smith:

> 
> On Nov 15, 2012, at 14:02 , Thomas Mueller <mueller@adobe.com> wrote:
> 
>> Hi,
>> 
>>> before adding this i would rather want to see support for hash maps.
>> 
>> Sounds interesting.. could you give more details please?
> 
> 
> well right now you can only store "ordered lists".
> especially in PHP its common to use associative arrays
> 
> $var = array(
>  'foo' => 'bar',
>  'ding' => 'dong',
> )

Hm, this looks more like node "var" with properties "foo" set to "bar" and "ding" set to "dong"
to me.

Regards
Felix

> 
> right now when I want to store such data in JCR/Jackarabbit I need to split this into
2 multi valued properties, one with the values and one with the keys, which then need to be
reassembled on read.
> 
> that being said .. if we want to add this in OAK, we should look into adding it into
JCR 2.1 aka JSR-333 too
> 
> regards,
> Lukas Kahwe Smith
> mls@pooteeweet.org
> 
> 
> 


Mime
View raw message