@jakub.dyszkiewicz TornadoFX doesn't really force you to do this in a specific way, but I think it's a general consensus about not putting business logic in with your view handling logic. Every UI will have some code to deal with user interaction and that's strictly not business logic. I personally think this code belongs in a place quite close to where you build the UI.