Making sense of Functors in Scala

In this blog post we will visit functors in Scala and try to reason with their existential purpose and how could we best make use of them. A Functor in functional programming is any type that implements the map or contramap functions. Depending upon which of these methods does a…

A Framework for "Small Talks"

TL;DR This essay attempts to layout a proposal for a framework that is suppose to facilitate and nurture knowledge sharing culture within tech teams and reasons about motivations behind the proposal. Motivation Code reviews, pair programmings and similar conventional development practices not only strive to validate design and implementation…

Connecting React Navigators To Redux Stores

In this blog post I will demonstrate how to connect React Navigators to Redux Stores. But first, let's quickly understand what react navigators are and why would we want to connect them to redux stores anyway. React Native doesn't have a built-in API for navigation like a web browser does…

Implementing Lagom Readside Persistence Using Slick

Persistent Entities in Lagom hold state of individual entities. In other words, they cannot be used to serve queries that span more than single entity. This requires us to create another view of the data that is tailored to serve rather optimized queries that span over multiple entities, which brings…

Mapping Exceptions To Idiomatic Http Responses In Lagom

In the last post we saw how Lagom provides us a default exception serializer out of the box to help us translate exceptions to appropriate HTTP responses in Json. We also learnt how Lagom treats exception translations differently when in production and in development as part of it's built in…

Exception Serialization In Lagom

Lagom is an open source framework for building systems of Reactive microservices both in Java or Scala. It provides many out of the box although opinionated APIs, implementation of supporting features and appropriate defaults to build, test and deploy entire systems of Reactive microservices at a fast, yet reliable pace.…