Embed presentation
Downloaded 23 times






![Model
Anorm
SQL DB API
Magic[T] JPA
API
ScalaQuery](https://image.slidesharecdn.com/playscala-111008035134-phpapp02/85/5-Play-scala-7-320.jpg)
![Anorm
// Create an SQL query
val selectCountries = SQL("Select * from Country")
// Transform the resulting Stream[Row] as a
List[(String,String)]
val countries = selectCountries().map(row =>
row[String]("code") -> row[String]("name")
).toList](https://image.slidesharecdn.com/playscala-111008035134-phpapp02/85/5-Play-scala-8-320.jpg)





This document discusses Play! Scala, a framework that allows building web applications in Scala on the Play! platform. It can use Scala instead of Java for the Play! framework. Anorm is used to interact with databases instead of JPA/Hibernate. Play! Scala applications can be deployed to PaaS platforms like Heroku and CloudBees. The document provides links for documentation, mailing lists and the GitHub repository for further information.






![Model
Anorm
SQL DB API
Magic[T] JPA
API
ScalaQuery](https://image.slidesharecdn.com/playscala-111008035134-phpapp02/85/5-Play-scala-7-320.jpg)
![Anorm
// Create an SQL query
val selectCountries = SQL("Select * from Country")
// Transform the resulting Stream[Row] as a
List[(String,String)]
val countries = selectCountries().map(row =>
row[String]("code") -> row[String]("name")
).toList](https://image.slidesharecdn.com/playscala-111008035134-phpapp02/85/5-Play-scala-8-320.jpg)



