Top Banner
Play Framework 2 High Productivity Web Development with Java/Scala W-JAX – 07.11.2013 @martin_grotzke – http://ino.io
24

Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

Jan 15, 2015

Download

Technology

Martin Grotzke

The demo is available on github: https://github.com/magro/play-product-finder/
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

Play Framework 2High Productivity Web Development with Java/Scala

W-JAX – 07.11.2013

@martin_grotzke – http://ino.io

Page 2: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

Martin Grotzkeinoio gmbh

Twitter: @martin_grotzkeWeb: http://ino.io

Page 3: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

3/24

For the impatient...

“Play is a high-productivity Java and Scala web application framework [..] based on a lightweight, stateless, web-friendly architecture and features predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications thanks to its reactive model [..].”

http://www.playframework.com/documentation/2.2.x/Home

3/24

Page 4: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

4/24

JEE complexityLayers of JEE specs can turn a simple ajax call into a real problem

4/24

Page 5: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

5/24

Play simplyEmbraces HTTP. If you know the web you already know a lot about Play

5/24

Page 6: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

6/24

ElasticityServer side sessions are a hurdle to achieve elasticity

6/24

Page 7: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

7/24

Play statelessPlay enforces a stateless model — it's elastic by default.

7/24

Page 8: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

8/24

Realtime

8/24

The evolution of the web presents new challenges

Page 9: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

9/24

Play reactivePlay works efficiently due to it's reactive nature

9/24

Page 10: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

10/24

ProductivityJEE looses the productivity competition with Ruby on Rails

After the introduction of rails at Thoughtworks M. Fowler asked the teams / managers howproductivity has changed. One can conclude that it had increased.

10/24

Page 11: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

11/24

Play full stackPlay brings all you need for building a web application

11/24

Page 12: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

12/24

Play full stackPlay brings all you need for building a web application

12/24

Page 13: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

13/24

Play demoReactive end-to-end sample app: https://github.com/magro/play-product-finder

13/24

Page 14: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

14/2414/24

● Hot Code Reloading

Play demoReactive end-to-end sample app: https://github.com/magro/play-product-finder

Page 15: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

15/2415/24

● Hot Code Reloading● Type Safety & Clean Error Messages

Play demoReactive end-to-end sample app: https://github.com/magro/play-product-finder

Page 16: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

16/2416/24

?#@*&%!

Page 17: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

17/2417/24

● Hot Code Reloading● Type Safety & Clean Error Messages

Play demoReactive end-to-end sample app: https://github.com/magro/play-product-finder

Page 18: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

18/2418/24

● Hot Code Reloading● Type Safety & Clean Error Messages● Reactive Persistence with Activate

Play demoReactive end-to-end sample app: https://github.com/magro/play-product-finder

Page 19: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

19/2419/24

● Hot Code Reloading● Type Safety & Clean Error Messages● Reactive Persistence with Activate● Frontend: Asset Compiler, JS Routes, RequireJS

Play demoReactive end-to-end sample app: https://github.com/magro/play-product-finder

Page 20: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

20/2420/24

● Hot Code Reloading● Type Safety & Clean Error Messages● Reactive Persistence with Activate● Frontend: Asset Compiler, JS Routes, RequireJS● Reactive End-To-End

Play demoReactive end-to-end sample app: https://github.com/magro/play-product-finder

Page 21: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

21/2421/24

● Hot Code Reloading● Type Safety & Clean Error Messages● Reactive Persistence with Activate● Frontend: Asset Compiler, JS Routes, RequireJS● Reactive End-To-End● More: Akka, Testing, Configuration, WebJars, ...

Play demoReactive end-to-end sample app: https://github.com/magro/play-product-finder

Page 22: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

22/24

Play reality check

22/24

Any things to be aware of?

Page 23: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

23/24

Get started: http://typesafe.com/activator

23/24

A browser-based tool that helps developers get started with Play Framework, Akka & more

Play start

Page 24: Play Framework 2 - High Productivity Web Development with Java/Scala, W-JAX 2013

24/24

Questions?

@martin_grotzkehttp://ino.io