This is a collection of articles I wrote over the years, presently with a strong focus on building reactive systems with Akka.
Published on 7 March 2016
If there is one thing you need to know when it comes to enhancing your productivity when working with the Play Framework it’s the following tip because it will save you a lot of time during development. I’ve watched many developers repeat the same steps countless times in a day and every time I show – Read More
Published on 27 January 2015
TL;DR: Play applications are not automagically performant. I’m writing a book that shows how to use Play correctly, especially when used to working with threaded web-servers such as Tomcat or Jetty. Save 50% with the code mlbernhardt.
Published on 16 November 2013
Here are the slides from my talk at Devoxx 2013 in Antwerp: The sample application built in the slides is also available on GitHub. Devoxx was great, as always! A huge thank to Stephane and his crew for making it happen, year after year!
Published on 1 August 2013
If you happen to work, like me, on a project that makes use of both the Play framework and AngularJS, you may at some point need to read some data from the Play session in your AngularJS application. Play uses a client-side session, which makes sharing the data with client-side applications easy. In order to – Read More
Published on 8 July 2013
Slick is a powerful library for functional database access, leveraging Scala language features such as implicit conversions and macro’s to allow type-safe interaction with databases. The play-slick module allows easy integration with the Play! framework by providing e.g. support for database evolutions and other convenience methods. As I got to work with Slick more extensively, – Read More
Published on 14 June 2013
A few weeks ago, James Ward announced a new Google Chrome extension (and SBT plugin) to automatically refresh Play framework applications during development in the browser. So I jumped on there being a Google Chrome extension and revived a feature of Play 1 that allows you to directly click on the error message in the – Read More
Published on 26 March 2013
Play 2.1 makes it possible to write completely modular applications, and on top of this, to develop each module separately. I’ve been waiting for this for some time now, and even implemented a custom router based on plugins while waiting for the framework to support modular routing. Now that the wait is over, let’s see how – Read More
Published on 26 October 2012
Because of a permgen leak related to third-party libraries, the logging in test mode is disabled in Play 2.0.x (there’s a fix coming up in Play 2.1). In some cases, seeing what happens while running a test can be useful – e.g. when debugging calls to various Akka actors that don’t quite behave as expected. – Read More
Published on 18 November 2011
In case anyone needs this: https://gist.github.com/1377952 You’ve got to bootstrap it in some bootstrap job like so: [code] ScalaCacheAccessor.set(new MongoCacheImpl) [/code] It’s only tested with the Press module so far (shared state is evil anyway 😉 )
Published on 23 March 2011
Two months ago we started using the Play! framework for our work at Oxiras (as I am writing these lines, the Oxiras website is still totally empty, this should change soon however). As we started making UI tests using the excellent integration with the Selenium test runner, we quickly noticed that also having an integration – Read More