Category Archives: Functional Programming

Reactors.IO: Actors Done Right


In our previous blog, we tried to explore the upcoming version of i.e Java 9. So this time we try to focus on Scala . In This Blog , We will be Looking onto a New Reactive programming framework for … Continue reading

Posted in Functional Programming, Reactive, Scala | Tagged , , , , | 1 Comment

A Java Lagom service which only consumes from Kafka topic (Subscriber only service)


Subscriber only service means an application which only consumes, does not produce. We have generally seen the applications which both produces and consumes data from a Kafka topic but sometimes we need to write an application which only consumes data … Continue reading

Posted in Akka, Apache Kafka, Architecture, Best Practices, big data, Functional Programming, github, Java, MessagesAPI, Microservices, Scala | Leave a comment

Like Java 7 ? Then You Are Going to Love Java 8 !!


JAVA 8 (aka jdk 1.8) is a major release of JAVA programming language development. With the Java 8 release, Java provided support for functional programming, new JavaScript engine, new APIs for date time manipulation, new streaming API, etc. which will … Continue reading

Posted in Functional Programming, Java | Tagged , , , , , , | 5 Comments

Reverse engineering using Slick 3.2 and Scala


Sometime, we have requirements for create classes corresponding to the existing database or Sometimes, in our initial phase of project, we are going to design database and tables first, after that, we are going to create classes for mapping our … Continue reading

Posted in Functional Programming, Reactive, Scala, Slick | Tagged , , , , , , , , , , , , | 2 Comments

Understand closures in javascript


Let’s learn closures today, How closures are define how they got intialize and how they work A closure is a function within a function that has access to the environment that it was created, which gives the ability to access … Continue reading

Posted in AJAX, Functional Programming, JavaScript, jQuery, Scala, Web, web application | Tagged , | 1 Comment

Apache Spark: Reading csv using custom timestamp format


In this blog, we are considering a situation where I wanted to read a CSV through spark, but the CSV contains some timestamp columns in it. Is this going to be a problem while inferring schema at the time of reading the csv using spark? Well, … Continue reading

Posted in apache spark, big data, Functional Programming, Scala | 1 Comment

Scala Trait and Mixin – Points to Remember


Trait can be viewed not only as interfaces in other languages, but also as classes with only parameterless constructor. Whenever there is some code in trait, the trait is called mixin. trait Alarm { def trigger(): String } In scala … Continue reading

Posted in Best Practices, Functional Programming, Scala | Tagged , , , , , , , , , , , , , | Leave a comment

A Simple Example using elm


In this blog, we will see how to build a simple application using elm. Elm is a functional language that compiles into javascript with following features:- 1)  Great Performance 2)  No run-time exception 3)  Javascript Interop 4)  Friendly error message … Continue reading

Posted in AJAX, Functional Programming, HTML, JavaScript, knoldus, Web, web application | Tagged , , , , , | Leave a comment

Functional Programming In Javascript


Knoldus organized a knolx session on the topic : Functional Programming In JavaScript. Covers the Functional Programming Paradigm In JavaScript. You can watch the video of session:   You can check slides as well.   Thanks !!    

Posted in Functional Programming, JavaScript, Scala | Tagged , , , , , , , , | Leave a comment