Tech Blogs

Building Reactive applications with Akka

Reading Time: < 1 minute Knoldus organized a Meetp up on Wednesday, 29 Oct 2014 at 5:00PM. Mr. Nilanjan Raychaudhuri from Typesafe presented this session on “Building Reactive applications with Akka”. He did the session remotely from Germany and it was very well accepted by the audience at the meetup. Nilanjan is a consultant/trainer and member of Play framework team. He works for Typesafe. He has more than 14 years Continue Reading

Easiest Way To Map Optional Nested Case Class with Slick in Scala

Reading Time: 2 minutes Few days ago, I had a scenario, in which I was supposed to map optional nested case class in slick using Scala. case class Employee(emdId:String,name: String, record: Option[Record]) case class Record(subject: String, mark: Int) I was trying to do this mapping the way, I have explained below. class EmployeeSlickMapping(tag: Tag) extends Table[Employee](tag, “Employee”) { def emdId = column[String](“emdId”) def name = column[String](“name”) def subject = Continue Reading

Scala in Business | Knoldus Newsletter – October 2014

Reading Time: < 1 minute Hello Folks This time I got bit late due to the festival week in India. But i have some intresting stuffs for you only. We are back again with October 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – October 2014 In this newsletter you will get to know how organizations are getting benefits by using Typesafe Reactive Platform, how Akka is Continue Reading

Solution for Riak 500 Internal Server Error

Reading Time: < 1 minute I am new to Riak and learning it. Few days ago, I got 500 Internal Server Error exception while inserting data in a Riak bucket. It was weird because I was able to insert same data in different bucket. I tried to find out root cause, but didn’t get success. After beating my head whole day, I posted it on Roak forum and stackoverflow. I Continue Reading

Tutorial: AJAX calling in Play Framework 2.3.4

Reading Time: 5 minutes In this tutorial we will discuss about the following topics of AJAX calling in Play Framework 2.3.4: Generating a Javascript router Embedded router Router resource Use of Javascript router jQuery Ajax Success/Error handler for each router Single Success/Error handler for all routers

Tutorial: Post Update on LinkedIn via Scribe using Scala

Reading Time: 3 minutes To post an Update on LinkedIn via your application, that is being built with Play 2.3.x, follow these steps ( this post summarizes the work done step by step). 1) Create a LinkedIn app (if you do not have one already) Click here – LinkedIn’s Developer Quick Start Guide and create an app. Enter all the details including Site URL. The Site URL could be something like Continue Reading

Tutorial #1: Getting started with Play Framework 2.3.4

Reading Time: 3 minutes In this blog we would set up the development environment with Play and Eclipse which would drive us through rest of the tutorial series.  We would be running this blog as a series and we would be looking at various aspects of play with this blog. In this tutorial we will discuss about the following topics of Play Framework: Installing Play New application Layout of Continue Reading

Scala in Business | Knoldus Newsletter – September 2014

Reading Time: < 1 minute Hello Folks We are back again with September 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – September 2014 In this newsletter you will get to know how organizations are getting benefits by using Typesafe Reactive Platform, how Scala can be beneficial for you and what trends are going in industries. So, if you haven’t subscribed to the newsletter yet then make Continue Reading

Weather Information System using Scala.Js and HTML

Reading Time: < 1 minute Scala.Js- a Scala to JavaScript Compiler. If you are developing your web application in Scala, you don’t need to sacrifice JavaScript interoperability. You can write your web application entirely in Scala. We have created a simple application “Weather Information System- Get the mood of your city on one click” using Scala.js and HTML. To use this application, pull the code from https://github.com/knoldus/ScalaJs_Weather_Report.

Adding Scalastyle in a Multi-Module SBT Scala Project

Reading Time: 2 minutes Nowadays, building a Multi-Module SBT project is becoming very common. It helps us to keep multiple related projects in a single build. Moreover, each sub-project in the build has its own SBT default directory. Also, it generates its own build and works like any other project. But, adding Scalastyle in a Multi-Module SBT Scala project is not easy because Scalastyle does not support Multi-Module SBT Continue Reading

Easiest Way to Implement Google Map in Scala.js

Reading Time: < 1 minute In this blog, I would explain how to implement Google Map in scala .js. If you are developing your web application in Scala and you want to write javascript functionality in Scala then you should go with scala.js. To implement Google Map in scala.js, please follow below steps:- 1) Add below code in your HTML file <script src=”https://maps.googleapis.com/maps/api/js”></script&gt; <div id=”map_canvas” style=”height: 430px; width: 512px;”> 2) Continue Reading