mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-08 14:42:22 -04:00
Add a reference to JavaFX documentation about code behind
This commit is contained in:
parent
8060ff6a88
commit
70efbc1f9a
1 changed files with 10 additions and 3 deletions
|
@ -2,8 +2,13 @@
|
||||||
We use a variant of the **Presentation Model** pattern which has some similarities with the **Model View ViewModel**
|
We use a variant of the **Presentation Model** pattern which has some similarities with the **Model View ViewModel**
|
||||||
(MVVM used in Silverlight and WPF) as we use data bindings, though there are differences in the way the view and
|
(MVVM used in Silverlight and WPF) as we use data bindings, though there are differences in the way the view and
|
||||||
the "code behind" is organized (due to different framework features/support).
|
the "code behind" is organized (due to different framework features/support).
|
||||||
We don't use the term controller for the JavaFX controller it has too much association with the classical MVC
|
|
||||||
controller.
|
We don't use the term "controller" for the JavaFX controller it has too much association with the classical MVC
|
||||||
|
controller but instead we use the term "code behind" as it describes better that this class is just a code extension of
|
||||||
|
the declarative view format.
|
||||||
|
That interpretation is also confirmed by the Java FX reference: "A controller is a compiled class that implements the
|
||||||
|
"code behind" the object hierarchy defined by the document."
|
||||||
|
|
||||||
|
|
||||||
The described pattern is only applied yet to that package:
|
The described pattern is only applied yet to that package:
|
||||||
io.bitsquare.gui.trade.createoffer;
|
io.bitsquare.gui.trade.createoffer;
|
||||||
|
@ -88,4 +93,6 @@ Does not know the PM and View/CB
|
||||||
|
|
||||||
## References:
|
## References:
|
||||||
[Presentation Model](http://martinfowler.com/eaaDev/PresentationModel.html)
|
[Presentation Model](http://martinfowler.com/eaaDev/PresentationModel.html)
|
||||||
[Model View ViewModel - MVVM](http://msdn.microsoft.com/en-us/magazine/dd419663.aspx)
|
[Model View ViewModel - MVVM](http://msdn.microsoft.com/en-us/magazine/dd419663.aspx)
|
||||||
|
[Java FX FXML controllers]
|
||||||
|
(http://docs.oracle.com/javafx/2/api/javafx/fxml/doc-files/introduction_to_fxml.html#controllers)
|
Loading…
Add table
Add a link
Reference in a new issue