Skip to content
Mike Klimek edited this page Oct 3, 2017 · 1 revision

MVVM is a WPF ( .NET ) specific pattern. WPF and JavaFX does have parallels like Databinding and descriptive UI declaration (FXML/XAML). That is the reason we tried to adopt best practices of the development with WPF.

Short overview

You have 2 options to implement MVVM with JavaFX. It depends whether you want to use JavaFX-Properties in your model or not.

If not, you should go for the first image.

Drawing Drawing

If yes go for the second image. If you use Properties in your model, you have the benefit of using their databinding and the observer mechanism.

MVVM-in-more-detail

Further information

Short description

Long description

How to implement

Drawing