REST Services with
Play2 Scala & ReactiveMongo
Who am I?
@raulraja
47deg.com
raulraja.com
Scala, Java, Objective-C
MAIN TOOLS TO BUILD THIS APP
App frameworks are like hipsters, always
looking for the next cool thing.
There is a new kid on the block...
REACTIVE APPS...
Let’s get started
Create the APP
Run it!
Play uses conf/routes to map http requests to controller actions
Play projects are SBT projects, here we add the dependencies
Play plugins are registered in conf/play.plugins
In conf/application.conf we add things like DB settings
In DEV mode you can see the configured routes on a bogus URL
Controllers implement the actions
Let’s build it!
If you did not attend the session a full tutorial is here
https://github.com/47deg/bbcdzREST
Become a Scala Master
For comprehensions
Case Classes
Futures
Options
Traits
Either
Pattern Matching
Monads
Actors
DSL’s
....
Reactive REST on Play2 & ReactiveMongo
Upcoming SlideShare
Loading in …5
×

Reactive REST on Play2 & ReactiveMongo

2,328 views

Published on

A quick tutorial focused on building a quick Reactive application with Play2 Framework that features a REST API backed by the asynchronous ReactiveMongo driver. Tutorial and sources available at https://github.com/47deg/bbcdzREST

Published in: Technology, Business
0 Comments
8 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,328
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
22
Comments
0
Likes
8
Embeds 0
No embeds

No notes for slide

Reactive REST on Play2 & ReactiveMongo

  1. 1. REST Services with Play2 Scala & ReactiveMongo
  2. 2. Who am I? @raulraja 47deg.com raulraja.com Scala, Java, Objective-C
  3. 3. MAIN TOOLS TO BUILD THIS APP
  4. 4. App frameworks are like hipsters, always looking for the next cool thing. There is a new kid on the block... REACTIVE APPS Only one thing is better than reactive apps. Monkey beard JORGE!
  5. 5. Let’s get started
  6. 6. Create the APP
  7. 7. Run it!
  8. 8. Play uses conf/routes to map http requests to controller actions
  9. 9. Play projects are SBT projects, here we add the dependencies
  10. 10. Play plugins are registered in conf/play.plugins
  11. 11. In conf/application.conf we add things like DB settings
  12. 12. In DEV mode you can see the configured routes on a bogus URL
  13. 13. Controllers implement the actions
  14. 14. Let’s build it! If you did not attend the session a full tutorial is here https://github.com/47deg/bbcdzREST
  15. 15. Become a Scala Master For comprehensions Case Classes Futures Options Traits Either Pattern Matching Monads Actors DSL’s ...

×