Better Scala Tuples With shapeless
Shapeless provides a little syntax sugar that makes a standard Tuple
behave like a collection. Learn more about this API in a tutorial by Scala and Akka trainer, mentor and consultant Michael Pigg.
Shapeless provides a little syntax sugar that makes a standard Tuple
behave like a collection. Learn more about this API in a tutorial by Scala and Akka trainer, mentor and consultant Michael Pigg.
Anyone working on concurrent and distributed applications on the JVM should be familiar with Akka. Akka is an implementation of the Actor model that can be used from Scala or Java applications to provide a concurrency model that is designed from the ground up for systems spanning multiple machines. Defining an Actor The key abstraction … Read More
Chariot consultant Michael Pigg takes a look at using the Scala compiler’s -Xprint option to show us what’s happening under the covers.
I was able to attend Scala Days 2015 in San Francisco and see some excellent presentations on the Scala ecosystem. I’d like to highlight ones that were of particular interest to me.
In this tutorial we’ll create a very simple web app using Akka HTTP.
The Northeast Scala Symposium just wrapped up in Boston. The Northeast Scala Symposium just wrapped up in Boston. I braved the snow, ice, and bitter cold with Don Coleman, Al Iacovella, Nicolas Kijak, and Ken Rimple and lived to tell about it. We’ve collected highlights from a few of our favorite sessions in this blog post.
This post takes a look at the basic features of the FSM trait in Akka and implements a simple Tic Tac Toe game actor along with tests.
This is the first in a series of posts in which we will explore building applications with the Play Framework. Today we will focus on creating a very simple barebones application and applying some tests to it. Starting A Skeleton Application Complete sample code for this article can be found at play-samples/minimal. The only prerequisite … Read More
Supposedly Scala requires a completely different programming style. But what happens when you just want a Spring application? Is it possible to program in Scala without jumping in the deep end? Chariot’s John Shepard illustrates the difference in approach in this quick tutorial.
The reactive paradigm is a wonderful thing. The basic idea is that a reactive application, as much as possible, is asynchronous from beginning to end. It should be event driven, fault tolerant, scalable and responsive. Writing an asynchronous application, however, has it’s own set of unique challenges. In this post I’ll demonstrate an approach we took to solve the challenge of maintaining a definite order, specifically when performing database updates in asynchronous code within an actor.