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 logging Play uses SLF4J for logging, backed by Logback as its default logging engine. See the Logback documentation for details on configuration. §Default configuration In dev mode Play uses the following default configura
play framework(2.4)のScalaテンプレートとして、 カスタムinputヘルパを作成したいと考えています。 カスタムinputヘルパでは、固定のattribute(styleやclass)を付けたいのですが、 カスタムinputヘルパを呼び出す側でもattributeを付けたい場合があります。 そこで、カスタムinputヘルパに渡される(Symbol, Any)* と カスタムinputヘルパ内で設定したい (Symbol, Any)* をマージできれば良いのではないかと考えました。 ふたつの同じSymbolがあればvalueを文字列として結合するイメージです。 @(field: play.api.data.Field, args: (Symbol,Any)*)(implicit handler: helper.FieldConstructor) @{ ここでargsと
Secured.scala ��r�VU �I�VU def Secured[A](username: String, password: String)(action: Action[A]) = Action(action.parser) { request => request.headers.get("Authorization").flatMap { authorization => authorization.split(" ").drop(1).headOption.filter { encoded => new String(org.apache.commons.codec.binary.Base64.decodeBase64(encoded.getBytes)).split(":").toList match { case u :: p :: Nil if u == use
Looking for your next authentication plugin? Play! Authenticate is a brand-new choice for Java-based authentication within Play! Framework 2.x applications, supporting common OAuth2 providers such as Facebook or Google in parallel with your own user account service or an out-of-the-box username/password provider. Check out the sample application and the showcase to see examples of Play! Authentica
Advantages Verified casino Over 1000 games Fast payouts First deposit bonus 24/7 player support Know more Casinonic Review - Games, Bonus and Sign-in Form Casinonic is a representative of the Australian gambling industry. Recently Australian casinos have become popular among gamblers. They guarantee a fair gambling experience and a great variety of gambling options. It appeared in 2019 and has
@sgodbillon (Stephane Godbillon) Software architect at zenexity. Scala, Play 2.0 and MongoDB enthusiast. About me ReactiveMongo is a brand new Scala driver for MongoDB. More than just yet-another-async-driver, it's a reactive driver that allows you to design very scalable applications unleashing MongoDB capabilities like streaming infinite live collections and files for modern Realtime Web applica
In Part 1 article, we gave a quick overview of new Play2.1 JSON API features around JsPath and Reads combinators. It’s funny to be able to read JSON to Scala structures but it’s better to be able to write Scala structures to JSON (Writes[T]) and it’s even better to mix Reads and Writes (Format[T]) sometimes. Now let’s focus on Writes and Format in the details ;) Writes[T] hasn’t changed (except co
First of all I’d like to reference to an excellent series of posts I found that cover similar stuff. It can be found here and covers a lot more topics than I did here. In this part I’m going to show how to actually create the little blogging app I intend to write. I canceled my original intention of using LESS when I found the wonderful Bootstrap framework made by the Twitter guys. My intention wa
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く