Skip to content

Instantly share code, notes, and snippets.

View janderit's full-sized avatar
🙃

Philip Jander janderit

🙃
View GitHub Profile
@janderit
janderit / nodecqrs.js
Created July 16, 2012 12:04
Very brief cqrs projection proof of concept in node.js
function UserWasCreated(id, name){
this.Event = arguments.callee.name;
this.UserId=id;
this.Name=name;
}
function UserWasRenamed(id, name){
this.Event = arguments.callee.name;
this.UserId=id;