Author: Divyanshu Srivastava

Introduction to Scala.js

Reading Time: 4 minutes A safer way to build robust front-end web applications! http://www.scala-js.org/ In this blog, we are gonna utilizing a whole lot of features of Scala to build a simple front-end application using Scala.js. So, let’s get it started- Step-1: – Creating an sbt project Create a folder named scala-js-example and inside it create a build.sbt. build.sbt Now, create a new folder named as a project inside Continue Reading

Introduction to Scanamo Version – 1.0.0-M11

Reading Time: 2 minutes Scanamo Scanamo is a library to make use of DynamoDB with Scala. In this blog, we are going to work on latest version 1.0.0-M11 So, let’s get it started- 1. Add Library Dependencies: – Setup sbt project and add these library dependencies 2. Setup application.conf: – Create application.conf file and place it inside the src\main\resources\ 3. Create Case Class And DAO: – Create case class Continue Reading

Introduction to Akka Http

Reading Time: 2 minutes Akka Http The Akka HTTP modules implement a full server- and client-side HTTP stack on top of akka-actor and akka-stream. You can read more in-depth about akka-http from here. Here, we are going to use Intellij for the project setup and Scala as a programming language. The steps are as follows:- 1. Importing library dependencies 2. Creating User case class We are going to create Continue Reading

Introduction to Alpakka DynamoDB

Reading Time: 3 minutes Alpakka DynamoDB This AWS DynamoDB connector provides a flow for streaming DynamoDB requests, using Akka stream and AWS java DynamoDB SDK. And in this blog, we are going to work on version 1.1.2 So, let’s get it started- 1. Add Library Dependencies: – Setup sbt project and add these library dependencies in build.sbt 2. Setup application.conf: – Create application.conf file and place it inside the Continue Reading

Scala trait mixin with a new keyword

Reading Time: 3 minutes Scala has way too many unique features and to enable these unique features on JVM, scala performs various tricks behind the scene to do its job done. In this blog, we are going to see one of the scala’s tricks for trait mixin at object creation time. But before moving to trait mixin, let catch up with some easy examples:- We all know scala’s traits Continue Reading