News for hackers. Stuff that matters.
Re:Toy Store: ORM for Riak, Redis, Cassandra, Memcached, dar... by tjpick on Thursday January 27, 2011 @01:32PM (#2148892)
This NoSQL stuff has me confused. I didn't think those systems were considered relational.

Why does one need an object-relational mapper?

Re:Toy Store: ORM for Riak, Redis, Cassandra, Memcached, dar... by antirez on Thursday January 27, 2011 @01:49PM (#2148959)
NoSQL systems are not SQL, but this does not mean they are unable to model relations. For instance in Redis you often have something like:

    user:1000
That is an hash with a few attributes, and among this attribs you can have 'group_id", that is an integer, for instance 50. Then if you access

    group:50
You have another data structure representing the group the user is associated with.
Re:Toy Store: ORM for Riak, Redis, Cassandra, Memcached, dar... by koudelka on Thursday January 27, 2011 @01:41PM (#2148928)
I believe the de-facto nomenclature for a NoSQL database's equivalent of an ORM is an "ODM", Object Document Mapper.
Re:Toy Store: ORM for Riak, Redis, Cassandra, Memcached, dar... by netherland on Thursday January 27, 2011 @01:33PM (#2148901)
Good point. Probably should have just called it a mapper.