event handlers are fine when you have a view that reference another view and listens its events, thats perfect for decoupling and reusability.
the problem though is sometimes I have views that is not referenced so I use Event Aggregator that is a global notification to know if something happened... but that seem not right when I just wanted to listen children views that I cant reference, something like bubbling events in the DOM hierarchy.
but let me say that I have a view hierarchy like:
- ParentView
- ChildView
- ChildView
- ModalView
- ChildView
- ChildView
I wanted to know in the ParentView when the ModalView triggers an event... I cant use event bubbling because the ModalView is not in the same DOM hierarchy, so should I use Event Agregator in this case or something else? I really wanted that event bubble could fits in my case.