Hi all,
Thank-you for taking the time to give this email a read. Also, thank-you all for providing an avenue to develop browser-based applications in a typed language! I've been learning Scala the last few months and one of the driving factors of my choosing it was knowing I could output JS (maybe someday I'll be employed doing so!) since it seems JS is eating the user application domain alive.
I am exploring the idea of building a library that allows using JavaFX in the growing home of user applications, desktop and mobile web browsers, and am looking for input on the idea. There are
JPro and
Glon, but it is a hard argument to win: let's use this paid for solution for our demo/app while there are the "free" and "cool" solutions from the JS ecosystem.
The end goal would be a library one could import many of the JavaFX classes yet when rendering is done we get DOM nodes in a browser environment. It seems like a monumental task to me, but my personal frustration with trying to learn and apply the churn of JS technology is sufficiently motivating to consider the idea.
My initial thought is to explore the JavaFX rendering pipeline and determine if there is a way to hack it so that Nodes/Containers/Controls produce SVG instead of whatever they produce now. Aside from trying to re-implement the JavaFX libs in Scala, do any of you know how complex of a process I am considering here is? Do you have any pointers or thoughts on the idea?
Sincerely,
Vance