Open Source JavaFX Now!

Steve On Java

Hacking Java, JavaFX, and Flash with Agility
  • rss
  • Home
  • About
  • Contact
    • E-mail Steve
    • SC2 Challenge
  • SvJugFX
  • JavaFX Petition
  • JFXtras
    • JFXtras Individual CLA
    • JFXtras Corporate CLA
  • Freedom From XML

Alternative Languages at Devoxx and Soon JavaOne Brazil

steveonjava | November 24, 2010

I did my JavaFX Alternative Languages talk at Devoxx and will soon be presenting it at JavaOne Brazil (December 7-9th).

During the Devoxx talk I was honored to have Martin Odersky in the audience (for those of you who don’t know him, Martin is the man behind Generic Java and now Scala).  There were several great questions at the end of the talk, one posed by Martin himself.

The question was around this Scala code fragment:

def timeline = new Timeline {
  repeatCount = INDEFINITE
  autoReverse = true
  keyFrames = List(
    new KeyFrame(50) {
      values = List(
        new KeyValue(rect1.x() -> 300),
        new KeyValue(rect2.y() -> 500),
        new KeyValue(rect2.width() -> 150)
      )
    }
  )
}

He was wondering why I had the extra parenthesis after the variables (x, y, and width).  In Scala using parenthesis is optional for methods and allowed for variables, so it appears to be a style issue.  However, there is a good reason for this.

The current JavaFX property model has 4 helper methods for each variable:

  • int getX() – Standard JavaBeans getter function for the property x.
  • setX(int x) – Standard JavaBeans setter function for the property x.
  • static PropertyReference X() – A static function that returns a property reference for x that can be used to refer to this field.
  • ValueBinding x() – A member function that returns a mutable reference to x that can be used to get or set the value dynamically.

So the extra parenthesis were to differentiate between a normal method call (“x”) and a ValueBinding (“x()”).

By popular demand at the earlier SvJugFx Event, I also added in some new content demonstrating usage of the Fantom language for coding JavaFX. Besides being extremely easy to create DSLs in, it also has a built-in Duration operator, making the end result extremely similar to the equivalent JavaFX Script:

Here is the full talk on alternative languages with all the updates for the latest conceptual JavaFX 2.0 APIs:

If you are going to be at JavaOne Brazil, please drop me a line and I will be happy to meet up and chat about JavaFX futures.

 
Comments
1 Comment »
Categories
Events, JavaFX, Presentation, SvJugFx, Visage
Tags
clojure, Fantom, groovy, javafx 2.0, jruby, scala, Visage
Comments rss Comments rss
Trackback Trackback

“Flash On…” Group Kicked Off!

steveonjava | November 13, 2010

We did a double header meeting in the North and South bay to kick off the Flash On group. It was a lot of work to coordinate and present back-to-back meetings, but it all came together. A big thanks to my co-presenter Oswald Campesator, my co-coordinators Keith Sutton and Justin Webb, and also, Nick Turner, from Plug and Play’s Mobile Meetup, who did an outstanding job on Thursday evening.

Here is what some of our new members had to say:
Tony Constantinides
“ Great meetup and very informative. Many good issues were raised at the meeting by developers which will lead to a followup meetup which will be hands-on hopefully. With Mobile nothing beats hands on with the fun devices! The possibilities of Android development with TV, tablets and mobile seem endless! ”

Drew Dara-Abrams
“ A useful introductory presentation and discussion. The mix of formal presentation and informal question and discussion worked well. ”

.

Aaron Tong
“ This was a great meetup! Lets have more of the same! ”

.

As promised, here is the presentation that Oswald and I gave (skip to page 30 for the links):

Android Flash Development
View more presentations from Stephen Chin.

If you haven’t already, sign up for the Flash On meetup group to get informed of upcoming events:
http://www.meetup.com/flashon/

 
Comments
No Comments »
Categories
AIR, Events, Flash, Flex, Mobile, Presentation
Tags
AIR, burrito, Flash, flash on, Flex, Mobile
Comments rss Comments rss
Trackback Trackback

Flash On… Meetup Premiere

steveonjava | November 9, 2010

I am pleased to announce the Flash On… user group that I am kicking off together with Keith Sutton, Oswald Campesato, and Justin Webb.  The focus is Flash on consumer devices from Mobile to Tablet to TV.

Oswald and I will be doing the inaugural presentation on Flash mobile technologies this evening.  You can catch the live stream on Adobe Connect here:

http://experts.na3.acrobat.com/flashondevices/
(Stream starts at 7PM PST!)

For those of you who haven’t been following the Flash Mobile headlines, there have been a lot of great announcements that make this platform worth developing for:

Mobile

  • With the AIR 2.5 release, Android devices are fully supported
  • Apple has relaxed their license to allow Flash-based applications in the App Store
  • Similar announcements have come from other vendors such as Palm, Windows 7, and others

TV

  • Google TV prominently features Flash support
  • Adobe also announced AIR support for Samsung devices such as Smart TVs and Blu-ray Players

Tablet

  • Blackberry announced Adobe AIR support for their Playbook Tablet

Here is an excerpt from the Adobe Max 2010 keynote that shows off the Blackberry Playbook Tablet running Flash:

When put together, Flash is well poised to become the defacto standard for building rich user experiences across different screens.

We will cover all this and more in our presentation tonight.  As usual, we will have high production values for the talk with side-by-side presenter video and slides plus a chat area to ask questions.  I hope to see you there!

 
Comments
No Comments »
Categories
Android, Announcements, Flash, Presentation
Tags
Flash, meetup, Mobile
Comments rss Comments rss
Trackback Trackback

New Blog Categories… JavaFX, Agile, and Flash

steveonjava | November 8, 2010

For those of you following my blog, I have setup some top level categories and matching subdomains to make easier to get just the information you need.

All of my blog posts will fall in one of the following three categories:

JavaFX

What I will be posting: Information on the latest JavaFX developments, such as JavaFX 2.0 and alternative languages for coding JavaFX. I will also include information on the Visage project including any preview releases.


URL: http://javafx.steveonjava.com/
RSS: http://javafx.steveonjava.com/feed/

Agile

What I will be posting: Agile development practices with a focus on scaling Agile to large enterprises. This includes updates on Apropos/Stratus and new presentations on Agile Portfolio Management that I give.


URL: http://agile.steveonjava.com/
RSS: http://agile.steveonjava.com/feed/

Flash

What I will be posting: Flash and Flex development for mobile and consumer devices. This topic will get a lot of activity over the next couple months as I launch the new Flash On… user group and work on some Pro Android Flash titles for Apress.

URL: http://flash.steveonjava.com/
RSS: http://flash.steveonjava.com/feed/

Or Everything…

Of course, if you want to see all of my posts you can continue coming to http://steveonjava.com/ and keep your existing RSS feed.

I hope this makes it easier to follow the information you are interested in.  Feel free to give me feedback on the site changes in the comments.

 
Comments
No Comments »
Categories
Agile, Flash, JavaFX
Tags
categories
Comments rss Comments rss
Trackback Trackback

Publications

   

Upcoming Talks

JavaOne 2011

Android Open
Use code "WIDGETFX"
for 20% off!

JavaOne 2011

Steve On…

  • Everything
  • Agile
  • Flash
  • JavaFX

Archives

Affiliations

Awards

2009 JavaOne Rock Star!

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox