JavaFX as JSF VDL (View Description Language)?

20 views
Skip to first unread message

Michael Azzi

unread,
Feb 12, 2010, 3:01:20 PM2/12/10
to jfxtr...@googlegroups.com
This certainly looks interesting. I remember mentioning this idea to Steve while chatting with him last time, not realizing that some one was actually working on it. I even proposed it to Danny Coward a while back on his blog here: http://blogs.sun.com/theplanetarium/entry/jvm_language_summit_inspiration . It definitely expands the usage base of JavaFX Script, and it makes a lot of sense, considering that the main value proposition of JSF is its declarative nature. JFX Script is declarative programming done right. I think Exadel should bring this idea forward to the JSF JSR committee for possible standardization.

I do want though to take this concept of expanding the use of JavaFX Script even further than just this JSF language idea. By adding some of the missing features, and data structures to the language, and by ironing out some of the Javafx to Java integration aspects, we could potentially have something in our hands with server side JavaFX/Seams that rivals anything that the rails/grails frameworks have to offer.

Mike.

http://mkblog.exadel.com/jsf/javafx-as-jsf-vdl-view-description-language/

Stephen Chin

unread,
Feb 12, 2010, 6:19:19 PM2/12/10
to jfxtr...@googlegroups.com
Comments inline...

Michael Azzi wrote:
> This certainly looks interesting. I remember mentioning this idea to
> Steve while chatting with him last time, not realizing that some one
> was actually working on it. I even proposed it to Danny Coward a while
> back on his blog here:
> http://blogs.sun.com/theplanetarium/entry/jvm_language_summit_inspiration
> . It definitely expands the usage base of JavaFX Script, and it makes
> a lot of sense, considering that the main value proposition of JSF is
> its declarative nature. JFX Script is declarative programming done
> right. I think Exadel should bring this idea forward to the JSF JSR
> committee for possible standardization.

I don't really get the idea of using JavaFX as a JSF View Description
Language. It seems like you give up all the benefits of the JavaFX
scene graph and libraries (media, animation, etc.) in exchange for
having it render to HTML. I guess the addition of binding is an upgrade
from Facelets if you can convince folks they should give up the
templating benefits (you are emitting an HTML UI after all).


>
> I do want though to take this concept of expanding the use of JavaFX
> Script even further than just this JSF language idea. By adding some
> of the missing features, and data structures to the language, and by
> ironing out some of the Javafx to Java integration aspects, we could
> potentially have something in our hands with server side JavaFX/Seams
> that rivals anything that the rails/grails frameworks have to offer.

+1 on this idea. I think having some tight coupling between Seam/Weld
and JavaFX is the way to go. Especially if you can get
injection/outjection to work seamlessly with JavaFX binding via remote
proxies.
>
> Mike.

--
--Steve
blog: http://steveonjava.com/

Reply all
Reply to author
Forward
0 new messages