16

I'm want use an ODM for redis in node.js. Does anybody have any experience using any? I ideally want something that is somewhat the equivalent of mongoose (except instead for Redis instead of Mongodb).

The two I have heard of so far are nohm and ron. Can someone compare the experience of using either of these? Also I have read about redback and I am curious if it would work well with an ODM.

GTDev
  • 5,488
  • 9
  • 49
  • 84
  • Just to be nit-picky - Redis is not a *relational* database, so an "Object *Relational* Mapper" doesn't seem like the right term here... – maerics Apr 30 '12 at 16:53
  • There Changed from ORM to ODM thanks for catching that – GTDev Apr 30 '12 at 18:03
  • I think technically Redis is not a document database either; rather it is a key-value store ;) – wprl May 18 '12 at 18:48
  • Actually, Redis is a Database. http://dictionary.reference.com/browse/database?s=t Regardless of what the developers claim it isn't to get out of delivering features. It is, by definition a database. – Michael Draper Apr 02 '15 at 17:39

2 Answers2

1

Redis is pretty simple to work with directly or to wrap your own objects around, but you could use an OHM (Object Hash Mapper) like Nohm:

phlipper
  • 1,834
  • 15
  • 14
0

You can try redblade

Just one file. Help you create and remove index fields automatically.

Kris Zhang
  • 307
  • 2
  • 6