<@U25U0KPFT> what about binding then? Isn't it bet...
# tornadofx
a
@carlw what about binding then? Isn't it better to update property in controller and so notify the view, rather than fire very specific event with one receiver in shared bus?
c
like the code behind, I bind the view to properties. the controller call versus event bus is setting those properties. binding is still very important
i've also updated the property based on an event bus notification. ex "model ready" is a cue for a controller subscriber to re-set view model properties
g
I generally only use the eventbus when a property update won't work (eg. asking a control to request focus)