Nov 13, 2015Video - Fast REST API building with UnfilteredPresentation on Devoxx 2015 about Unfiltered
In need of building a new api fast? Come and have a look at Unfiltered, a Scala Http request toolkit with which you can create and run a rest api in just 4 lines! During this Quickie I’ll demonstrate some of the usages of Unfiltered, from some simple endpoints to a fully Akka clustered application.
[Read more...]Tags:conferencedevoxxpresentationrestscalaSep 4, 2015Chaining rejection handlers
To serve some resources via Spray, it’s as easy as using the ‘getFromFile’ directive. If you want to fall back to an alternative because the file is not available, you can define a RejectionHandler to serve an alternative file.
[Read more...]Tags:scalasprayJul 8, 2015Using Akka Http to perform a Rest call and deserialise json
I have been playing with Akka Streams and Akka Http to create a flow to get some data from a public Rest endpoint and deserialize the json using Json4s.
Since there are not that many examples yet, and documentation only has a few examples, I’m sharing my little app here.
[Read more...]Tags:akkaakka-httpakka-streamsjsonJul 4, 2015Selecting a time database
For a new play project, I want to use a time series database to visualise gathered data over time and time be able to use functions like sum/div/etc on the time series data. I thought I could just pick a database and start coding on my project, but instead I ended up spending several evenings trying out several databases to find the right one for my needs.
[Read more...]Tags:databasegrafanagrafiteinfluxdbprometheustime_series_databaseMay 30, 2015Workshop - Dive into ScalaWorkshop on NextBuild 2015
Scala is the fastest growing language on the JVM. It’s both OO and Functional and has build-in support for easily writing concurrent application to maximise the use of all your resources.
Want to learn about Scala and get started right away? Then this university session is for you!
Via live coding, I’ll show you how to setup a new project and you’ll learn thought code about many Scala features like Traits, Case Classes, Pattern Maching, Implicits, Currying, Lambdas, etc, but also about SBT and how to use Scala in a Java project. Bring your laptop, with SBT and Scala preinstalled, so you can follow along!
[Read more...]Tags:conferencenextbuildpresentationscalaApr 20, 2015Presentation - Why and what is ScalaHere another presentation I gave for my customer to introduce Java developers to Scala and show the features Scala adds to Java [Read more...]Tags:presentationscalaSep 11, 2014Presentation - Intro into Scala for Java developersOn the first meetup of the Brabant Scala meetup group, I gave a presentation ‘Intro to Scala for (Java) developers’ [Read more...]Tags:presentationscalaFeb 2, 2013Presentation - Intro into ScalaHere is a presentation is gave for my customers to introduce Java developers to Scala and show the features Scala adds to Java [Read more...]Tags:presentationscalaApr 16, 2012Workshop - GitThis is a presentation I have given at several customers to get them started with Git. [Read more...]Tags:gitpresentationJan 31, 2012Starten met Scala in Java projectenHet is alweer twee jaar geleden dat Scala aan bod kwam in het Java Magazine. Scala is inmiddels een volwassen taal geworden en krijgt steeds meer aanhangers. Logisch, want Scala biedt nu al features die op z’n vroegst pas over twee jaar in Java zijn te verwachten. Dit resulteert niet alleen minder code, maar levert ook betere en beter leesbare code op. Veel Java projecten zijn echter groot en al jaren oud. Het is dus niet reëel om te verwachten dat zo’n project opnieuw in Scala gedaan zal worden. Dat is ook niet nodig, want Scala is zeer goed in te zetten in bestaande projecten. [Read more...]Tags:javascala