Category Archives: Scala

Avoiding Boilerplate with PureConfig


The PureConfig library of Scala avoids boilerplate while loading configurations, which has always been an error-prone and monotonous procedure. The common way that we follow is deserializing each field of the configurations, which is again a cumbersome task. The more … Continue reading

Posted in Scala | Tagged , , , | Leave a comment

Finagle : Controlling the Future Of RPC systems


In this blog we’ll use Finagle to build a very simple HTTP server that is also an HTTP client — an HTTP proxy. So Let’s Begin With Some Introduction to the Finagle. Finagle is an extensible Remote Procedure Call (RPC … Continue reading

Posted in Java, Scala | Tagged , , , , , , | 1 Comment

Lagom Circuit Breaker: What, Why and How?


When our service depends on a third party service’s end point for response, it is possible that due to various reasons, that may vary from bad connection to an internal server error from the third party, our own service fails. … Continue reading

Posted in Scala | Tagged , | 3 Comments

Key points to build an Angular application


This Blog is about Angular and why developers should choose angular to build an application. And we will also discuss difference between its current version and previous versions. What Angular is : Angular is perfect choice for Single Page Application(SPAs). … Continue reading

Posted in Scala | Tagged , , | Leave a comment

SQL made easy and secure with Slick


Slick stands for Scala Language-Integrated Connection Kit. It is Functional Relational Mapping (FRM) library for Scala that makes it easy to work with relational databases. Slick can be considered as a replacement of writing SQL queries as Strings with a … Continue reading

Posted in database, Scala, Security, Slick, sql, Tutorial | Tagged , , , , , | Leave a comment

What to do for overriding the PureConfig behavior in Scala ?


PureConfig has its own predefined behavior for reading and writing to the configuration files, but sometimes we got the tricky requirement in which we need some specific behavior; for example to read the config. It is possible to override the … Continue reading

Posted in Agile, Best Practices, big data, knoldus, Reactive, Scala | 1 Comment

Lagom: Getting to Know


JUST THE RIGHT AMOUNT Lagom- [lah-gome], a swedish word meaning ‘Sufficient’ or ‘Just the right amount’. The meaning of the name ‘Microservice’ is misunderstood by a majority of people. Taking it litrelly Micro = very small i.e. very small service is not … Continue reading

Posted in Scala | Tagged , | Leave a comment

Remove Scala warts with WartRemover


Each time we write code, we are told to ‘maintain the coding standards’, yet many a time we fail to do so. Though there are tools which we use to help us in linting the code like scalastyle, scapegoat, scalafmt, … Continue reading

Posted in Scala | Tagged , , | Leave a comment

Docker : linking and working with multiple containers


Prerequisites Docker installation from here. Create an account on Docker Hub In my previous blog we had a quick overview of Docker technology. I suggest you to have a look at my previous blog for better understanding. Our application can have multiple services … Continue reading

Posted in Devops, Scala | Tagged , , , , , | Leave a comment

Magic Of Dependency Injection in Angular 2


When i was a kid Injection word was my biggest nightmare, but since I have become a programmer and jovial by doing clean, crisp and precise applications the “injection” word seems the most wonderful word to me, as this word brings … Continue reading

Posted in Scala | Tagged , , , , , , , | Leave a comment