looking for a ORM framework with redis

106 views
Skip to first unread message

Angelo Chen

unread,
Oct 29, 2012, 11:50:15 PM10/29/12
to nod...@googlegroups.com
Hi,

have used Redis in a project, now like to save time by using an ORM for redis in another project, any suggestions? thanks.

Angelo

Nicholas Faiz

unread,
Oct 30, 2012, 1:40:26 AM10/30/12
to nod...@googlegroups.com
Redback is good: http://redbackjs.com/ .

Cheers,
Nicholas

Vitaly Puzrin

unread,
Oct 30, 2012, 1:56:34 AM10/30/12
to nod...@googlegroups.com
May be, this one https://github.com/maritz/nohm?

I partially use Redback, because it provides a couple of nice additional structures. IMHO, that's not ORM, but very nice library.

вторник, 30 октября 2012 г., 7:50:15 UTC+4 пользователь Angelo Chen написал:

Nicholas Faiz

unread,
Oct 30, 2012, 8:16:54 PM10/30/12
to nod...@googlegroups.com
Vitaly, 

Yes, agreed, Redback isn't an ORM but it's a very good abstraction layer above Redis. I should have been more specific when replying.

I tried messing about with Redis last year using an ORM, and experimented with nohm. I ended up thinking Redback was the way to go for storing objects in Redis (and that I was slightly misusing Redis by leveraging generic ORM behaviour at it).

Cheers,
Nicholas

Angelo Chen

unread,
Oct 31, 2012, 2:26:46 AM10/31/12
to nodejs
looking at Redback now, seems a practical way to use Redis rather
than turning redis into a full ORM store.

On Oct 31, 8:16 am, Nicholas Faiz <nicholas.f...@gmail.com> wrote:
> Vitaly,
>
> Yes, agreed, Redback isn't an ORM but it's a very good abstraction layer
> above Redis. I should have been more specific when replying.
>
> I tried messing about with Redis last year using an ORM, and experimented
> with nohm. I ended up thinking Redback was the way to go for storing
> objects in Redis (and that I was slightly misusing Redis by leveraging
> generic ORM behaviour at it).
>
> Cheers,
> Nicholas
>
>
>
>
>
>
>
> On Tuesday, October 30, 2012 4:56:34 PM UTC+11, Vitaly Puzrin wrote:
>
> > May be, this onehttps://github.com/maritz/nohm?

José F. Romaniello

unread,
Oct 31, 2012, 7:22:55 AM10/31/12
to nod...@googlegroups.com
technically speaking "an ORM for redis" is incorrect at least. ORM means Object to Relational mapping and redis is not relational.

Usually an ORM deals with things like mapping an object model and its relationship (like a composition, inheritance, collections of objects and values, etc) to a relational model with rows, columns, FKs and no more to solve the so called "Object-relational impedance mismatch" http://en.wikipedia.org/wiki/Object-relational_impedance_mismatch

Maybe you are looking for something like an OKVM: "Object Key-Value Mapping", which i am not sure if it exist. 

Could you expand a little bit more about the problem you are trying to solve?
Reply all
Reply to author
Forward
0 new messages