jamuhl / nodecqrs Goto Github PK
View Code? Open in Web Editor NEWCQRS, EventSourcing, (DDDD) Sample in node.js
CQRS, EventSourcing, (DDDD) Sample in node.js
Some of the code in here looks odd to me (and its a bit hard to follow with all the extension projects). I am trying to get a higher level overview combining them. Is there one?
In commandhandler.js
id is not set if aggregate is created for first time, this causes the created event to be persisted in events:null list, which is not included in the event stream when loading from history....
A fix would be changing the call to es.getEventStream with item.id instead of id.
First thanks for this great stuff!
On first load the items are not displayed because window.Item is not defined in ajax callback
Article "Top 10 Reasons to do CQRS" linked to http://abdullin.com/journal/2010/10/22/top-10-reasons-to-do-cqrs-in-a-pdf.html was moved to http://abdullin.com/post/top-10-reasons-to-do-cqrs-in-a-pdf/
`/nodeCQRS/node_modules/socket.io/lib/store.js:35
Store.prototype.proto = EventEmitter.prototype;
^
TypeError: Cannot read property 'prototype' of undefined
at Object. (/Users/seb/repo/CQRS/nodeCQRS/node_modules/socket.io/lib/store.js:35:42)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object. (/Users/seb/repo/CQRS/nodeCQRS/node_modules/socket.io/lib/manager.js:16:13)
at Module._compile (module.js:643:30)`
$ node -v
v8.9.4
$ npm -v
5.6.0
Hi,
just wanted to propose adding https://github.com/efacilitation/eventric to your where to go now?
list. Thanks for your efforts. :)
Best regards
I am running node 0.10.22 and whatever version of jade installs based on the package.json. When I tried to load the page, it gave me an error saying that !!! 5 is deprecated in favor of "doctype html".
I haven't verified it with any other versions.
Hi, I'm using this as a model, but just thought about the fact that with multiple node processes running, there'd be multiple subscribers and the events would get consumed and processed by the handling in each process. Any suggestions on how to address this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.