The Controllers and Models handle the data and event handling. 2. Properties and Bindings (The Secret Sauce)
The most "pro" way to learn JavaFX 8 is to embrace the pattern.
One of the "deepest" features of JavaFX 8 is the pattern.
An XML-based language used to define the UI structure. It keeps your layout separate from your logic.
btn.setOnAction(e -> handlePurchase()); —clean, readable, and functional. 5. Why JavaFX 8 specifically?
Creating anonymous inner classes for every button click.