Insights and perspectives to keep you updated.

Scala’s evolving ecosystem – Introduction to Scala.js

Reading Time: < 1 minute In this MeetUp, We introduced Scala.js as Scala’s evolving ecosystem. Scala.js- A scala to JavaScript compiler. If We are developing any web application in Scala, we don’t need to sacrifice javascript interoperability. Scala's evolving ecosystem- Introduction to Scala.js from Knoldus Software LLP

How to deal with multiple projects in one scope in paper.js

Reading Time: 2 minutes Paper.js is an open source vector graphics scripting framework that runs on top of the HTML5 Canvas. It offers a clean Scene Graph / Document Object Model and a lot of powerful functionality to create and work with vector graphics and bezier curves, all neatly wrapped up in a well designed, consistent and clean programming interface. First of all, we will see the architecture of Continue Reading

Dribbling with Filter.js: client-side JS filtering of JSON objects

Reading Time: < 1 minute Dribbling Filter.js Play framework with client-side JS filtering of JSON objects and rendering HTML snippets via jQuery. Big chunk to display? Interactive filtering? Most importantly it has to be really fast. Isn’t it like dribbling against Netherland! Big ground, lots of hooting and most importantly have to be fast and win   UI programming is an exciting ground to play, That’s why i chose reactive platform Continue Reading

How to setup and use zookeeper in scala using Apache Curator

Reading Time: 2 minutes In order to use Zookeeper to manage your project’s configurations across the cluster, first we will setup the zookeeper ensemble on our local machine (setup is for testing on a single machine) by following these steps: 1) Download a stable zookeeper release 2) Unpack it at three places and rename it to: /home/user/Desktop/zookeeper1, /home/user/Desktop/zookeeper2, and /home/user/Desktop/zookeeper3 3) In order to use zookeeper we will need Continue Reading

Scala in Business | Knoldus Newsletter – August 2014

Reading Time: < 1 minute We are back again with August 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – August 2014 In this newsletter, you will find that how industries are adopting Typesafe Reactive Platform for scaling their applications and getting benefits, how scala and akka repositories are most popular in this month and how spark and Typesafe reactive platform together making big data applications. So, Continue Reading

SCALA: Introduction of scala

Reading Time: 2 minutes Scala is object oriented and functional programming language which is created by Martin Odersky and it was first released in 2003. Scala is known due to development productivity, applications scalability and overall reliability. Scala and Java have common runtime platform and most of feature of java are extended in scala. Scala is compiled into Java Byte Code which is executed by the Java Virtual Machine Continue Reading

Meetup: Reactive Programming using scala and akka

Reading Time: < 1 minute In this meetup which was a part of our ongoing knolx session, i talked about reactive programming using scala and akka. Reactive programming is all about developing responsive applications built on the top of event-driven, resilient and scalable architecture. Below are the knolx slides. I have also shown some examples regarding brief introduction to scala and akka. Please find the github repository here.

SBT console to debug application

Reading Time: 2 minutes In this blog post, We will know how to debug application via sbt console. Suppose we want to do some initialization process before debugging the application. For example, database connection, importing packages etc. sbt configuration provide a nice way to make debug process easier. There are some steps to debug Liftweb application via sbt console. First we have to initialize the database connection or initialize Continue Reading

How to flatten nested tuples in scala

Reading Time: 2 minutes In a project which I’ve been working on, I encountered a situation to flatten a nested tuple but couldn’t come up with a way to do so, hence out of curiosity I started googling about it and came to the following conclusion. As for an example I had a structure something similar to the one mentioned below, though not identical: val structureToOperateOn = List(List(“a1″,”a2″,”a3”), List(“b1″,”b2″,”b3”) Continue Reading

Liftweb: Implement cache

Reading Time: < 1 minute In this blog post, I will explain how to integrate cache on server. Liftweb Framework provide nice way to implement cache to store data(objects) on server so all user can access that data. Lift uses the LRU Cache wrapping Create Object for handling cache operations like create,get,update and delete the data from in-memory cache. LRUinMemoryCache.scala import net.liftweb.util.{ LRU, Props } import net.liftweb.common._ /** * Continue Reading