Skip to content

Jiansen/TAkka-Play

 
 

Repository files navigation

TAkka-Play 2.1

This project is forked from the original Play repository on 27 June 2013

In this project, Akka actors in the library is replaced by TAkka actors.

All changes in the TAKKA-PLAY branch are listed here.

We follow the Play Testing Method to validate the TAkka port.

Addional Test

sample/scala/framework_benchmarks is modified from the Play-Scala example in the TechEmpower Web Framework Benchmarks.

We tested the JSON benchmark using Amazon EC2 Auto Scaling, and record the result at here.

Play 2.1

Play 2.1 is a high productivity Java and Scala Web application framework, integrating all components and API needed for modern Web application development.

It is based on a lightweight stateless Web friendly architecture and features predictable and minimal resources consumption (CPU, Memory, Threads) for highly scalable applications thanks to its reactive model based on Iteratee IO.

http://www.playframework.com

Installing

You first need to build Play:

$ cd framework/
$ ./build
> publish-local

Then, for convenience, add the framework installation directory to your system PATH.
On UNIX systems, it would be something like:

export PATH=$PATH:/path/to/play2.1

On windows systems you'll need to set it in the global environment variables.

If you’re on UNIX, make sure that the play script is executable (otherwise do a chmod a+x play).

Getting started

Enter any existing Play 2.1 application directory and use the play command to launch the development console:

$ cd ~/workspace/myApplication
$ play

You can also directly use play run to run the application:

$ cd ~/workspace/myApplication
$ play run

Use play new yourNewApplication to create a new application:

$ cd ~/workspace
$ play new myNewApplication

Once the application is created, use it as any existing application:

$ cd myNewApplication
$ play

Running the sample applications

There are several samples applications included in the samples/ directory. For example, to run the included Scala Hello World application:

$ cd ~/workspace/play2.1/samples/scala/helloworld/
$ play run

The application will be available on port 9000.

Issues tracker

Report issues at https://github.com/playframework/Play20/issues.

Contributors

Check for all contributors at https://github.com/playframework/Play20/contributors.

Licence

This software is licensed under the Apache 2 license, quoted below.

Copyright 2013 Typesafe (http://www.typesafe.com).

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Packages

No packages published

Languages

  • Scala 55.5%
  • JavaScript 29.7%
  • Java 14.6%
  • Other 0.2%