Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Play Live Coding

154 views

Published on

Play Live Coding par Nicolas Leroux (@nicolasleroux - Lunatech)

Nicolas présentera le framework Play a travers une application très pratique pour le Scala User Group que nous coderons en live. Nous verrons comment nous interfacer avec l'API de meetup.com.

Au programme donc: les fondamentaux de Play, JSON deserialisation, Enumeratee, Enumerator et Iteratee pour ajouter un peu de live streaming.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Play Live Coding

  1. 1. @nicolasleroux 24 November 2016 An introduction to Play 2
  2. 2. Agenda Play 2 November 4, 2016 Code
  3. 3. Play 2: developing is like having a good lunch
  4. 4. Bring simplicity to java development
  5. 5. • It's designed by web developers for web developers. • Type safety everywhere so you can have safe s… • Better testing capabilities • DI at compile time and runtime • Great ecosystem • Scheduling and asynchronous capabilities • Abstraction so it is easy to switch components • Asset compiler so you javascript is also typesafe • JSON is a first class citizen • Websockets, Comet, EventSource • Streams • So much to tell about him… • And once you join the club you can’t get out ;) Play 2 - Fight club
  6. 6. Bring simplicity to a complex world Play 2 - Shocking • It's designed by web developers for web developers. • Type safety everywhere so you can have safe s… • Better testing capabilities • DI at compile time and runtime • Great ecosystem • Scheduling and asynchronous capabilities • Abstraction so it is easy to switch components • Asset compiler so you javascript is also typesafe • JSON is a first class citizen • Websockets, Comet, EventSource • Streams • So much to tell about him… • And once you join the club you can’t get out ;)
  7. 7. Bring simplicity and modularity to an asynchronous world
  8. 8. We are going to see in more details A basic Play application Controller and Action Routes Views Reverse routing Scala code Iteratee, Enumerator and Enumeratee Websocket JSON parsing WS Library Javascript code … All in 30mn… So not time for tests
  9. 9. Before we start: Actors = Improved thread that reacts to event Enumerator = producer of data Iteratee = consumer of data Enumeratee = Transform data from an enumerator to an iteratee
  10. 10. Bring simplicity to a complex world Demo
  11. 11. Confidential Questions? That’s all folks! @NicolasLeroux November 24, 2016

×