Articles about Scala

How Do Implicits Work in Scala?

Implicits in Scala

Programmers strive to write simple and understandable code. The less code is written, the less likely it is that there is an error in it. Scala offers the ability to write even more concise code and rely on the help of the compiler. This is achieved through implicit conversions and implicit parameters. Let's see what lies behind the magic of implicits in Scala.

WebSockets in Play Framework

WebSockets in Play! framework

First of all let's sort out what WebSocket is. WebSocket protocol completely changes the approach to client/server interaction. Instead of the old customary synchronous model of communication "request-response" with its division of the roles into "client" and "server", WebSocket uses an asynchronous model of communication.

The Story of React JS Integration by Back-end Developers

React JS integration

Play is one of the most widespread Scala frameworks today. The experience of our engineers has shown that it is a good development tool and so we decided to use this framework in a new project. Among the project's requirements was creating a responsive frontend but it turned out that the standard Play's template engine Twirl is not powerful enough to satisfy this demand. Thus, we opted to try such modern technology as React JS.

Comparative Analysis of Slick 2 and Slick 3

Comparative analysis of Slick 2 and Slick 3

Slick is a library for Scala which allows creating and executing database queries. For working in Scala+Play Framework bunch, Typesafe explicitly recommends using Slick. The idea is that the developer works with the stored data as if he uses Scala-collections, which is a big plus for Scala fans. You just write the code in Scala without distracting on writing SQL-code.

Get in Touch