JavaFX can be used in place of Swing, but it's is not meant to be a replacement for the Swing technology. For simple GUI apps, JavaFX lets you develop quickly, you don't have to write as much code as you do with Swing, and the end result can enrich the user experience.
Paul L Anderson wrote:JavaFX can be used in place of Swing, but it's is not meant to be a replacement for the Swing technology. For simple GUI apps, JavaFX lets you develop quickly, you don't have to write as much code as you do with Swing, and the end result can enrich the user experience.
from our Essential JavaFX book, which shows how JavaFX bindings simplify the integration of UI components into applications.
So it is possible to develop a full fledge windows desktop application in JavaFX (acting as a frontend), which could interact with an online website developed in PHP+MySQL (acting as backend)?
As i am only interested in developing desktop application, and not any web application. So can JavaFX, developing in it being easier than Swing, be used solely for the development of Desktop Applications ?
This message was edited 1 time. Last update was at by Ibn Saeed
I would say yes. A JavaFX program can access and use any Java API, so you could use JavaFX as a front end to other back-end services. If you have access to your PHP+MySQL website from Java, you can use it from JavaFX.
The binding mechanism in JavaFX makes working with GUI components easier than implementing interfaces with Swing. So you can develop faster and write less code.
Paul L Anderson wrote:I would say yes. A JavaFX program can access and use any Java API, so you could use JavaFX as a front end to other back-end services. If you have access to your PHP+MySQL website from Java, you can use it from JavaFX.
The binding mechanism in JavaFX makes working with GUI components easier than implementing interfaces with Swing. So you can develop faster and write less code.
This is quite exciting. I was actually looking to develop a GUI application for my Online PHP Store. I wanted a frontend in Java through which I could CRUD the MySQL Database, in order to change the prices, add products, view orders etc.
Can you recommend a book which deals which such path ?
This is quite exciting. I was actually looking to develop a GUI application for my Online PHP Store. I wanted a frontend in Java through which I could CRUD the MySQL Database, in order to change the prices, add products, view orders etc.
Can you recommend a book which deals which such path ?