This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Darryl Burke wrote:I've been reading that JavaFX Script is end-of-life. Does the book JavaFX: A Beginners Guide cover programming with JavaFX 2.0, a public preview of which is expected next month?
I read through this link you had posted in a different thread- I didn't read in the road map that JavaFX Script is end-of-life. But may be its something conveyed indirectly- through the integration with Java? But for people who would want to design the UI in JavaFX would have to learn Java now? Earlier just the knowledge of JavaFX Script would be enough to design the UI (not giving any functionality to it)
What I meant was that one could learn just JavaFX Script to create the UI layout. Adding functionality could be done by a Java programmer who knows JavaFX or may be by the person who designed the UI. But with removal of JavaFX Script- person would have to learn Java to create UI based on JavaFX.
If you're comfortable with Class-Style JavaSE Programming, then you should choose JavaFX 2.0. If you're more comfy with script language like scala, JRuby, or anything else, you should choose JavaFX script. Because, I don't know if JavaFX 1 will be developed anymore.
Independent Programmer - Technology Enthusiast - JUG Leader from JUG Joglosemar
Yosi Pramajaya wrote:If you're comfortable with Class-Style JavaSE Programming, then you should choose JavaFX 2.0. If you're more comfy with script language like scala, JRuby, or anything else, you should choose JavaFX script. Because, I don't know if JavaFX 1 will be developed anymore.
JavaFX Script it no longer supported officially. JavaFX 2 is API which can be used along with Java, just like any other Java API. Along with this there are a lot of other major enhancements.
But if you a a fan of JavaFX Script, then I would recommend you to look at Visage
There's FXML which provides a declarative way to build the Java object graph- Preferably used for creating the JavaFX UI.