Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

<noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <h2>Frame Alert</h2> <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p>
HTTP programming Actions, Controllers and Results HTTP Routing Manipulating HTTP results Session and Flash scopes Body parsers Actions composition Content negotiation Handling errors Main concepts Section introduction Configuration API HTTP programming Asynchronous HTTP programming The Twirl template engine Form submission and validation Working with Json Working with XML Handling file upload Acce
You are viewing the documentation for the 2.9.x release series. The latest stable release series is 3.0.x. Search Home Working with Play Common topics Configuration §The Application Secret Play uses a secret key for a number of things, including: Signing session cookies and CSRF tokens Built in encryption utilities It is configured in application.conf, with the property name play.http.secret.key,
Asynchronous HTTP programming Asynchronous results Streaming HTTP responses Comet WebSockets Main concepts Section introduction Configuration API HTTP programming Asynchronous HTTP programming The Twirl template engine Form submission and validation Working with Json Working with XML Handling file upload Accessing an SQL database Using the Cache Calling REST APIs with Play WS Integrating with Akka
You are viewing the documentation for the 2.9.x release series. The latest stable release series is 3.0.x. Search Home Play releases Play 2.5 §What’s new in Play 2.5 This page highlights the new features of Play 2.5. If you want to learn about the changes you need to make to migrate to Play 2.5, check out the Play 2.5 Migration Guide. §New streaming API based on Akka Streams The main theme of Play
最近はGoやScalaでサービスを開発したり、既存のシステムを置き換えたりする事例が増えてきてますよね。私も仕事ではruby/railsがメインなのですが、新しくアプリケーションを開発するにあたって別の言語・フレームワークを検討する機会があり、少しだけScala(とJava)のフレームワークPlayを触ったので、**Railsでいう◯◯はPlayではどうやるの?**という点をまとめたいと思います。 ちなみに、この記事を書いてる時点で筆者のScala歴・Play歴は10時間くらいですので、「Play Framework入門」と銘打ったものの、「Play Framework紹介」に近いかもしれませんwご了承ください。 サンプルコード 以下ではこちらのコードから色々抜粋して貼り付けてます。 https://github.com/suzan2go/hello_play 公式のScalaToDoLi
You are viewing the documentation for the 2.9.x release series. The latest stable release series is 3.0.x. Search Home Getting started §Anatomy of a Play application§The Play application layout The layout of a Play application is standardized to keep things as simple as possible. After the first successful compilation, the project structure looks like this: app → Application sources └ assets → Com
Dependency Injection with Guice Compile Time Dependency Injection Main concepts Section introduction Configuration API HTTP programming Asynchronous HTTP programming The Twirl template engine Form submission and validation Working with Json Working with XML Handling file upload Accessing an SQL database Using the Cache Calling REST APIs with Play WS Integrating with Akka Internationalization with
You are viewing the documentation for the 2.9.x release series. The latest stable release series is 3.0.x. Search Home Getting started §Setting up your preferred IDE Working with Play is easy. You don’t even need a sophisticated IDE, because Play compiles and refreshes the modifications you make to your source files automatically, so you can easily work using a simple text editor. However, using a
You are viewing the documentation for the 2.9.x release series. The latest stable release series is 3.0.x. Search Home Working with Play Common topics Working with Databases §Managing database evolutions When you use a relational database, you need a way to track and organize your database schema evolutions. Typically there are several situations where you need a more sophisticated way to track yo
The Twirl template engine Templates syntax Dependency Injection with Templates Common use cases Custom format Main concepts Section introduction Configuration API HTTP programming Asynchronous HTTP programming The Twirl template engine Form submission and validation Working with Json Working with XML Handling file upload Accessing an SQL database Using the Cache Calling REST APIs with Play WS Inte
Working with Json JSON basics JSON with HTTP JSON Reads/Writes/Format Combinators JSON automated mapping JSON Transformers Main concepts Section introduction Configuration API HTTP programming Asynchronous HTTP programming The Twirl template engine Form submission and validation Working with Json Working with XML Handling file upload Accessing an SQL database Using the Cache Calling REST APIs with
Using Slick to access your database Using Play Slick Play Slick migration guide Play Slick advanced topics Play Slick FAQ Accessing an SQL database Accessing an SQL Database Using Slick to access your database Using Anorm to access your database Main concepts Section introduction Configuration API HTTP programming Asynchronous HTTP programming The Twirl template engine Form submission and validati
You are viewing the documentation for the 2.9.x release series. The latest stable release series is 3.0.x. Search Home Working with Play Common topics Configuration §Configuring the JDBC pool The Play JDBC datasource is managed by HikariCP. §Special URLs Play supports special url format for both MySQL and PostgreSQL: # To configure MySQL db.default.url="mysql://user:password@localhost/database" #
You are viewing the documentation for the 2.9.x release series. The latest stable release series is 3.0.x. Search Home Play releases Play 2.4 Migration Guides §Play 2.4 Migration Guide This is a guide for migrating from Play 2.3 to Play 2.4. If you need to migrate from an earlier version of Play then you must first follow the Play 2.3 Migration Guide. As well as the information contained on this p
Asynchronous HTTP programming Asynchronous results Streaming HTTP responses Comet WebSockets Main concepts Section introduction Configuration API HTTP programming Asynchronous HTTP programming The Twirl template engine Form submission and validation Working with Json Working with XML Handling file upload Accessing an SQL database Using the Cache Calling REST APIs with Play WS Integrating with Akka
You are viewing the documentation for the 2.9.x release series. The latest stable release series is 3.0.x. Search Home Working with Play Common topics Configuration §Understanding Play thread pools Play Framework is, from the bottom up, an asynchronous web framework. Thread pools in Play are tuned to use fewer threads than in traditional web frameworks, since IO in play-core never blocks. Because
HTTP programming Actions, Controllers and Results HTTP Routing Manipulating HTTP results Session and Flash scopes Body parsers Actions composition Content negotiation Handling errors Main concepts Section introduction Configuration API HTTP programming Asynchronous HTTP programming The Twirl template engine Form submission and validation Working with Json Working with XML Handling file upload Acce
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く