Insights and perspectives to keep you updated.

Working with Play framework using Scala and MongoDB

Reading Time: 2 minutes Scala : Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. More… Play Framework : Play 2.0 is a high-productivity Scala web application framework that integrates the components and APIs you need for modern web application development. Play is based on a lightweight, stateless, web-friendly architecture. More… MongoDB : MongoDB is a scalable, high-performance, Continue Reading

Advertisements

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

Reading Time: 7 minutes 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

Reading Time: < 1 minute 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

Reading Time: 2 minutes 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

Reading Time: < 1 minute 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

Reading Time: < 1 minute 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

Reading Time: 2 minutes 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

Introducing Pattern Matching in Scala

Reading Time: < 1 minute Welcome to another week of KnolX sessions  . In this session , we see the power of the Scala’s pattern matching in different use cases. Scala provides a powerful pattern matching feature. Pattern matching enables us to match on much more than just ordinal values.   Introducing Pattern Matching in Scala View more presentations from ayushmishra2005

Introducing inheritance and traits in scala

Reading Time: < 1 minute We believe in experiential learning. This knolx session has code examples which Knolders tried while I was explaining it. The objective was to  the to introduce Inheritance and Traits. in this presentation i told about  mixin composition of traits into classes ,ordered traits,traits as stackable modification, and option pattern Here is the presentation I gave.

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

Reading Time: 3 minutes 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

Reading Time: < 1 minute 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

Reading Time: 2 minutes 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

Knoldus Pune Careers - Hiring Freshers

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