Other improvements
TornadoFX is built not for toy applications, but to develop robust, thread-safe, industry-strength applications. It gives a few facilities out of the box.
TornadoFX provides ViewModel, which is a mediator between the View and Model. While it provides a cleaner separation between the View and the Model of your application, it also gives you the functionality to roll back/commit or dirty state check out of the box. Think about the conventional implementation where this takes a lot of developer effort! All that gets saved with TornadoFX.
Another construct that TornadoFX provides for the programmer is to decouple the different components, such as Controller and View, is EventBus. With this, different components can pass messages ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access