javafx™ programming language + groovy = beauty + productivity · language + groovy = beauty +...

14
JavaFX™ Programming Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009

Upload: others

Post on 04-Nov-2019

16 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

JavaFX™ Programming Language + Groovy = Beauty + Productivity

Dierk KönigCanoo Engineering AGBooth #xxx

Sunday, 24 May 2009

Page 2: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

Welcome

Dierk König

Fellow @ canoo Author of Groovy in ActionCommitter to Groovy and Grails

European partner of Sun Microsystems for JavaFX™ development

Sunday, 24 May 2009

Page 3: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

Agenda

> Positioning JavaFX and beauty> Positioning Groovy and productivity> Considering 3 combination options

• Remote coupling• Polyglott applications• Component-level integration

> Looking into the future

3

Sunday, 24 May 2009

Page 4: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

JavaFX and beauty

> Squarely targeted at stunning user interfaces

> Great workflow support from designer to developer

> Very versatile

4

Sunday, 24 May 2009

Page 5: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

Groovy and productivity

> Simple beans> Easy navigation> Safe resource

handling> Dynamic persistence> Plugin system

5

class Person {String nameAddress address

}

people.address.groupBy{ it.zip }

withTransaction {person.save()

}

Sunday, 24 May 2009

Page 6: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

3 combination options

> Remote couplingvia web service

> Polyglott programming

> Component-level integration

6

JavaFX

Sunday, 24 May 2009

Page 7: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

Remote coupling

> JavaFX frontendfor ubiquity and beauty

> Grails backend for full stack productivity

> Remote coupling through web services

7

Sunday, 24 May 2009

Page 8: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

Remote coupling

> JavaFX frontendfor ubiquity and beauty

> Grails backend for full stack productivity

> Remote coupling through web services

7

DEMO

Sunday, 24 May 2009

Page 9: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

Polyglott programming

> Mixing various languages within the same codebase

> Combining strengths, but be aware of technical and „mental“ friction

> Tool support has much improved - but still...

8

JavaFX

Sunday, 24 May 2009

Page 10: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

Polyglott programming

> Mixing various languages within the same codebase

> Combining strengths, but be aware of technical and „mental“ friction

> Tool support has much improved - but still...

8

JavaFX

DEMO

Sunday, 24 May 2009

Page 11: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

Component-level integration

> One applicationlanguage

> Components from multiple sources

> Integration on the bytecode

> Many variations possible

9

Sunday, 24 May 2009

Page 12: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

Component-level integration

> One applicationlanguage

> Components from multiple sources

> Integration on the bytecode

> Many variations possible

9

DEMO

Sunday, 24 May 2009

Page 13: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

Looking into the future

> Grails JavaFX plugin, anyone? Scaffolded remote views on persistent objects for multiple channels (mobile, Applet, JWS)?

> JavaFX moving closer to Griffon, GraphicsBuilder, and Groovy in general?

10

Sunday, 24 May 2009

Page 14: JavaFX™ Programming Language + Groovy = Beauty + Productivity · Language + Groovy = Beauty + Productivity Dierk König Canoo Engineering AG Booth #xxx Sunday, 24 May 2009. Welcome

Dierk Kö[email protected]

Booth #xxx

Sunday, 24 May 2009