Studio-Scala

selective focus photography of woman using macbook pro

Angular froala wysiwyg editor

Reading Time: 2 minutes Hi Readers,In this blog, let’s learn how to integrate froala editor angular. Angular froala wysiwyg editor is a lightweight WYSIWYG HTML Editor written in Javascript that enables rich text editing capabilities for your applications. In your application if you need to add editor in any form then froala editor is the best option for that. To know more about the Form in angular then please refer this To Continue Reading

macbook air on brown wooden table

Rxjs ReplaySubject & AsyncSubject in Angular

Reading Time: 3 minutes Hi Readers,In this blog, let’s learn about Rxjs ReplaySubject and AsyncSubject in angular. The Rxjs ReplaySubject and AsyncSubject are unique observables that act as both observers and observables. They allow us to emit new values to the observable stream using the next method. All the subscribers, who subscribe to the subject will receive the same instance of the subject and hence the same values. If you are Continue Reading

How to integrate OTP input in Angular

Reading Time: 3 minutes Hi folks, Welcome again! I hope you are doing well. I am thrilled to see you here. So today, we talk about the OTP input and look at how we can integrate OTP input in an angular project.  Also, In this blog, you will get a logical understanding of OTP input, what it can and can’t do, and also, you will get a piece of Continue Reading

photo of a man programming

Scala’s Fold, FoldLeft, and FoldRight Functions: A Comprehensive Guide

Reading Time: 3 minutes Functional programming is becoming increasingly popular and widely used in today’s programming world. And Scala is a language that fully supports functional programming. One of the most valuable functions in Scala is the fold function, which is available in three forms: fold, foldLeft, and foldRight. This blog post will explore these three functions and understand how they work. Fold The fold function takes an initial Continue Reading

person controlling flight simulator

Introduction to Finagle

Reading Time: 2 minutes Finagle is an open-source, asynchronous, protocol-agnostic RPC framework that was developed at Twitter. It provides a simple, yet powerful toolkit for building scalable, high-performance network services. Finagle has been used extensively at Twitter, powering services such as Twitter Search, Finatra, and Twitter Ads. In this blog, we will introduce you to Finagle and explain some of its key features. What is Finagle? Finagle is a Continue Reading

man in white shirt using macbook pro

Concept of UDF in Spark: User-Defined Function

Reading Time: 3 minutes As we all know, Spark contains a whole variety of inbuilt functions through which you can do any sort of transformation in your data frame and achieve your desired output, but sometimes you may find that you don’t require them. Then What? In that case, you can define your own function, known as UDFs (User Defined Functions) which makes it possible to write your own Continue Reading

student with documents and laptop happy about getting into university

Reactive Vs Functional Programming: Which is right for you?

Reading Time: 4 minutes Introduction Reactive programming is a paradigm that allows you to develop applications and services using asynchronous streams of data and other events. It uses event-driven declarative code patterns to handle the complexities of asynchronous code, rather than imperative constructs like callbacks. In this article, we explain what reactive programming is and how it compares to other paradigms like functional programming. We’ll also give you some Continue Reading

software engineer looking at an ipad

Introduction to HttpClient

Reading Time: 2 minutes Introduction HttpClient is used to send the request and receive a response. The HttpClient library was introduced in Java 11, before that developers had to use some third-party libraries such as Apache Http Client, OkHttp, or the legacy class HttpUrlConnection. It replaces the HttpUrlConnection class in the JDK since the early version of java. Consider a browser as a client and an application executing on Continue Reading

photo of a man programming

Connect Scala

Reading Time: 8 minutes In this blog, we will implement an application using Connect Lib and gRPC. First, we will understand what Connect Library is and its basic example followed by the types of protocols in connect Scala. Finally, we will see the steps needed to implement the application using Connect in Scala and in that section we will see what is gRPC, what is gRPC gateway, and how Continue Reading

woman sitting in front laptop

How to develop Event Driven Application using ZIO Actors

Reading Time: 5 minutes What is ZIO : ZIO is a cutting-edge framework for creating cloud-native JVM applications. ZIO enables developers to construct best-practice applications that are extremely scalable, tested, robust, resilient, resource-safe, efficient, and observable thanks to its user-friendly yet strong functional core. Difference between Akka and ZIO : Akka and ZIO are both the libraries in Scala for building concurrent, scalable, and fault-tolerant applications. Akka is a Continue Reading

photo of a man programming

Metaprogramming in Scala: A self-transforming code

Reading Time: 4 minutes Meta programming is a popular technique from 1970’s and 1980’s which used languages like LISP to enable applications to process code for artificial intelligence based applications. When a programming language is it’s own meta-language then it is called as reflection. Reflection is one of the important feature for any programming language to facilitate meta programming. Meta programming moves computations from run-time to compile-time thereby enabling Continue Reading

close up shot of keyboard buttons

http4s – Dig Deeper

Reading Time: 3 minutes Our previous blog on http4s gives us an introduction to the library to create HTTP routes, servers and clients. Using the library’s support for various libraries like Ember, Blaze, we can create any type of server and/or client. The library also provides for other libraries for easy encoding/decoding of request and response body using circe, scala-xml, and fs2-data. Ultimately, the heart of the library lies Continue Reading

How to migrate Scala 2.13 project to Scala 3?

Reading Time: 9 minutes Are you a Scala developer looking to migrate your existing Scala 2.13 projects to the latest version of the language? If so, you’ll be happy to know that Scala 3 is now available and comes with a range of new features and improvements. With its streamlined syntax, improved performance, and better compatibility with Java 8 and above, Scala 3 offers a host of benefits for Continue Reading