Author: Rachel Jones

And you thought the App trait is just a convenient way of creating an executable Scala program

Reading Time: 3 minutes Ok,  Let’s start discussion about the App trait uses in our code segment. Here I will try to demonstrate some use cases for the better use of App trait in our Scala code. To read more about the App trait you can refer to the documentation here Let’s go with our daily uses of App trait 🙂 Just want to print something on console: object 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

Connection pooling in Scala

Reading Time: 3 minutes In this blog I am going to describe connection pooling in scala. Before going into the details I want to explain why and when connection pooling should be used. Why connection pooling ?? For efficient use of database connection we need to care about following two things. 1. Creating a connection is an expensive operation. It is not senseful to create new connection each and Continue Reading

Validate Within a group of fields, ensure at least one is complete.

Reading Time: 1 minute Within a group of two names, ensure at least one is complete. Validate at least one field must be filled or both using jQuery Validation Plugin and Bootstrap. Required pulgins 1. jQuery Validation Plugin jquery.validate.min.js additional-methods.js 2. Bootstrap bootstrap.min.css bootstrap.min.js For Code and live example click : here

Scala Slick 2.0 for multi-database

Reading Time: 3 minutes Here i am going to explain how to use Slick 2.0 (Lifted Embedding API) in an application which have  multiple-database for multiple environment . In any application generally we have different environments like testing, development, production etc. I want to demonstrate this concept using simple use case. lets say we want to use  H2 for testing ,MySql for development and PostgreSql for production environment. In Continue Reading

Knoldus Pune Careers - Hiring Freshers

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