Silicon Valley Code Camp : Nov 8th and 9th, 2008session

Develop Rich Internet Applications (RIA) using JavaFX


About This Session

JavaFX Script is a compiled, declarative scripting language that runs on the desktop, in the web browser and on mobile devices. It makes special effects and GUI transitions accessible to people who aren't graphic artists or know the intricacies of overriding Swing painters and working with the Java 2D API affine transformations. JavaFX Script is a perfect user-interface compliment for Java applications. In the first half of this session we'll look at some powerful language idioms that make special effects, interface transitions and vector graphics accessible to programmers who have not chosen to specialize in advanced Swing and Java 2D. The bind keyword connects model and view and handles two-way propagation of changes. Sequences are a data structure similar to arrays, but allow for things like "all numbers between 1 and 100 that are divisible by 3". A very dynamic user interface is possible when you bind things like position, opacity and radius to these values. Triggers allow functionality that is similar to property change listeners. Transform and morphing features make movement, scaling and shape changes possible in one or two lines of code. In the second half and largest part of the session will be spent looking at visually rich examples of what is possible in Java FX Script. We'll look at examples of image transitions, fade-ins, fade-outs, morphing and dynamic insertion of widgets into Swing layouts. Also we will look at Key-Frame animation used to "animate" the value of variables over time. Project Nile: A suite of tools and plugins for designers to export graphical assets into JavaFX applications will also be covered. Come expecting to see lots of code. After attending this session, attendees will walk away with a good understanding of JavaFX language and how to develop special effects in GUI and 2D Graphics and add special features as audio, video and animation into their applications. They will also get an idea of the deployment options i.e. applets or applications.

Time: Not Available x    Room: Not Assigned 

The Speaker(s)

undefined undefined

Sridhar Reddy

unassigned , MapR Technologies, Inc

Sridhar is Director of Professional Services at MapR. He leads the HBase application development practice at MapR where his team helps customers in building HBase solutions from migrating data from SQL databases.