node-cqrs icon indicating copy to clipboard operation
node-cqrs copied to clipboard

Separate views building and reading concerns

Open petrjanda opened this issue 12 years ago • 2 comments

View is the representation of read model in the system. Currently it encapsulate two basic concepts: view building and view reading. After recent updates, we are able to separate those concerns, thus we would have one component responsible to build the view data (orchestrated by denormalizer) and other much simpler component to read it.

petrjanda avatar May 10 '12 19:05 petrjanda

https://github.com/petrjanda/node-cqrs/compare/v0.5.1...v0.5.3

petrjanda avatar May 10 '12 20:05 petrjanda

the view/viewBuilder seems not work well in the example code, i can not get anything with --list option. i think the rest of this lib is clean with good code design, appreciate to get more information about how to use view and viewBuilder in the example.

ChopperLee2011 avatar Aug 24 '16 07:08 ChopperLee2011