11. Scalable Language
Still has a very bright future
Functional
Purely Object-Oriented
Statically-typed
JVM Language
4/13/2013 XeNoNiQUe.co.uk (c) 2011 11
13. Variables and Values
• Assignment less programming
• Prefer val over var
var x = 10.0; x = 10 + x
val y = 10.0
val z: Float = x
var t: Int = 42; t = t * 2
13
29. Play Framework 2.0
• Non Java EE – No Servlet
• Built for Web Development
• Direct manipulation of HTTP
• Asynchronous Input and Output
• Scalable Vertically
29
31. Play Advantages
• Highly productive web development
• Work with Web Designers
• Feels of “Rails”
• Compiler type checked
• Model, View and Controller
31
32. Play Disadvantages
• Completed encapsulated environment
• Unlike JavaEE and WAR file
deployment to application server
• No WAR file (yet) as of Play 2.1.x
• Ironically, WAR files need JavaEE
7 (WebSocket and Async Servlet
3.1)
32
33. Play Style
• Dispatch through a Router file
• Directly manipulation of the HTTP
response, Ok(200), Error(404)
• Control HTTP interface: GET, PUT,
POST, DELETE
• Model, View and Controller scala
objects
• Asynchronuous process API
33
34. Play Persistence
• Play has its own persistence provider
Anorm: a direct SQL framework
• Play can also use Squeryl: an Object-
Relational Mapper DSL with type safety.
34
38. Professional Services
Contract Software Development
Scala, JavaEE, JavaFX, TDD, Gradle
W: http://www.xenonique.co.uk/blog/
E: peter.pilgrim@gmail.com
4/13/2013 38
39. Professional Services
peter.pilgrim@gmail.com
Scala, JavaEE 7, JavaFX
Contracting
Software Development
4/13/2013 39
40. Attributions
• The author would very like to attribute these
pleasurable Creative Commons License 3.0
photographers
• Brush Metal Elevator door By Jerry "Eyes" Ranch; West Des Moines, IA,
USA; http://www.flickr.com/photos/ranchjp/3684969194/
• 19/365 Game Over by Mykl Roventine;
http://www.flickr.com/photos/myklroventine/3210068573
• Experiment in abstract lightning by Bob Doran; Walnut Creek, Arcata,
USA ; http://www.flickr.com/photos/humblog/4522984790/in/photostream/
40
41. Attributions #2
• Study in Math exam photo by Steve S;
http://www.flickr.com/photos/scubasteveo/296747958/
41