Author Archives: Neelkanth Sachdeva

About Neelkanth Sachdeva

Software Consultant @ Knoldus Software LLP Co-Founder @ My Cell Was Stolen

Integrating Scala Code Coverage Tool (SCCT) in Play Scala project


In my last blog i’ve elaborated the steps to integrate the JaCoCo with your Play Scala project. This time we’ll learn about how to integrate the Scala Code Coverage Tool ( SCCT ) in your Play Scala project. Just some … Continue reading

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

Integrating JaCoCo in your Play Scala project


Its always good to have a fine test coverage in any project. I am working on Play framework & this time i’ve tried to integrate the JaCoCo with my play scala project & it’s cool to have it in my … Continue reading

Posted in Scala, Web | Tagged , , , | Leave a comment

Pattern Matching – at a glance


I presented types of Pattern Matching at Knolx session at Knoldus. The presentation talks about the type of pattern matching in Scala with small examples.

Posted in Scala | Tagged , , | Leave a comment

Getting Longitude & Latitude for a address using Play Framework 2.1 WS API


This blog post serves the two purposes : First , We’ll learn about getting the latitude & longitude for an address using Google Geocoding API. Second , We’ll do the same as mentioned above using Play 2.1 WS API & … Continue reading

Posted in Scala | Tagged , , , | Leave a comment

Efficiently using Session & Flash in Play framework


Play framework is being the love of every Scala developer now a days. In this post we’ll learn about using Session & Flash scopes in Play framework. Play has a stateless architecture so in order to keep the data across … Continue reading

Posted in Architecture, Cloud, Scala, Web | Tagged , , , | Leave a comment

Play Framework : Uploading a file to server


In order to upload a file to server we used to use the form with multipart/form-data encoding. File upload is very easy with Play. Use a multipart/form-data encoded request to post files to the server, and then use the java.io.File … Continue reading

Posted in News, Scala, Web | Tagged , , | 1 Comment

Functional Programming With Scala


Functional programming is a programming style emphasizing functions that return consistent and predictable results regardless of a program’s state. In FP we construct our programs using only pure functions. In other words functions that have no side effects. Scala smoothly integrates object-oriented and … Continue reading

Posted in Web | Leave a comment

Quick Tip : Streams in Scala


There are cases where one has to use the first n numbers of an infinite sequence of numbers (like the Fibonacci numbers for example) but, unfortunately, there is no way to determine how many members of the sequence will be … Continue reading

Posted in Scala, Web | Leave a comment

Communicating with Twitter via Twitter4J using Scala


Twitter4J is a Java library for the Twitter API. With Twitter4J, you can easily integrate your Scala application with the Twitter service. Twitter4J is featuring: – Easy to use with Scala (as it works on any Java Platform version 5 … Continue reading

Posted in Java, Scala, Web | Tagged , , | Leave a comment

Getting a preview image of a PDF file in Scala


In order to have an preview image of an PDF file you can use PDFBox. Here is the simple tutorial to extracting an preview image of an PDF file. Firstly you need to get the pdfbox-jar file & you can … Continue reading

Posted in Java, Scala, Web | Tagged , , | Leave a comment