thenativeweb / node-cqrs-eventdenormalizer

Node-cqrs-eventdenormalizer is a node.js module that implements the cqrs pattern. It can be very useful as eventdenormalizer component if you work with (d)ddd, cqrs, domain, host, etc.
http://cqrs.js.org/pages/eventdenormalizer.html
MIT License
38 stars 27 forks source link

[Question] What are Notification used for? #51

Closed AlexandreRoba closed 8 years ago

AlexandreRoba commented 8 years ago

Hello,

I'm trying to figure out what are notifications used for? Can someone share is knowledge on the topic please? thanks for any info you could provide on this.

Alex

adrai commented 8 years ago

A notification is a change to a viewmodel, it contains always the whole new state of the vm. This is helpful for tests, and if you want to send the actualized viewmodel to a user (i.e. via socket.io)

AlexandreRoba commented 8 years ago

thanks for the clarification.