London Play Framework Meetup 8 August 2013

Preview:

DESCRIPTION

Slides from the London Play Framework meetu at Mind Candy http://www.meetup.com/The-London-Play-Framework-Meetup-Group/events/127732662/

Citation preview

Play Framework Meetupat Mind Candy, 8 August 2013

MindCandy is hiring!

mindcandy.com/recruitment

Amanda Cowie @amandacowie

MindCandy is hiring!

mindcandy.com/recruitment

Amanda Cowie @amandacowie

Guy’s talk

Running Tasks with PlayMaking deployments easier

Play is good for a bunch of reasons• Scala

• Fast

• Scalable

• Easy to be productive

• More

• Buzzwords

• Here

That’s why we’re all here

Akka is your best friend

If you’re building tools to run tasks then Akka makes loads of things easier

Play makes it easy to create a complex, asynchronous, actor system, and put a good web UI on top

This comes in handy when you’re building tools for people, not services for machines

Sankai

Sankai is the tool we built for deploying the Moshi Monsters flash

It serves three main functions

• Managing the dependencies of the flash bundle

• Running the deployment scripts

• Keeping logs of script output and deployed dependencies

A simpler example

Sankai is quite large and a bit crufty, so I wrote a smaller example

All the code is up on github

github.com/rumblesan/play-fabric-tasks

open mic?

Javascript Routing

• Don’t Repeat Yourself

• Reverse Routing for Javascript

Play’s Javascript Router

• Embedded

• emitted directly with web page

• External

• loaded via separate GET

Example code

github.com/mcmarkb/play-javascript-routing-example

future meetups

• open mic

• tips / experiences

• hackathons

• challenges