Reactive Programming

Play i18n Messages: Playing with i18n messages of Play Framework on client-side

Reading Time: < 1 minute Playing JsMessages The following blog and attached code represent an example to compute localized messages of Play Application on client side. Basically, Play JsMessages library takes the i18n messages of our Play application, sends them to the client-side as a JSON object and defines a JavaScript function returning a message value from a given language and the message key and arguments. Used Play JsMessages library Continue Reading

Play with Reactive Slick: A Simple CRUD application in Play! framework using Slick 3.0

Reading Time: 2 minutes Recently Typesafe released Slick 3.0.0-RC1, the first release candidate for “Reactive Slick”. Reactive Slick has many new features like Support for Reactive Streams API, a new API for composing and executing database actions and many more. Before moving forward, we recommended you to go through the Slick 3.0.0-RC1 Upgrade guide. So, that you can get a hint of major changes in Slick 3.0. In this post, we will see Continue Reading

Play-Slick-PostgreSQL: Reactive Play application with Slick extensions for PostgreSQL

Reading Time: < 1 minute playing-slick-pg Building Reactive Play application with Slick extensions for PostgreSQL This is a classic CRUD application, backed by a PostgreSQL database. It demonstrates: Handling asynchronous results, Handling time-outs Achieving, Futures to use more idiomatic error handling. Accessing a JDBC database, using Slick. Achieving, table pagination and sorting functionality. Embedded JS & CSS libraries with WebJars. Play and Scala-based template engine implementation Integrating with a CSS Continue Reading

Meetup: Introduction to Play Framework !!

Reading Time: < 1 minute Reactive Application Programmers in Delhi NCR Hi Folks, Knoldus have organized an one hour session on 4th Feb 2015 at 5:00 PM. Topic is  Introduction to Play Framework. So many people have joined and enjoyed the session. I am going to share that slide here. Please let me know if you have any question related to linked slide. Slide: Introduction to Play framework

Integrating sending mail functionality with LogBack in Scala

Reading Time: < 1 minute Few days ago, I had the requirement that whenever there will be an exception in the application, we should get an email for this. Earlier, I was just logging the error log using LogBack : val logger: Logger = LoggerFactory.getLogger(this.getClass()) logger.error(“…………….”) To do this, there are 2 ways : 1. Use the email sending code at every place wherever i have used logger.error. 2. Use Continue Reading

Scala in Business | Knoldus Newsletter – January 2015

Reading Time: < 1 minute Hello Folks We are back again with January 2015, Newsletter. Here is this Scala in Business | Knoldus Newsletter – January 2015 In this news letter, you will see how functional programming is getting much attention, why should Akka be used in production, how Scala is getting popularity in Italy and many more. So, if you haven’t subscribed to the newsletter yet then make it Continue Reading

Scala in Business | Knoldus Christmas Newsletter – December 2014

Reading Time: < 1 minute Hello Folks We are back again with December 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – December 2014 In this news letter, you will see that how fast organisations are adopting Typesafe Reactive Platform to get best solution, how functional programming is getting into mainstream and how functional programming is becoming popular choice among the developers. So, if you haven’t subscribed Continue Reading

Scala in Business | Knoldus Newsletter – November 2014

Reading Time: < 1 minute Hello Folks We are back again with November 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – November 2014 In this newsletter, you will get to know the popularity of Spark in big data. Spark is getting more attention in all over the world for fast data processing. People are getting much faster data processing speed with Spark. You will get to Continue Reading

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

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