Insights and perspectives to keep you updated.

Knolx session:Understanding nosql

Reading Time: < 1 minute BIG data! Word is not relatively new now but still evolving. Changing requirement,scaling  applications beyond current limitation is what have been driving force behind big data development.  Here i am sharing a presentation to cover transitioning from traditional RDBMS to nosql world, nosql ecosystem and current era of hybrid design. Happy programming! Keep innovating.

Dependency Injection @ scala

Reading Time: 5 minutes Scala is all about scalable,functional, immutability and most importantly less piece of code! While building a framework using shared-nothing architecture, i came across the requirement of linking/referencing various modules(rather services) together.  Dependency injection was an obvious choice. Let’s take ahead this discussion with further exploration of Dependency Injection(DI) and various possible ways to accomplish it Dependency Injection It is basically providing the objects that an Continue Reading

Scaldi: Dependency injection library in scala

Reading Time: 2 minutes Scaldi is the lightweight dependency injection library written in scala and it provides scala DSL for binding dependencies and injecting them. Its depends on three concepts. Injector – container for bindings. Module –  where we define bindings and it extends Injector. Injectable – trait which provide DSL for injection. In this blog we will see how can we use it with Akka. 1. First add scaldi Continue Reading

Play with Spark: Building Apache Spark with Play Framework – (Part – 2)

Reading Time: 2 minutes Last week, we saw how to build a Simple Spark Application in Play using Scala. Now in this blog we will see how to add Spark’s Twitter Streaming feature in a Play Scala application. Spark Streaming is a powerful tool of Spark. It runs on top of Spark. It gives the ability to process and analyze real-time streaming data (in batches) along with fault-tolerant characteristics Continue Reading

Integrating Google Drive in Play Scala application with Google+ API

Reading Time: < 1 minute In our earlier blog, i.e., Integrating Google Drive infrastructure in Play Scala application we talked about integrating the Google Drive infrastructure in Play Scala application as like Assembla and some others. In that blog we used OAuth2 in order to communicate with the Google using Access Token and Refresh Token. For getting the Access Token & Refresh Token we used following Scopes of Google API: “; “; But Continue Reading

Scala in Business | Knoldus Newsletter – June 2014

Reading Time: < 1 minute We are back again with June 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – June 2014 In this newsletter, you will find that how industries are adopting Typesafe Reactive Platform for scaling their applications and getting benefits. So, if you haven’t subscribed to the newsletter yet then make it hurry and click on Subscribe Monthly Scala News Letter

FunHop: Understanding Referential Transparency

Reading Time: 3 minutes In this episode of FunHop, we would try to look at what is Referential Transparency, what is substitution model and how being immutable really helps. Referential transparency means that we can exchange the expression by its value or a value by the expression and nothing changes. Pure functions are referentially transparent. Any function f(a)=b is a pure function if for the same “a” we end Continue Reading

A simple CRUD application in Play! Framework using Kundera and Cassandra as a Database.

Reading Time: < 1 minute playing-kundera-cassandra: This is a classic CRUD application, backed by Play 2.3.0, Kundera & Cassandra. It demonstrates: Accessing a Cassandra database, using Kundera. Achieving, Futures to use more idiomatic error handling. Accessing JS & CSS libraries by WebJars. Bootswatch-United with Twitter Bootstrap 3.1.1 to improve the look and feel of the application Instructions :- The Github code for the project is at : playing-kundera-cassandra Clone the project Continue Reading

Getting started with Lift Web Framework by creating your First Project

Reading Time: 3 minutes In this blog, I will explain that how can we create a lift web project. There are 2 ways to do this. Here, I will explain both ways step by step . 1. Download and Run Lift : To install and run Lift, the only prerequisite is to have Java 1.5 or later installed. Instructions for installing Java can be found here. Once you have Continue Reading