★ Modules repository (beta)
Here you can find great modules contributed by the play community. Make your choice and add instant power to your application. Need help about modules? Check the manual page. Are you a module developer? Enter in the developers zone.
akka support [akka]by Dustin Whitney
akka (http://akkasource.org) is a platform for building simple, correct, fault-tolerant, concurrent, and scalable applications for the JVM. This module allows you to configure akka through The Play! framework's conf/application.conf file; it provides a few command-line scripts to start akka when your application starts; and it has some examples of it in action.
Bespin online editor [bespin]by Erwan Loisant
Bespin is a Mozilla Labs experiment on how to build an extensible web code editor using HTML 5 technology. The play bespin module allows you to edit all the application sources directly in the browser using bespin.
logisima-cas [cas]by Benoît Simard
This module is a CAS client for Play! application.
Features are :
- CAS authentification (with Gateway feature)
- Proxy CASification
Content Negotiation [cnm]by Sebastian Hoß
The content negotiation module helps using content types which are not directly supported by the Play! framework.
For this it provides a list of default types which are automatically mapped to the correct template. You can also define your own mappings using a simple properties file.
Cobertura [cobertura]by Julien Bille
Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage.
crudsiena [crudsiena]by Pascal Voitot
The CRUD (Create, Read, Update, Delete) Siena module generates a fully usable web interface for your Siena Model objects (tested with v1.0.3.2)
This is the exact ghost module of the original Play! CRUD module : JpaSupport has just become SienaSupport and it manages some Siena specific features such as Embedded objects.
There are some differences linked to Siena and some new features such as the datepicker/datetimepicker.
You can find the full how-to on the googlecode project site.
Don't hesitate to report issues and propositions for enhancements there also!!!
Database module [db]by Nicolas Leroux
Export your Play! domain model to a DDL file and import a database into your Play! domain model. Please refer to the documentation for more information. The 1.1 version is for the Play! 1.1 branch while the 1.0 is for the 1.0 Play! branch.
EBean ORM support [ebean]by Lyubomir Ivanov
Adds Ebean ORM to play!. Still in very experimental phase.
Extended CSS [ecss]by Guillaume Bort
This module allow you to use constants in the CSS files. It is very helpful when you work with large CSS files, to avoid to repeat yourself with color, fonts...
This module is no more maintained. You should take a look at the sass module.
Excel module [excel]by Green Luo
What's New
Version 1.0.1
* Enable configure excel template root in application.conf file
* Excel template root set to app/excel_tmpl. This is the workaround of the problem that application cannot run in product mode for Play version 1.0.2 and before
This module helps web developer to generate Excel report. The tool uses the jxls library.
In order to use the Excel module, you need to create an Excel based template - see http://jxls.sourceforge.net for details instruction.
Google App Engine [gae]by Guillaume Bort
Create play application for the Google App Engine platform.
Minimize javascript/css files [greenscript]by Green Luo
A module that helps managing javascript/css file dependencies and do minimizing (based on YUI compressor)
updates 1.0:
- fix bug: http://github.com/greenlaw110/play-greenscript/issues/#issue/1
- add alias 'greenscript.js' to 'greenscript.javascript' tag
- 'sm:SM' parameter no longer needed
- use 'import' to replace 'load'
updates 0.2:
- fix bug in dependency management
- fix bug in dev mode (dependency failed due to reconfigure on server reload)
- improve exception handling of YUI Compressor. YUI exception will output original file without compressing
- improve exception handling: if given file does not exists, an error will be logged
Grizzly network stack [grizzly]by Guillaume Bort
Experimental module that replace the Mina based network stack by the Grizzly one.
Guice [guice]by Peter Hausel
The Guice module helps you to inject Guice managed components into your play application. The injection points are defined by the upcoming @javax.inject.Inject annotation, which is bundled with play at the moment.
Google Web Toolkit [gwt]by Rustem Suniev
This module provides a helper to simplify the integration of a GWT UI with Play as an application server.
GWT 2.0 [gwt2]by Vincent Buzzano
Integrate GWT 2.0 with your play application.
The module gwt2 is based on the module by Rustem Suniev
This is actually more a hack to be able to use gwt 2.0.
InfoPlay [infoplay]by BLR
InfoPlay is a module which gives many informations like infophp in PHP language. It display useful informations about the running application, the framework, the virtual machine and the operating system.
Ivy dependency management [ivy]by Peter Hausel
This module lets you manage your dependencies with apache ivy
Japid template engine [japid]by Bing Ran
A fast template engine that borrows the basic syntax of Play! and the spirit of Jamon.
The initial benchmark has shown near raw Java performance, 2X - 20X times faster than the built-in Play! template engine and 3X as much total web throughput with Play!.
The module is current at version 0.5 level.
Please go to the project home page for readme and wiki documentations. The PDF in the download section is a little out of date.
It's compatible with Play 1.0.2 and the 1.1 development branch as of 8/15/2010.
logisima-yml [logisimayml]by Benoît Simard
Logisima-yml helps you to export your database into an yml file, just with the following command line : 'play yml:generate' !
Maven dependency management [maven]by Wang Yizhuo
This module lets you manage your dependencies with apache maven
Database migration [migrate]by David Cardon
This module allows you to easily maintain database versions for your project.
MongoDB [mongo]by Andrew Louth
This module provides support for using models stored in mongodb.
Multiple Databases [multidb]by David Cardon
Multiple Database module for the Play! framework.
This module allows you to scale your Play! apps to multiple databases with a common schema.
Netty module [netty]by Lungisa Matshobam, Nicolas Leroux
Module that replaces the Mina based network stack by the Netty one.
OAuth Client [oauth]by Erwan Loisant
This module provides tools to connect to an OAuth provider, such as Twitter or Google.
Objectify [objectify]by Dave Cheong
Objectify is a flexible abstraction on Google App Engine/J which makes data access simple and elegant. Together the Play Framework and Objectify provide a powerful technology stack for building fast and scalable applications on Google's infrastructure.
Sample Application:
http://play-framework-objectify.appspot.com/
PDF module [pdf]by Nicolas Leroux
A module that allows you to render PDF document from your HTML templates. The PDF library is based on the YaHP Converter library - http://www.allcolor.org/YaHPConverter/ -
playapps.net [playapps]by Zenexity
playapps.net is a streamlined deployment environment designed to get your Play applications up and running quickly and efficiently
Minimize javascript/css files [press]by mockduck
The press module is a JavaScript and CSS minimizer that is designed to be transparent to the application developer:
Simply replace <script> tags with #{press.script} tags.
It is a simplified version of the greenscript module, with the difference that greenscript allows the developer to set up a dependency graph, whereas press can be switched on and off easily and therefore makes it easier to debug JavaScript and CSS.
Annotations router [router]by Nicolas Leroux
This module allows you to add routes through annotations, allowing you to declare your routes in your controllers.
Syntactically Awesome Stylesheets [sass]by Guillaume Bort
{style with attitude} - Sass makes CSS fun again. Sass is CSS, plus nested rules, variables, mixins, and more, all in a concise, readable syntax.
Read more at http://sass-lang.com/
scaffold [scaffold]by Lawrence McAlpin
scaffold will generate basic scaffolding for bootstrapping a project from your JPA or Senia entities. Unlike the CRUD module, scaffold statically generates the controllers and templates, and does not dynamically introspect your model at runtime. Simply create your JPA or Senia models and run "play scaffold:gen --overwrite" to create controllers and CRUD templates for your models.
Scala [scala]by Guillaume Bort, Peter Hausel
Using the scala module you can write all or parts of your play application using scala language. You can of course mix it with Java.
Read more about scala at: http://www.scala-lang.org
Scalate [scalate]by Peter Hausel
Scalate Template engine support (more info about scalate: http://scalate.fusesource.org ).
This module depends on the scala module, so you will need to enable both modules.
required play version: 1.1r956
required play scala version: 0.7.2
You can start a new project with the following command:
play new myapp --with scala,scalate
(assuming you have only scala-0.7.2 and scalate-0.7.2 installed)
Search [search]by Jean-Francois POUX
Search allows you to have basic full text search functionalities to your JPA Model. It is based on Lucene, and requires a real file system to store its indexes.
Siena [siena]by Vijay Kiran, Alberto Gimeno
The siena module automatically enable Siena support for your application.
Read more at http://www.sienaproject.com/
Spring [spring]by Nicolas Leroux
This module allows to use Spring managed beans inside your play! applications.
Stax [stax]by Erwan Loisant
Easy deployment to Stax cloud hosting platform (http://www.stax.net).
VHost [vhost]by Lyubomir Ivanov
Adds some virtual hosts functionality with separate datasource for each virtual host.
