Play! Framework

TwitterFacebook
Get flash to fully experience Pearltrees
http://the-play-book.co.uk/ Welcome to the website for the worlds first Play Framework book .

Introducing the Play Framework

YAML

Your application tests will often use data structures that consist of related model objects, which can be tedious to create programmatically in Java. Play includes a YAML parser which makes the task much simpler. Create a YAML file like the following, in the conf directory. http://www.playframework.org/documentation/1.1/yaml

snakeyaml

http://code.google.com/p/snakeyaml/wiki/Documentation It's a correct output despite the fact that the style of the nested mapping is different. By default, SnakeYAML chooses the style of a collection depending on whether it has nested collections.
http://www.lunatech-research.com/archives/2011/04/20/play-framework-better-json-serialization-flexjson

Play Framework - Better JSON serialization with FlexJSON | Lunatech Research - IT consulting, product research and software development

When writing rich interfaces, you often have to generate a JSON representation of your data to be used in your HTML templates.
The Play framework is a web application development framework that is not only surprisingly usable and flexible, it is also extremely extensible.

Declarative model class enhancement in Play | Lunatech Research - IT consulting, product research and software development

http://www.lunatech-research.com/archives/2011/01/11/declarative-model-class-enhancement-play

Play framework - Setting up a basic administration area using CRUD

http://www.playframework.org/documentation/1.1.1/guide7 Currently, we have no way to create new blog posts or moderate comments using the blog UI.
Discussions 10 of 43957 messages http://groups.google.com/group/play-framework

Google Group

Caching

http://www.playframework.org/documentation/1.1/cache To create high-performance systems, sometimes you need to cache data.
http://code.google.com/p/spymemcached/ A simple, asynchronous, single-threaded memcached client written in java. Efficient storage of objects. General serializable objects are stored in their serialized form and optionally compressed if they meet criteria.

spymemcached - java memcached interface

http://memcached.org/ What is Memcached? Free & open source, high-performance, distributed memory object caching system , generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

memcached

A Play application can be assembled from several application modules. This allows you to reuse application components across several applications or split a large application into several smaller applications. The default modules installation path is in the $PLAY_HOME/modules directory.

Module basics

Using UnboundID LDAP SDK

The UnboundID LDAP SDK for Java provides a persistence framework that can be used to easily store Java objects in an LDAP directory server. It uses Java annotations to indicate the way that the information should be stored in the directory, and includes support for add, delete, modify, and search operations. It also provides tools that can be used to generate Java source code from LDAP schema, or to generate LDAP schema from properly-annotated source code.
@NotMutable @ThreadSafety ( level = COMPLETELY_THREADSAFE ) public final class StartTLSPostConnectProcessor extends java.lang.Object implements PostConnectProcessor

LDAP Connection Pools with StartTLS

Javassist is a class library for dealing with Java bytecode. Java bytecode is stored in a binary file called a class file. Each class file contains one Java class or interface.

Javassist Tutorial

Below is an example of an invoice expressed via YAML(tm). Structure is shown through indentation (one or more spaces). Sequence items are denoted by a dash, and key value pairs within a map are separated by a colon.

YAML Quickstart

Learning Scala

With the help of an official module you can use Scala to create your Play! application instead of Java, or write parts of it in each language. by keester81 Dec 21

OVal - Object Validation

This is what power's the Play! framework's validation by keester81 Dec 21