Play framework with Scala ã使ã£ã¦ã¿ããã·ãªã¼ãºã§ãã ãã®1 ãã®2 ãã¦ããã£ã±ãGoogle AppEngine使ãããã§ãããã ã¨ããããã§GAEã¢ã¸ã¥ã¼ã«ã使ã£ã¦ã¿ã¾ãã Google AppEngineã®SDKã¯ã¤ã³ã¹ãã¼ã«ããã¦ãããã®ã¨ãã¾ãã ã¾ãããµã³ãã«ãå®éã«AppEngineä¸ã§åä½ç¢ºèªãããå ´åã«ã¯ãäºãã¢ããªã±ã¼ã·ã§ã³IDãåå¾ãã¦ããã¦ãã ããã ä»åã®ãµã³ãã«ã®ã½ã¼ã¹ã¯ https://github.com/ueshin/play-hello/tree/play-hello-0.0.1 ã§ãã©ã¦ãºã§ãã¾ãã GAEã¢ã¸ã¥ã¼ã«Play!ã®GAEã¢ã¸ã¥ã¼ã«ã使ãã¨GAEã¸ã®ãããã¤ã楽ã«ãªãã¾ãã ã¨ãããã ãã§ã¯ãªãã¦ãä»ã«ãæ§ã ãªã¡ãªãããããã¾ãã Play!æ¨æºã®ãã£ã¬ã¯ããªæ§æã§éçºä¸ã®èªåãªãã¼ããåãã¾ãLogging
æ¨æ¥ã¯Play frameworkã使ã£ã¦Hello Worldãåãã¾ããã ä»æ¥ã¯Play frameworkãããã¨ãã«ãããããªç°å¢è¨å®ã«ã¤ãã¦æ¸ãããã¨æãã¾ãã ã»ã¼èªååãã®ã¨ã³ããªã¼ã§ãã ãã¼ã¹ã¨ãªãEclipse(Scala IDE for Eclipse)ã¨Emacs(ENSIME)ãã¤ã³ã¹ãã¼ã«ããã¦ãããã®ã¨ãã¾ãã Eclipseã¨ã®é£æºPlay!ã®ã³ãã³ãã§ãeclipsifyã¨ãããã¤ãããã®ã§ãããå©ç¨ãã¾ãã $ ${PLAY_HOME}/play eclipsify helloworld å®è¡å¾ãããã¸ã§ã¯ãå ã«Eclipseã®è¨å®ãã¡ã¤ã«ã§ãã .project .classpath .settings ãªã©ãçæããã¦ãããã¡ã¤ã«ãâãã¤ã³ãã¼ããã§ãã®ããã¸ã§ã¯ããEclipseããã¸ã§ã¯ãã¨ãã¦ã¤ã³ãã¼ããããã¨ãã§ããããã«ãªãã¾ãã ã¾ãã
Play frameworkã触ã£ã¦ã¿ã¾ãããã Ruby on Railsã®ãæ軽ããJavaã§ï¼ã£ã¦ããæãã®Webã¢ããªãã¬ã¼ã ã¯ã¼ã¯ã§ãã Javaçã¯ç´æ¥ä½¿ã£ã¦ã¯ãã¾ããããScalaã¨ã®ç¸æ§ãæ群ãªå°è±¡ã§ãã æ¥æ¬èªã®ããã¥ã¡ã³ããããã¾ããã ä»åã¯Play frameworkã¤ã³ã¹ãã¼ã«ããHello Worldã¾ã§ããã¾ãã Play framework: 1.1Scala module: scala-0.8Maven module: maven-head JavaãScalaã¯ã¤ã³ã¹ãã¼ã«ãã¦ãããã®ã¨ãã¾ãã ã¤ã³ã¹ãã¼ã«Downloadãªã³ã¯ãããã¦ã³ãã¼ããã¾ãã é©å½ãªå ´æã«å±éãã¾ãã $ unzip /path/to/play-1.1.zip 以ä¸ãå±éãããã¹ã ${PLAY_HOME} ã表è¨ãã¾ãã ã¢ã¸ã¥ã¼ã«ã®ã¤ã³ã¹ãã¼ã«Play! ã®ãµã¤ãã§å ¬éã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}