Insights and perspectives to keep you updated.

QuickTip: Integrating Amazon S3 in your Scala Product

Reading Time: 1 minute This post is supposed to be a quick cheat sheet of integrating your Scala product with Amazon S3. The pre-requisites are that you have a valid S3 account and have the keys to access the account. We have put our S3 credentials in our application.conf. We use the Typesafe Config for managing our configurations. So our example entries would be # Amazon S3 Details aws.s3.bucket=email-attachments Continue Reading

Integrate Jquery DataTable with Scala Play Framework

Reading Time: 3 minutes In this blog post, I’ll explain the integration of DataTable jQuery plugin with Scala Playframework. DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool and provide many feaures. ->Variable length pagination ->On-the-fly filtering ->Multi-column sorting with data type detection ->Smart handling of column widths ->Display data from almost any data source -DOM -Javascript array -Ajax source -Server side processing

Maintaing Database in Clojure for New registered User

Reading Time: 1 minute Clojure is the most popular Lisp dialect today for starting new development. The Clojure web stack is based on the Ring and Compojure libraries. Ring is the base HTTP library, while Compojure provides routing on top of it. Clojure makes a number of powerful libraries available, and we can put these libraries together in a way that makes sense for our particular project. The below Continue Reading

Singleton Object in Java and Scala

Reading Time: 2 minutes This Tutorial is helpful to  create singleton object.This tutorial shows the difference between the JAVA singleton and SCALA singleton object .First we start with Java Singleton object:- The purpose of singleton object is to control object creation, limiting the number of obejcts to one only.This is useful when exactly one object is needed to coordinate actions across the system. A simple java programme to create Continue Reading

Parallelism in Clojure, Part I

Reading Time: 4 minutes An axiom of microprocessor development stating that the number of transistors on integrated circuits doubles approximately every two years is analogous to the fact the processing power doubles during the same period, relative to the cost or size. This has lead to the need of parallelism in programming languages and Clojure is one such language which provides a variety of functions for your multi-threaded code. Continue Reading

Introduction to Weka Tool

Reading Time: 3 minutes Weka Tool:- Weka provides implementations of learning algorithms that one can easily apply to the dataset. Its an effort to explain how weka tool can be used to implement data mining algorithm to sample data set in “Explorer”. 1. The data set can be organized into an excel sheet and saved as .CSV format. The data set should be in either .CSV(comma separated values ) Continue Reading

Sign in with LinkedIn " functionality

Providing a Sign in with LinkedIn functionality using Scala

Reading Time: 3 minutes To integrate a Sign in with LinkedIn functionality in your social project that is being built with Play 2.2.1, follow these steps ( this post summarizes the work done step by step). 1) Create a LinkedIn app (if you do not have one already) Follow the link https://developer.linkedin.com/documents/quick-start-guide‎ and create an app. Enter all the details including Site URL . The Site URL could be something Continue Reading

Client-side validation in Lift using jQuery validation plugin

Reading Time: 2 minutes Lift is the most powerful, most secure web framework available today. Lift strongly supports the server side validation in various ways. Lets talk about the Client side validation in the Lift application on Ajax forms. jQuery validation plug-in widely used for client side form validation and this makes it easy. The plug-in comes bundled with a useful set of validation methods.

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

A Simple Login Application in Node.js and MongoDB

Reading Time: 1 minute Node.js, a software platform, built on google chrome runtime. It uses v8, the same run time environment, that google chrome uses. It is one of the best plateform to easily build scalable network applications(especially server-side). We have created Node.js Login Template with a nice User Interface. If you want to use Node.js as plateform and MongoDB as Database then this demo project can be used Continue Reading

How to handle multipart and non multipart request together in Spray

Reading Time: 2 minutes In this blog, I will explain that how can we handle multipart and non multipart request together. It is not necessary that we will get only one type of request either multipart or non multipart all the time. We can get either both of two. So we have to handle both type of request. If we will handle only one type of request then if Continue Reading

Working with Multiple ssh Keys and Multiple Git Repositories

Reading Time: 2 minutes With multiple, git hosting repositories available and lots of coding being done, you end in situations like the subject of this email. Say, for example you have 2 accounts on BitBucket, you would not be allowed to use the same ssh key across both the accounts. The idea is to have Multiple SSH keys, and Mapping those keys to individual accounts Let us see how Continue Reading

Knoldus Pune Careers - Hiring Freshers

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