Author: Wojciech Ptak

Sane Single Page Apps: Easy Data Handling with DTOs

When a software collapses, it’s usually due to it being no longer maintainable because of complexity. Brian Kernighan, the creator of AWK programming language, puts it quite explicitly: “Controlling complexity is the essence of computer programming”.

Read more...

Take The Best From Both Worlds: Functional AND Object-Oriented Programming

Wondering what are the benefits of functional and object-oriented programming and how to combine them? Look no further: this slide deck highlights key features of both approaches in a structured manner.

Read more...

MongoDB Scala Drivers Microbenchmark: ReactiveMongo vs Scala/Java Driver

If you want to connect your Scala application to MongoDB you have two choices, really. You can use the official driver, which comes in two flavors (Java Async Driver or Scala driver, which is just a facade with RxScala API). Alternatively you can go with ReactiveMongo, a completely new approach built on top of Akka. […]

Read more...

Keep Your Library Simple: Scala API Design Case Study

We’ve been using Play Framework with Elasticsearch and elastic4s for a while. Getting it all to work together requires some boilerplate code, though. We decided to create a small library that would make things easier in future projects. We learned some lessons about building Scala libraries along the way.

Read more...

Contract First REST API Design – How It’s Different & What Are The Benefits

We’re mostly building web applications these days. Even standalone apps have their UI layer written as a single page app in JS and communicate with their backend using REST. Let’s explore the process of designing the REST API for such an app. First, let’s see how a single endpoint description could look like: Update a […]

Read more...

Before You Build A Web App – Pre-development REST Checklist

The abundance of all the tools and resources makes building web applications seemingly effortless. The framework will handle the routing, the library will process the requests and the template engine will take care of any UI you need. This is all very convenient, but it doesn’t deal with the greatest risk of all: having your […]

Read more...