Author Archives: mayankbairagi

About mayankbairagi

Software Developer

Knolx : Into the Domain


Hi all, Knoldus has organized an one hour session on 16th Dec 2015 at 5:00 PM. Topic was Into the Domain. Many people have joined and enjoyed the session. I am going to share the slides here. Please let me know if you … Continue reading

Posted in Scala | Leave a comment

Spray authenticate directive : A decoupled way to authenticate your API


Organization exposes critical business data or user’s private data through API. It is required to protect API against any unauthorized access, attack or security breach. In this blog I am not going to discuss API security mechanism. Here I want … Continue reading

Posted in Scala | 2 Comments

ScalaKnol : Loan Pattern Revisited


Here I am going to modify the loan pattern described in this article “Scala Knol : Understanding Load Pattern” . Let us take an example from earlier blog, we have all used connections to get to the database and then … Continue reading

Posted in Scala | Leave a comment

Knolx Session : Effective Git


Here I am going to explain distributed version control system and how it is better then centralize version control system. I will demonstrate some basic terminology of GIT as well. Knolx master-slides from Mayank Bairagi

Posted in Scala | Leave a comment

Dependency Injection In Scala using Self Type Annotations


Dependency injection is a software design pattern that allows removing hard-coded dependencies and making it possible to change them, whether at run-time or compile-time. Dependency Injection has three kind of software components 1. Dependent or Consumer : Describe what software … Continue reading

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

Scala lift : Access Session Information In Actors.


Problem: In Scala Lift Application. There are two ways to maintain and access the session information. Either we can use SessionVars or net.liftweb.http.S object. Each of them work significantly well until there are used in the scope of session. Now … Continue reading

Posted in Web | 2 Comments

Type Class Polymorphism in Scala


In this Knowledge Session I will going to discuss about different ways to achieve polymorphism in scala. Here will focus on decoupled and ad hoc polymorphism. Type class polymorphism from Mayank Bairagi

Posted in Web | 2 Comments

Empower Scala with Apache Solr


Solr is ready to use enterprise search server. Here I am going to show you how we can use both of them together to empower your scala application with solr. Solr is able to achieve fast search responses because, instead … Continue reading

Posted in Java, Scala, Web | 1 Comment