Skip to content

Play framework research projects I archive here

Notifications You must be signed in to change notification settings

jonjack/playground

Repository files navigation

Random collection of Play framework research projects

Requirements for running Play

Download Typesafe's Activator and add it to your PATH.

You can either download the packge containing a pre-populated Ivy repository or just get the mini package (this will take a few minutes to download all the necessary dependencies on the initial run). If you are behind a proxy check the docs for the config.

The Scala IDE is the recommended tool of choice for working with Play/Scala projects.


Architecture

The application uses the Play framework.
The following shows the basic layout (more advanced explanantion here):-

jagerbomb
	|
	|
   	|- app 						// dynamic code				
    |  	|									
    |  	|- controllers 			// Scala or Java controller classes
    |  	|- models				// Scala or Java model classes
    |  	|- views				// Scala view templates
    |
    |
   	|- public 					// static code				
      	|									
      	|- images 				// 
      	|- javascripts			// 
      	|- stylesheets			// 

Resources

The following are some useful resources on the official docs site:-

Index
UI templates
UI assets

Running the application

When you have added Activator to your path, run this in a shell prompt. Note you will need an internet connection because it will download a load of required dependencies first time.

$ activator run

This should start the project at http://localhost:9000/.


Tools

Eclipse
Run the following to generate the Eclipse project files:

$ activator eclipse

You should then be able to import it as an existing project into Eclipse.

Sublime
You could also just open it in Sublime or something if you are not writing Java code.

About

Play framework research projects I archive here

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published