Playframework 2.0 RCçã®ç»å ´ å æ¥å¾ æã®Playframework 2.0RCçããªãªã¼ã¹ããã¾ããã RC2ããããããã¦ã³ãã¼ãå¯è½ã§ãã βãããã ãã¶æ©è½ã追å ããã大éã®ãã°ãã£ãã¯ã¹ãããã¦ãã¾ãã Controllerãªãã§ãªãã¤ã¬ã¯ããã å æ¥Playã®ã¡ã¼ãªã³ã°ãªã¹ããã¿ã¦ãããã¡ãã£ã¨ä½¿ããããªãã¿ã®ããã¨ããããã¦ããã®ã§ãç´¹ä»ãã¾ãã ç¹å®ã®ãã¹å®ã«ãªã¯ã¨ã¹ããããããªãã¤ã¬ã¯ãããããã ãã©ãControllerã¤ãããªãã¦ãã§ããªããï¼ã¨ãã質åã ããã¯routesãã¡ã¤ã«ã®è¨è¿°ã ãã§è§£æ±ºã§ããã¿ããã§ãã ã§ã¯ããã£ã¦ã¿ã¾ãããã ä»å使ç¨ããåä½ç°å¢ã¯ä»¥ä¸ã®ã¨ããã§ãã OS : MacOS X 10.7.2 Playframework : HEAD Java : 1.6.0_26 Eclipse : 3.7 注æ: ãã®è¨äºã§ã¯git
Play 2.0 beta ããã¥ã¡ã³ã version: 2011/12/10 Play 2.0 beta ããã¥ã¡ã³ããã覧ããã ããããã¨ããããã¾ãããã®ããã¥ã¡ã³ã㯠Play 2.0 åæ§ãéæä½æä¸ã§ãã 詳細ã«ã¤ãã¦ã¯ Play 2.0 ã®éçºç¶æ³ã¨æªå®è£ æ©è½ ãã覧ãã ããã ã¯ããã« Play 2.0 beta ã®ã¤ã³ã¹ãã¼ã« æ°è¦ã¢ããªã±ã¼ã·ã§ã³ãä½æãã Play 2.0 ã¢ããªã±ã¼ã·ã§ã³ã®æ§é Play 2.0 ã³ã³ã½ã¼ã«ã使ã Play 2.0 ã§éçºãã Scala éçºè ã®ããã® Play 2.0 Java éçºè ã®ããã® Play 2.0 ãã«ãã·ã¹ãã ã©ã¤ãã©ãªä¾åæ§ã®ç®¡ç ãµãããã¸ã§ã¯ã å ¬éã¢ã»ããã使ã å ¬éã¢ã»ããã®æä¾ LESS CSS ã使ã CoffeeScript ã使ã Google Closure Compiler ã使ã å種è¨
æ¬ã¨ã³ããªã¯ Play! framework Advent Calendar 2011 jp #play_ja : ATND ã®4æ¥ç®ã§ãã åæ¥ã® @kitora_naoki ããããããã³ãåãåãã¾ããã 好ããªPlay!ã®ã¢ã¸ã¥ã¼ã«ã¯coberturaã¨CRUDã§ããçãããããããé¡ããã¾ãã æ¬æ¥ã®ãã¼ãã¯ãPlay!ã§éçºããã¨ãã®æ å ±ã®éãæ¹ãã§ãã Play!ã®å ¬å¼ããã¥ã¡ã³ãã¯é常ã«æ´ã£ã¦ãã¦ãã¥ã¼ããªã¢ã«ãåæ©è½ã®èª¬æãªã©ããã¡ãã¨æ¸ããã¦ãã¾ãã*1 å®éã«Webã¢ããªã±ã¼ã·ã§ã³ãä½æããéã«ãã©ãå®è£ ãããã®æ å ±ã欲ãããªãã¾ãã æ¬æ¥ã¯ç§ããã使ã£ã¦ããè±èªã®æ å ±æºãç´¹ä»ãã¦ããã¾ãã Playã®æ å ±æº 1.X Play!æ¬å®¶ããã¥ã¡ã³ã ã¾ãã¯ãããã æ¥æ¬èªçããã¥ã¡ã³ã ã¯ãã¡ã cheat sheet éçºä¸ã¯å¸¸ã«éãã¦ã¾ã Play! ML stack
Dependency injection in Scala with Play 2: itâs free When you write a software you generally split it into several modules with no hardcoded dependencies between them so you can reuse and test them more easily: you just need to wire the different modules together at startup according to your desired configuration. In the Java world, some tools help to perform the wiring task, e.g. Spring or Guice,
2024å¹´ä¸åæã®ãã£ã«ã åçãã¡ ãµã¨æ°ãã¤ãã¨2024å¹´ãæ®ãå ãã ããã¦ãµã¨æ¯ãè¿ãã¨ãã®ããã°ã«æ²è¼ããåçãGRIIIã§æ®ã£ããã®ã°ããã«ãªã£ã¦ããã®ã ãã©ã決ãã¦ãã£ã«ã ã«é£½ããã¨ãããã¨ã§ã¯ãªãããã£ã«ã ã¯ãã£ã«ã ã§æ·¡ã ã¨æ®ãç¶ãã¦ããããã¢ãã¯ããã«ã©ã¼ãã¬ããã¤ãéãèªå® ã§â¦
Play! Advent Calendar 2011 3æ¥ç®ã§ãã Play 2.0 ã®ããã¥ã¡ã³ã ã«ãã Using the Play 2.0 console ãè¦ã¦ããã "Launch the interactive console" ãªããã®ãçºè¦ãScala ã® REPL ãèµ·åãã¦æ¸ããã³ã¼ããã¤ã³ã¿ã©ã¯ãã£ãã«è©¦ããã¨ãã§ããããããä¾ã¨ãã¦ããããã¦ããç»åã§ã¯ã³ã³ã½ã¼ã«ãã View ã®ãã³ãã¬ã¼ãããã¹ã¦ãããã¨ãããã¨ã¯ãããã使ãã° Rails ã®ããã«ã¢ããªã±ã¼ã·ã§ã³ã®ã³ã¼ãã¨ãã¦æ¸ãã DAO ãå¼ã³åºããã¨ãã§ãã? ã¨ãããã¨ã§è©¦ãã¦ã¿ã¾ããã ã¾ãã¯é©å½ãªå ´æã«ã¢ããªã±ã¼ã·ã§ã³ãä½ãã¾ããä»å㯠Scala application ãé¸ã³ã¾ããããæ軽ã«è©¦ãããã®ã§ DB 㯠H2 ã§ãã£ã¦ã¿ã¾ããconf/application.conf ã® DB æ¥
ãã®è¨äºã¯Play! framework Advent Calendar 2011 jpã®17æ¥ç®ã§ãã æ¥å¹´ã®ï¼æé ã®ãªãªã¼ã¹ã«åãã¦æ´»çºãªéçºãç¶ãã¦ããPlay 2.0ã§ãããã³ããããã°ã追ã£ã¦ããã¨ãæè¿ãã¹ãé¢ä¿ã®å¤æ´ãå°ãªãã®ã§ããããfixãã¨æããåå¼·ã¤ãã§ã«Controllerã®ãã¹ããæ¸ãã¦ã¿ã¾ããã ä¸å¿ãControllerã«å¯¾ãããã¹ãã®æ¸ãæ¹ã¯Play 2.0 RC1ã®å ¬å¼ããã¥ã¡ã³ãã«ãè¨è¼ããã¦ãã¾ãã https://github.com/playframework/Play20/wiki/Scalatest ãã¹ãã¯specs2ã«ããè¨è¿°ãæ¨å¥¨ããã¦ããããã§ãã å ·ä½çã«ã¯ãspecs2ã«Playã®ãã«ãã¼ã¡ã½ãããä½µç¨ãã¾ããå ¬å¼ããã¥ã¡ã³ãããæç²ããã³ã¼ãã以ä¸ã§ãã object ApplicationSpec extends Specifi
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}