playframework
238.3K views | +6 today
Follow
playframework
A java web framework made by web developers for web developers
Curated by opensas
Your new post is loading...
Your new post is loading...
Scooped by opensas
Scoop.it!

Understanding the Play Filter API

Understanding the Play Filter API | playframework | Scoop.it
With Play 2.1 hot off the press, there have been a lot of people asking about the new Play filter API. In actual fact, the API is incredibly simple:                   trait EssentialFilter { def apply(next:...
more...
No comment yet.
Scooped by opensas
Scoop.it!

Chained actions in Play! Framework 2.0 (Scala API) | Natalino Busà

Chained actions in Play! Framework 2.0 (Scala API) | Natalino Busà | playframework | Scoop.it
sealed trait ChainedAction[A] extends Action[A] object ChainedAction { def apply[A] (bodyParser: BodyParser[A]) (block: Request[A] => Action[A] ) = new ChainedAction[A] { def parser = bodyParser def apply(request: ...
more...
No comment yet.
Scooped by opensas
Scoop.it!

Chained actions in Play! Framework 2.0 (Scala) | Natalino Busà

Chained actions in Play! Framework 2.0 (Scala) | Natalino Busà | playframework | Scoop.it

Chaining actions in Play is not really easy. The main problem is that an action does not return an action , but a response type. So actions cannot be nested explicitely. I have written a wrapper around the Action trait to deal with Actions which are not terminal, but which are meant as intermediate processing and chain towards other Actions.

more...
No comment yet.
Scooped by opensas
Scoop.it!

Introduction to Composing Actions in Playframework : scala

Introduction to Composing Actions in Playframework : scala | playframework | Scoop.it
reddit: the front page of the internet (RT @reddit_scala: Introduction to Composing Actions in Playframework http://t.co/uV6YNC56...)...
more...
No comment yet.