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.
• http://www.kotancode.com• http://www.kshmusings.com• @KevinHoffman• http://www.facebook.com/kevinhoffmanauthor
• REST API using PlayWS & Futures – super easy
/apioutstanding
implicit val zombieSightingWrites = {( __  “name”).write[String] and( __  “timestamp”).write[Int] and( __  “location”).wri...
implicit val zombieSightingReads =Json.reads[ZombieSighting]implicit val zombieSightingWrites =Json.writes[ZombieSighting]
Web ServerBrowserServerTemplates
Web ServerBrowserServerTemplates RESTAPIJavaScript
Web ServerBrowserTemplates RESTAPIAngularJSMCV
class ImportActorSpec extends TestKit(ActorSystem(“testsystem”))with WordSpec with MustMatchers {// DI in-memory repo acto...
Option[T]
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Upcoming SlideShare
Loading in …5
×

Building a Line of Business Enterprise Web App with Play, Scala, and Akka

1,003 views

Published on

ScalaDays 2013 presentation, detailing my experiences creating an enterprise web application with the Play Framework, Akka, Scala, and various forms of JavaScript including AngularJS

Published in: Technology, News & Politics
  • Be the first to comment

  • Be the first to like this

Building a Line of Business Enterprise Web App with Play, Scala, and Akka

  1. 1. • http://www.kotancode.com• http://www.kshmusings.com• @KevinHoffman• http://www.facebook.com/kevinhoffmanauthor
  2. 2. • REST API using PlayWS & Futures – super easy
  3. 3. /apioutstanding
  4. 4. implicit val zombieSightingWrites = {( __ “name”).write[String] and( __ “timestamp”).write[Int] and( __ “location”).write[GpsCoordinate]}implicit val zombieSightingReads = {( __ “name”).read[String] and( __ “timestamp”).read[Int] and( __ “location”).read[GpsCoordinate]}implicit val gpsCoordinateReads ….
  5. 5. implicit val zombieSightingReads =Json.reads[ZombieSighting]implicit val zombieSightingWrites =Json.writes[ZombieSighting]
  6. 6. Web ServerBrowserServerTemplates
  7. 7. Web ServerBrowserServerTemplates RESTAPIJavaScript
  8. 8. Web ServerBrowserTemplates RESTAPIAngularJSMCV
  9. 9. class ImportActorSpec extends TestKit(ActorSystem(“testsystem”))with WordSpec with MustMatchers {// DI in-memory repo actors“An XML Import Actor” must {“Import all messages from file” in {// prepimportActor ! ImportActorProtocol.ImportXml(xml, testActor)expectMsg(ValidationReady)importActor ! GetStatus(testActor)expectMsgPF() {case …}}}}
  10. 10. Option[T]

×