Frameworks Integrations ,is it proper or its a wrong approach ? #605
kinsleykajiva
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you for making a great framework for building large robust JavaFX apps .
I have been looking at the examples that are included in this codebase project , but I have been having a problem in setting up for a large app that will be very complex (it will be heavy on WebSocket connections ,network requests and large file uploads, big on local caches ) .I aim to build the app from the perspective of a module (each model its own project files and will be imported).
So, I want to use fxml design approach as I am moving away from the old project design I wish to continue to use the fxml design of the UI than to build at run time as I have seen as the majority of the code base examples here. Since I am used to using controllers, this project (workbenchFX) has limited examples of controller references from the FXML file. My app is or tends to be a bit complex as it as sections and subsections or components of the UI. So because of what i have described as to what i want i have been running into issues : Failing to reference the modules View class to FXML file if its being loaded from another controller (the parent UI) . To counter this or to solve this I have used the approach of using the https://github.com/sialcasa/mvvmFX framework in conjunction to be able to load the fxml and get references to its controls .
See code sample:
So far its working an it loads very well . So I wish to get some help if this is proper as I don't wish to overlook this and build the app from a wrong footing or maybe this can be done well using the workbenchFX framework. Also keeping in mind performance will be very key .
Any thoughts will be appreciated .
Thank you .
Beta Was this translation helpful? Give feedback.
All reactions