Author: Marc Siegel

Released scalaquery-play-iteratees 1.1.0

Announcing the release of scalaquery-play-iteratees version 1.1.0. This version is for use with Slick 2.0.0+ and Play Framework 2.2.0+ on Scala 2.10.x. This library provides the “glue” between Play’s concept of Iteratee and Slick’s Query, making it super-easy to process chunks of database query results in a reactive fashion. Please leave us […]

Read More

Does JDK8’s Optional class satisfy the Monad laws? Yes, it does.

As recently came up in discussion: Does JDK8’s Optional class satisfy the Monad laws? Yes, it appears that it does. Please see this gist for the details! View the code on Gist.

Read More

Maintaining Play Framework 2.0.x with Select Backports from 2.1.x

tl;dr – Our fork of Play 2.0.x with select backports from 2.1.x is available here (pre-built packages here). Overall, we’ve had a great experience at TIM Group (f/k/a youDevise) developing new applications for the financial world using the Play Framework in Scala. It has allowed us to rapidly iterate new products, without sacrificing […]

Read More

How to Enrich ScalaQuery with Nested Sessions and Transactions

Recently, we wrote an integration test in a Play Framework application using ScalaQuery which failed in a way that surprised us: we had misunderstood the library’s interface for database sessions and transactions. It turns out that nested usage of #withSession / #withTransaction are not supported by ScalaQuery 0.10.0-M1 out of the box. […]

Read More