-
Notifications
You must be signed in to change notification settings - Fork 13
Home
Play-demo is a play! framework project built for demoing play's capabilities and to provide a detailed step-by-step guide to get you up and running with play framework.
The demo application is up and running in red hat's openshift at http://play-opensas.rhcloud.com/, in google application engine at http://jugar-demo.appspot.com/, in heroku at http://jugar-demo.herokuapp.com/ and in cloudbees at http://play.opensas.cloudbees.net/#, for you to try it online.
This project is hosted here, on github, for anyone to study, learn and improve.
Moreover, the demo has been organized in several steps, each with it's own github branch, so that you can follow us in our journey.
This demo was first presented at Argentina java user group, along with this slide
- Be willing to have fun once again developing web applications with java!
- Working java installation
- Install play framework.
For more information, see setting up your development environment
Step 0 - create an empty project
Here we show how to create a project and we talk about the structure of a play application
Show live editing capabilities of play framework and it's error reports for human beings
First we show you how to configure your favorite IDE and then we create a couple of entities and persist them to database.
In this section we cover differents ways to load your database with info. We take a look at play's integrated db manager, the crud module and fixtures support.
We give our app a better appearence using twitter's bootstrap toolkit.
In this step we will develop add, update and delete actions
Add twitter bootstrap styles to the create and update form. We will also develop a couple of custom tags to avoid repetitive code.
Here we'll add a count down, showing the time remaining for the next event. We will also show how to use your own libraries and how to make them get along with play's dependencies system.
We will see how play helps us build human readeble and elegants urls.
In this step we will see how our user can authenticate themselves using facebook or twitter.
Step 10 - authorization TO DO!!!
How to protect pages and allow certain actions only to authenticated users.
In this step we will see how to prepare your application to support different languages.
We will see how to build automated tests.
Step 12.5 - deploy to openshift
Deploying our app to openfhit, Red Hat's cloud computing PaaS platform.
Deploying our app to heroku's cloud computing platform.
Deploying our app to google's application engine cloud computing platform
Step 15 - next steps TO DO!!!
Here we will talk about the next steps you can make to keep learning and having fun with play! framework.