Play!framework.

A small sample code

Install play framework into your prefered path on your account and modify your system path to add the play installation directory:

And then, unzip the demo in your prefered path, just « cd » in and then, to run demo :

#> cd play-blog-sample
#> play dependencies
#> play run

if you want to edit project with eclipse

#> play eclipsify
and import the resulting project into a brand new Eclipse workspace.
 

Note:
Before running eclipse, don’t forget to copy jar files from 
play-1.2.4/support/eclipse 
to the eclipse/dropins directory.

If you want to consult play documentation run this play app as discribed as before, and click on the

And if you are a tester:
#> play test

and click http://localhost:9000/@tests

Have fun !

Publicités