ITé¢é£ãã¿ãä¸å¿ã¨ããã彷徨ããã¦ã§ãããã°ã©ãã¼ã®æè¡ã¡ã¢
ããã¥ã¡ã³ãPlay framework ããã¥ã¡ã³ãã¸ããããããã®ããã¥ã¡ã³ã㯠ãªãªã¼ã¹ 1.2.1 ã対象ã¨ãã¦ããã以åã®ãã¼ã¸ã§ã³ã®ããã¥ã¡ã³ãã¨ã¯å¤§ããç°ãªãããããã¾ããããã¼ã¸ã§ã³ 1.2 ãªãªã¼ã¹ãã¼ã ã確èªãã¦ãã ãããã¯ããããPlay framework ã®ã¯ããã®ä¸æ©ãå¦ã¶æ¥½ãã 5 åéã§ããPlay framework ã®æ¦è¦åç»ã観ã¦ã¿ããPlay ã§ã§ãã 5 ã¤ã®ããããã¨å©ä¾¿æ§ - ç´°é¨ã¯æ©è½ã¨åæ§ã«éè¦ãããã質åã¤ã³ã¹ãã¼ã«ã¬ã¤ãã好ã¿ã® IDE ãè¨å®ãããã¯ããã¦ã®ã¢ããªã±ã¼ã·ã§ã³ ï¼ 'Hello World' ãã¥ã¼ããªã¢ã«ãµã³ãã«ã¢ããªã±ã¼ã·ã§ã³ãã¥ã¼ããªã¢ã« â ãªã¢ã«ãª Play ã¢ããªã±ã¼ã·ã§ã³ãä¸æ©ãã¤ä½æããã¬ã¤ã'Yet Another Blog Engine' ãæåããæå¾ã¾ã§ã³ã¼ãã£ã³ã°ãããã¨ã§ Play ã«ã¤ãã¦
ã³ã³ããã¼ã«ã®ã«ã¹ã¿ãã¤ãº ååã«å¼ãç¶ãããâ Play Frameworkãï¼â æ¥æ¬èªãµã¤ãã¯ãã¡ãï¼ã®ä½¿ãæ¹ã解説ãã¾ããPlay Frameworkã§ä½æããã¢ããªã±ã¼ã·ã§ã³ã¯ã¢ãã«/ãã¥ã¼/ã³ã³ããã¼ã«ã®åãã¼ãããæ§æãããããããããã¸ã§ã¯ãã®models/views/controllersãã©ã«ãå ã«æ ¼ç´ããã¦ãã¾ããååã¯ãã¥ã¼ã®ä¿®æ£ãè¡ã£ãã®ã§ãä»åã¯ã¾ãã³ã³ããã¼ã«ãã«ã¹ã¿ãã¤ãºãã¦ã¿ã¾ãããã ããã©ã«ãã®ã³ã³ããã¼ã«ã¯controllersãã©ã«ãã«Application.javaã¨ãã¦ä½æããã¦ãã¾ãããã®index()ã¡ã½ããããã¥ã¼ã®index.htmlã«é¢é£ä»ãããã¦ãããã¨ã¯åå説æãã¾ãããindex()ã¡ã½ããã§ã¯ã次ã®ããã«render()ã¡ã½ããã®å¼ã³åºããè¡ã£ã¦ãã¾ãããããPlay Frameworkã®ãã³ãã¬ã¼ãã¨ã³ã¸ã³ãå©ç¨ãã¦Webãã¼ã¸
Play Frameworkã¨ã¯ ãPlay Frameworkãï¼â æ¥æ¬èªãµã¤ãã¯ãã¡ãï¼ã¯ãRub on Railsã©ã¤ã¯ãªJavaã¢ããªã±ã¼ã·ã§ã³éçºãã¬ã¼ã ã¯ã¼ã¯ã§ããç°¡åãªã³ãã³ãã®å®è¡ã§ã¢ããªã±ã¼ã·ã§ã³ã®éå½¢ãæ§ç¯ããæ軽ã«éçºãã¹ã¿ã¼ãããããã¨ãã§ãã¾ããæ§ç¯ãããã¢ããªã±ã¼ã·ã§ã³ã®éå½¢ã¯ã¢ãã«ããã¥ã¼ãã³ã³ããã¼ã«ã®3ã¤ã®ãã¼ãããæ§æããããã¼ã¿ãã¼ã¹ã·ã¹ãã ã¨Javaã®æ°¸ç¶åæ©è½ã«ããã¢ãã«ããã³ãã¬ã¼ãã¨ã³ã¸ã³ãå©ç¨ãããã¥ã¼ãJavaããã°ã©ã ã§è¨è¿°ããã³ã³ããã¼ã«ãã·ã¼ã ã¬ã¹ã«é£æºãããã¢ããªã±ã¼ã·ã§ã³éçºãè¡ããã¨ãå¯è½ã§ãã Play Frameworkã®å¤§ããªç¹å¾´ã®ã²ã¨ã¤ã¯ãJavaã³ã¼ããHTMLãã¡ã¤ã«ããã³ãã¬ã¼ããã¡ã¤ã«ãªã©ãä¿®æ£ãã¦ããã³ã³ãã¤ã«ããµã¼ãã¸ã®ãããã¤ããµã¼ãã®åèµ·åãªã©ãä¸åãããã¨ãªãããã©ã¦ã¶ã§Webãµã¤ãããªãã¼ãããã ãã§
ã¡ã³ããã³ã¹
ãç¥ãã
é害
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}