Lou Hamers wrote:These FXML "controllers" to me in a JavaFX app has always felt like just additional View logic and thus part of the view, because it's just too tightly coupled to view components IMO.
Paul Clapham wrote:
Based on my Swing experience, it's damn hard to separate the view and controller logic. From the very beginning of coding you find that if you click on a button then it usually changes the rest of the view, and you really have to put on your Separation of Concerns uniform and march around the room before you can put that code into a separate controller tier. I've seen quite a bit of Swing code in web tutorials and that never happens there.
expectation is the root of all heartache - shakespeare. tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|