Introduction
redadder is a simple redis ORM for node.js. It implements simple access to object properties saved in redis, supporting all the redis data-types.
Features
- simple schemas
- attributes
- indexes
- object relations
- basic inheritance
- queries
- custom events
Example
var red = 6379; // the port where redis listensvar User = ; User; var mark = ;mark; // redadder uses Q promises var steve = ; steve;steve; var Admin = ;
Future
- binding events to classes (ie, User.bind('soforth'); (done!)
- formal collections (ie, so we can do things like user.get('friends').remove(steve); (done-ish!)
- implement natural functions for zsets, sets, etc. & allow for zsets with object values etc.
- computed properties