-
Notifications
You must be signed in to change notification settings - Fork 104
MVVM Overview
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.
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.
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.