all that jazz

james' blog about scala and all that jazz

All posts for tag play

Introducing ERQX

Today I migrated my blog to a new blogging engine that I’ve written called ERQX Now to start off with why did I write my own blog engine A case of not invented here syndrome Or do I just really…


Fun doesn't mean compromising scalability

Today I read an interesting piece on InfoWorld about Meteor Meteor aims to make JavaScript programming fun again It is an interview with Matt DeBergalis a co author of Meteor about Meteor and why a developer would choose it The…


A practical solution to the BREACH vulnerability

Two weeks ago CERT released an advisory for a new vulnerability called BREACH In the advisory they say there is no practical solution to this vulnerability I believe that I've come up with a practical solution that we'll probably implement…


100 Continue support in Play

The 100 Continue status code in the HTTP spec is one that most people know very little about You kind of read it don't really understand what it's talking about and then just skip over it I didn't know what…


How to write a REST API in Play Framework

A very common question that we get on the Play mailing list is how do you write a REST API using Play Framework There's no explicit documentation on it you won't find a page in the Play documentation titled Writing…


Call response WebSockets in Play Framework

I got a question from a Play user about implementing call response WebSockets in Play Framework This is not something that comes up that often since it means using WebSockets to do basically what AJAX does for you so what's…


Advanced routing in Play Framework

We frequently get questions about how to meet all sorts of different routing needs in Play Framework While the built in router is enough for most users sometimes you may encounter use cases where it's not enough Or maybe you…


Understanding the Play Filter API

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 EssentialAction EssentialAction Essentially a filter…


Iteratees for imperative programmers

When I first heard the word iteratee I thought it was a joke Turns out it wasn't a joke in fact there are also enumerators that's ok and enumeratees you're killing me If you're an imperative programmer or rather a…


Passing common state to templates in Play Framework

This question comes up very frequently on the Play mailing list so I thought I'd document a quick example of how to pass common state to shared templates in Play Framework when using Scala The use case is typically that…


About

Hi! My name is James Roper, and I am a software developer with a particular interest in open source development and trying new things. I program in Scala, Java, Go, PHP, Python and Javascript, and I work for Lightbend as the architect of Kalix. I also have a full life outside the world of IT, enjoy playing a variety of musical instruments and sports, and currently I live in Canberra.