Creating your first Play 2.1 app

let's-play-4

Follow the official install instructions (these steps will only work for 2.1.* versions of the Play Framework). Afterwards:

  1. play new myFirstApp creates a new app, in the current directory, inside a new folder called myFirstApp
  2. Now try to run it. First go inside that folder (cd myFirstApp), and run it (play).
  3. [Optional step] You can transform your Play application into an Eclipse project, by running play eclipse. If you want Play’s source files and javadoc to be attached to the Eclipse project, you should execute play "eclipse with-source=true" instead.

Continue reading “Creating your first Play 2.1 app”

Installing Play Framework 2.1 on Windows

let's-play-1

The Play Framework is probably one of the few web frameworks that installs and works pretty well on Windows. I started web development with Django, but I had to learn Python and Django at the same time, and the documentation was not so good as they said it was. So I decided to leverage my Java experience and use Play. And since Play supports both Java and Scala I could refactor and move to Scala at any time.

Overview of Play Framework
Overview of Play Framework

On this guide I’ll just refer to these variables and not their absolute paths:

  • %JAVA_HOME%, where Java installer installs JDK, e.g. C:\Program Files (x86)\Java\jdk1.7.0_25\bin
  • %PLAY_HOME%, where you extract the Play! Framework files, e.g. C:\Play\play-2.1.2

To install Play just follow these steps:

Continue reading “Installing Play Framework 2.1 on Windows”

How I met Cirque du Soleil

Alegria literally means joy in Portuguese. That’s what Cirque du Soleil brought to my life. The Varekai show is like diving into a fantasy world.

photo: goo.gl/M4B3OK
photo: goo.gl/M4B3OK

I don’t recall the first time I saw a video of a Cirque du Soleil show, it was either on national TV during Christmas or during a plane flight. I do know it was Alegria and it was love at first sight.

Continue reading “How I met Cirque du Soleil”

Why you should leave Facebook and move to Google+

Photo: xkcd.com
photo: xkcd.com

Facebook became like coffee – at first you don’t like it and after you drink it you get a sour taste on your mouth. Nonetheless everyone uses it to socialize so you get caught in the addiction.

Continue reading “Why you should leave Facebook and move to Google+”