Interesting, though for integration with the DAL this would require...
some work! :) It seems that you will have to manually store lots of
metadata that a RDMS already handles for you with foreign key
relationships, etc etc..

"uid:post:100:name"
"uid:post:100:author"
"uid:post:100:content"
"uid:post:100:date"
"uid:post:100:tags"
"uid:comment:34:post" => "100"
"uid:comment:34:content"
"uid:post:100:comments" => Set of "uid:comment:34"

-Thadeus





On Tue, Mar 16, 2010 at 11:20 PM, Thadeus Burgess <[email protected]> wrote:
> It is an interesting concept.
>
> How would you design the following for a key=>value store like Redis?
>
> post:
>  name
>  author -> FK auth_user
>  content
>  date
>  tags
>  category
>
> comments:
>  post -> FK post
>  author -> FK auth_user
>  content
>  date
>
> -Thadeus
>
>
>
>
>
> On Tue, Mar 16, 2010 at 7:14 PM, Alex Fanjul <[email protected]> wrote:
>> http://code.google.com/p/redis/
>> It sounds interesting, and his founder has been contracted by Vmware.
>> alex
>> --
>> Alejandro Fanjul Fdez.
>> [email protected]
>> www.mhproject.org
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/web2py?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to