couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: [PROPOSAL] new underscore namespacing
Date Tue, 03 Dec 2013 19:35:21 GMT
On Tue, Dec 3, 2013 at 11:23 PM, Benoit Chesneau <bchesneau@gmail.com> wrote:
> On Tue, Dec 3, 2013 at 8:20 PM, Alexander Shorin <kxepal@gmail.com> wrote:
>
>> Sorry, miss the smile, but in every joke there is only a piece of joke (;
>> Anyway there will be collisions since it's old issue about split
>> predefined and custom resources in RESTful apps and prefix is quite
>> common way to solve it with less blood.
>> --
>> ,,,^..^,,,
>>
>>
> but what about prefixing all data in _data? Except if we want to store
> unstructured data in the doc it would work imo.

Except of naming (I feel _meta will be more verbose, friendly and
self-explained) imho this is good idea. There I would like to ask
Volker about how meta works in Couchbase: afaik there they have it as
stand alone object, but still associated with related doc (or vice
versa).

--
,,,^..^,,,

Mime
View raw message