Category Archives: Play 2.4.X

JWT Authentication with Play Framework


In this blog, I will demonstrate how to implement JWT Authentication with Play Framework. JSON Web Token (JWT) is a compact, self-contained which means securely transfer the information between two parties. It can be sent via Post request or inside the … Continue reading

Posted in JWT, Play 2.4.X, Play Framework, Scala | Tagged , , , | 5 Comments

Introduction to Swagger


Hello all, Knoldus organised a knolx session on the topic “Introduction to Swagger” on Friday, 28 October 2016. Swagger is a simple yet powerful representation of your RESTful API. With the largest ecosystem of API tooling on the planet, thousands … Continue reading

Posted in Play 2.4.X, Play Framework, Scala, Swagger | 1 Comment

Gatling Integration with Play


I have started working on a project which require stress testing using Gatling. I Setup the sbt project on which gatling is working fine. But when I try to integrate it using play framework, it doesn’t work. The project structure … Continue reading

Posted in gatling, Integration testing in play framework, LoadTesting, Performance Testing, Play 2.4.X, Play Framework, Scala, testing | Tagged , , , , , , , , , , , , | 2 Comments

Introduction to Knockout js with Play template


Knockout is a JavaScript library that is based on Model–view–viewmodel (MVVM) that helps to build responsive UI display. This makes a clear separation between the model(Domain model/ stored data), view(User Interface) and view-model(presentation of the model in which binder communicates … Continue reading

Posted in JavaScript, Play 2.4.X, Play Framework, Scala | Tagged , , | 1 Comment

Play2 Pdf Plugin: JS enabled and disabled browser


In this post I’m going to talk about generating PDF documents in Play web application with the help of “play2-pdf plugin”. Firstly, I want to focus on the criteria that we consider or investigate while generating PDF in our projects: … Continue reading

Posted in CSS, JavaScript, Play 2.4.X, Play Framework, Play2-PDF, Scala | Tagged , , , , , , | Leave a comment

Frontend to Backend: Everything is on Scala using Play, Scala.js and ScalaCSS


In my previous post, I tried to create a pure front-end application using Scala.js and ScalaCSS. So that we can build our front-end also in a typesafe way. But there was no server interaction. This time I have tried to … Continue reading

Posted in AJAX, JavaScript, Play 2.4.X, Scala, Web, web application | Tagged , , , , , | 3 Comments

Messages and internationalization in Play 2.4.x


In this blog we would discuss about Messages and internationalization in Play Framework which would drive us through the implementation and testing of the Play MessagesAPI. Messages and internationalization Play supports Internationalization (i18n) out of the box by leveraging the … Continue reading

Posted in i18n, Internationalization, knoldus, Messages, MessagesAPI, Play 2.4.X, Play Framework, Scala | Tagged , , , , , , | 1 Comment

Getting started with ReactJS, Play 2.4.x, Scala, Anorm and WebJars


playing-reactjs This blog describes a basic example to render UI using React(A JavaScript library for building user interfaces) with Play 2.4.x, Scala, Anorm and WebJars. It also demonstrates the use of evolution in Play 2.4.x This is a classic CRUD … Continue reading

Posted in AJAX, Akka, Anorm, Bootstrap, Bootswatch, CSS, Future, JavaScript, jQuery, Play 2.4.X, Play Framework, React, Reactive, ReactJS, Scala, Tutorial, WebJars | Tagged , , , , , , , , , , , , , , , , , , , , | 3 Comments

Play 2.4.X : Microservice Architecture using Play and Scala


Playing-Microservices This blog describes a basic Microservice architecture design using Play 2.4.X and Scala. The big idea behind microservices is to architect large, complex and long-lived applications as a set of cohesive services that evolve over time. The term microservices … Continue reading

Posted in Architecture, Microservices, Multi-Project Builds, Play 2.4.X, Play Framework, Scala, Web, Web Services | Tagged , , , , , , , , , , , , , | 5 Comments