node-cqrs
node-cqrs copied to clipboard
Separate views building and reading concerns
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.
https://github.com/petrjanda/node-cqrs/compare/v0.5.1...v0.5.3
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.