Insights and perspectives to keep you updated.

Providing a “Sign-in with Facebook” functionality using Scala

Recently we have integrated “Sign in with Facebook ” functionality in one of our social project that we are building with Lift 2.4 . This post summarizes the work done step by step. 1) Create a Facebook App (if you do not have one already) Follow the link https://developers.facebook.com/apps and create an app. Enter all the details including Site URL . The Site URL could Continue Reading

URL shortening with bit.ly in Scala

Short URL’s are becoming the need of most of the application. We’ve used the bit.ly for the URL shortening in our application. Just a little bit work to do for achieving the URL shortening with bit.ly. Here are the steps to do that : You should have the following credentials in order to call the bit.ly API. i. apiKey : You’d get it on registering Continue Reading

Executing Lift Examples with SBT 0.11.3 and Eclipse

Recently we got our hands back on a Lift project after some time. A few of our clients had already moved from Lift to Play due to various reasons and one of them seemed to be dismal (read valid) documentation. There seem to be decent information like simply.liftweb.net and exploring.liftweb.net along with the book Lift in Action. But most of these resources seem to be Continue Reading

Building Massively Scalable Applications with Akka 2.0

Recently Knoldus, presented at the IndicThreads conference, New Delhi on the power of Akka 2.0. The case study involved a demonstration on how a major white goods company is able to analyse their social feeds in real time and respond back to customers needs. The solution currently runs on a cluster of 40 nodes with 16 cores on each node. The presentation emphasized on the Continue Reading

Harnessing the Power of Nutch with Scala

Knoldus was recently speaking at the IndicThreads conference in New Delhi, India. Here, we talked about Nutch and how easy it was for us to integrate it with Scala and build a scalable web crawler with less than 900 lines of code. The case study and the demonstration made the attendees aware of the power of Scala as a language of choice.

Storing files on Amazon S3 using Scala

Amazon S3 serves the purpose of “storage for the Internet” . S3 stand for ” Simple Storage Service”. Amazon S3 can be used for storing and retrieving any amount of data at any time, from anywhere on the web. You can use simple interface “AWS Management Console” provided by Amazon for creating buckets for storage , adding files in those buckets and for many other Continue Reading

Some strong “building-blocks” of scala (Tutorial 1 : Lists)

Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. Scala supports functional programming & is a pure object-oriented language in the sense that every value is an object. Let us discuss about some of the strongest building blocks of Scala. Scala Lists: Lists are an important data structure in many Scala programs. A list Continue Reading

Knolx Session: Introducing Scala

We organize KnolX sessions regularly at Knoldus so that our learning spreads in our organisation. This KnolX session had Scala flavor written all over it. We believe in experiential learning. This session has code examples which Knolders tried while I was explaining it. I combined sbt, Scala, Scala collections and ScalaTest together in this presentation. The objective was that by the end of Knolx session Continue Reading

Liftweb JSON serialization and deserialization using Scala

We are working on a Scala project using Play framework. We had written the Serializers and Deserialzers for parsing the JSON data that contains different data types like ObjectId , Scala Enumeration etc. We are using net.liftweb.json for writing and parsing the JSON data. We were having the JSON looks like as : [{“id”:1,”school”:”Cambridge”,”year”:{“name”:”FirstYear”},”major”:”Science”,”degree”:{“name”:”Bachelor’s”},”Date”:”01/05/2011″}] The year field here is an scala enumeration and the Date Continue Reading

Using GridFS within Scala to store large files in MongoDB

GridFS is a specification for storing large files in MongoDB. Some of the features of GridFS are : * GridFS tends to handle large numbers of files better than many file systems. * Query Support is good. * If you have certain files that change a lot then it makes sense to store them in GridFS so you can modify them in one place and Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!