Home » Author Archives: Sebastian Scarano

Author Archives: Sebastian Scarano

Play Framework posted values revisited

play-framework-logo

Working with posted values with Play Framework 2.0, without defining a form mapping, might not be so obvious as it was with Play 1.x, that’s why I’m writing this quick cheatsheet. For this quick sample, let’s define the following view: app/views/index.scala.html @(message: String) message: @message <br /> <h2>Scala form</h2> <form action="@routes.ScalaPoster.save()" method="POST"> scala name: <input name="scala_name"> <br /> scala surname: ...

Read More »

Troubleshooting Play Framework 2 apps on Openshift

play-framework-logo

Troubleshooting Openshift   With the do-it-yourself application type you really get a lot of freedom to support almost any framework or server that can be built and run on a linux box. But you do have to make your homework, and do some research.  So in this article I’ll show you a couple of tips I learnt playing around with ...

Read More »

Deploy Play Framework 2 apps to Openshift with Java AND Scala

play-framework-logo

A couple of weeks, Mark Atwood, Jorge Aliss, and me, Sebastián Scarano participated in Red Hat’s webinar LET’S PLAY! IN THE CLOUD: DEVELOPING JAVA WEB APPS ON OPENSHIFT In the webinar Mark gave a neat introduction to Openshift, Red Hat’s free Platform as a Service: Then we developed a basic contact manager web application, combining Java and Scala source code ...

Read More »

Play framework 2 quicktip: Scala console

play-framework-logo

When I first started to play with Scala, I was amazed by the Scala interactive interpreter (also known as REPL, read-evaluate-print-loop). It was one of those things that you never expected to find in a statically typed, compiled language like java or scala. What would you say if we could have it for our play applications?… In scala OR JAVA! ...

Read More »

Play framework on the cloud made easy: Openshift module

play-framework-logo

Just a couple of years ago finding an afordable hosting solution for a java web application was a hard task, and looking for a free one was an impossible mission. Not to mention that even thinking about things like auto-scaling, one-command deploy, continuos integration, and that sort of stuff was plain science fiction. This last year has witnessed a cloud ...

Read More »

Play! Framework + Google Guice

play-framework-logo

In the project I’m currently working, we started to use Google Guice. For those who don’t know, Google Guice is a dependency injection framework. The basic idea behind dependency injection is to provide a class it’s dependencies, instead of making the dependent class responsible of instantiating the objects on which it depends. Play has a module for integrating Guice: http://www.playframework.org/modules/guice-1.2/home ...

Read More »

First steps with Scala, say goodbye to bash scripts…

scala-logo

Those who know me are aware that I’ve been following play framework, and actively taking part of it’s community, for a couple of years. Playframework 2.0 is right around the corner, and it’s core is programmed in Scala, so it’s a wonderful opportunity to give this object-oriented / functional hybrid beast a try… Like many others, I will pick a ...

Read More »

Play framework modules: Divide and conquer

play-framework-logo

It’s usually the case that you start developing an application and go on fulfilling requirements. When your application grows bigger you start to realize the convenience of separating it into different components. Moreover, when you develop your second or third application, your begin to recognize certain features that could be reused across different applications. These are two good reasons to ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close