Category Archives: Web

Introduction to GraphQL – A Query Language for APIs


GraphQL is an API standard that provides a more efficient, powerful and flexible alternative to REST. It was created by Facebook in 2012 and was open-sourced in 2015 and is now maintained by a large community of companies and individuals from … Continue reading

Posted in Scala, Tutorial, Web, web application, Web Services, Web Standard | Tagged , , , , | 3 Comments

Authentication using Actions in Play Framework


Actions plays an important role in Play Framework, the requests received by a Play application are handled by an Action. Action composition is an incredibly powerful way to enhance or restrict controller behaviour. In Play Framework controllers consist of methods that create Action objects … Continue reading

Posted in knoldus, Play Framework, sbt, Scala, Security, Web, web application | Leave a comment

Finatra-swagger: Making the api documentation awesome and easy


Apart from speed, high-performance, fault-tolerance and concurrency, one more most important feature for an api is a clean, precise, interactive and user friendly documentation. Documentation plays a very important role in a rest api. The interactive documentation makes api more easy and understandable. … Continue reading

Posted in Scala, Swagger, Web, web application, Web Services | Leave a comment

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

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

Templating in NodeJs with simple signup example with MongoDB


In this blog we will see the comparison of different NodeJs templating engines as well as we will go through the basics of NodeJs then we will create a signup application in NodeJs with MongoDB as backend. If you are … Continue reading

Posted in HAML, HTML, Jade, JavaScript, MongoDB, Node.js, Web, web application, Web Designing | Tagged , , , , , , , , , , | 1 Comment

Upgrading to Selenium 3 with Gecko Driver


In this blog I will be discussing about the latest version of selenium i.e Selenium 3 . To use selenium 3 , we need Gecko driver to run the test cases in Mozilla browser. So,the first question that arises in … Continue reading

Posted in Java, JavaScript, sbt, Test, testing, tests, Web, web application | Tagged , , , , | Leave a comment

Building Analytics Engine Using Akka, Kafka & ElasticSearch


In this blog , I will share my experience on building scalable, distributed and fault-tolerant  Analytics engine using Scala, Akka, Play, Kafka and ElasticSearch. I would like to take you through the journey of  building an analytics engine which was primarily … Continue reading

Posted in Akka, akka-http, Amazon, Amazon EC2, Apache Kafka, Architecture, AWS, AWS Services, Batch, Best Practices, big data, Cassandra, database, Elasticsearch, Java, Non-Blocking, NoSql, Reactive, S3, Scala, Streaming, Web | 10 Comments

Frontend to Backend: Everything is on Scala using Play, Scala.js and ScalaCSS


In my previous post, I tried to create a pure front-end application using Scala.js and ScalaCSS. So that we can build our front-end also in a typesafe way. But there was no server interaction. This time I have tried to … Continue reading

Posted in AJAX, JavaScript, Play 2.4.X, Scala, Web, web application | Tagged , , , , , | 3 Comments

A Pure Scala Front-End application using Scala.js and ScalaCSS


In my previous posts, I created an application ‘Weather Report‘, based on Scala.js and explained how to write test-case in Scala.js using same application.  Earlier I was creating html page using Scala.Js Jquery library.  But code was not very clean … Continue reading

Posted in AJAX, JavaScript, jQuery, Scala, Web, web application | Tagged , , , , | 3 Comments