Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
Play Framework 2.2.x ã®è©±ã§ããåããããã ããã¨ããã®ã§ rails runner ãå¼ãåãã«åºããã®ã ãã©ãã¤ã¾ãä½ããããããã¨ããã¨ãã¢ããªã±ã¼ã·ã§ã³æ¬ä½ã®ã³ã¼ãï¼Play ãå«ãã¦ï¼ãå©ç¨ãã¦ããªãã¬ã¼ã·ã§ã³ãã¡ã³ããã³ã¹ç¨ã®ã¿ã¹ã¯ï¼ãããå¦çï¼ãæ¸ããããåå¿è ãªã®ã§ãã¬ã¼ã ã¯ã¼ã¯ã«ä¹ã£ãããªãã¨ãã¼ã¿ãã¼ã¹ã¸ã®æ¥ç¶ãã§ããªãã®ã§ãã é©å½ã« Scala ã® object ãä½ã£ã¦ sbt runMain ãã¦ããã°ä»»æã®ã³ã¼ããå®è¡ãããã¨ã¯ã§ããããã©ãæçµçã«ãã«ãããã¨ãã«ã¢ããªã±ã¼ã·ã§ã³æ¬ä½ã«ã¯å«ããããªãã®ã§ãåãã¦ç½®ãã¦ããããããã¬ã¼ã ã¯ã¼ã¯ã«ãããããµãã¼ããããã®ãããªããã¨èãã¦ãããã調ã¹ã¦ã¿ãããã©çµå±ããããªãã£ãã®ã§ããããã風ã«ãã£ã¦ã¿ãã "tasks" ã¨ãããã£ã¬ã¯ããªãä½ããããã«å®è¡ãããã¿ã¹ã¯ã main() ã
play2.4ãããroutesãã®ä»ãæ¸ããã«Scalaã³ã¼ãã ãã§æ軽ã«http serverãçæãèµ·åã§ããæ©è½ãå ¥ã£ããããã§ãã æ軽ã«ã¡ãã£ã¨ããmockã®ãµã¼ãã¼ä½ãããã¨ããè²ããªç¨éã«ä½¿ãããã§ããï¼ ä»¥ä¸ãsbtã®scalasã¨çµã¿åãããæä½éã®ãµã³ãã«(18è¡ã§ããã) è²ããªè©³ç´°ã¯è§£èª¬ããªãã®ã§ãã³ã¼ããããã¥ã¡ã³ãèªãã§ãã ããã ä¸è¨ã§ã¯scalasã§ãã£ã¦ã¾ãããããªããããªbuild.sbtã¨Main.scalaã¿ããã«2ã¤ãã¡ã¤ã«ç¨æãã¦ãããã¡ããåãã¾ãã(ãã®å ´åã®ãµã³ãã« https://gist.github.com/xuwei-k/bd74a82f4904cc025d2e ) æ軽ã«ããã«ã¯modeãplay.api.Mode.Testã«ããªãã¨ãapplication.confãèªã¿ã«ãããã¨ãã¦æ»ã¬ã®ãå°å³ã«é¢åã§ããã ServerC
Ajaxã®ã¡ãªãã é¨åçãªæ å ±ã ãã§ããã®ã§ãã¼ã¿è»¢ééãå°ãã ãããã£ã¦éä¿¡é度ãä¸ãããæç»ãéããªã ã¤ã³ã¿ã©ã¯ãã£ãï¼ Ajaxã®åé¡ç¹ ãªã³ã¯ã§ããªã ãã©ã¦ã¶ã®å±¥æ´ã使ããªã Crawlerãã³ã³ãã³ãã«ã¢ã¯ã»ã¹ã§ããªã Refererã«æ å ±ãæ®ããªã JavaScriptãåä½ããªããã©ã¦ã¶ã§ã¯è¡¨ç¤ºã§ããªã
2014-03-29 / scala / sbt Preview of upcoming sbt 1.0 features: Read about the new plugins ã訳ãã¾ããã è @eed3s9n, @jsuereth sbt ã«å¤åã訪ãããã¨ãã¦ãããsbt 1.0 ã¸åã㦠sbt ã®åçã§ããèªåå (automation)ãã¤ã³ã¿ã©ã¯ã·ã§ã³ (interaction)ãçµ±åå (integration) ã®å ¨é¢ã«ããã¦æ¹åãã¿ãããäºå®ã ã1.0 ã®äºå¤§æ©è½ã¨ç®ããã¦ããã®ã¯ auto plugin ã¨ããã«ããµã¼ãã¨ãã¦ã® sbtãã® 2ã¤ã ã ä»å¾ã®æ°ã¶æã«ããã£ã¦ sbt ãã¼ã 㯠sbt 0.13 ã³ã¼ããã¼ã¹ä¸ã«ãããã®æ©è½ã追å ããããªãã¥ã¼çããªãªã¼ã¹ããããããã®ããªãã¥ã¼çã«ãã£ã¦ãsbt 1.0 ã®ä»æ§ãåºã¾ãåã«ã³ãã¥ããã£ã¼ããã®ãã£ã¼
Travel, camera, photo, and technical things. I work at Dropbox. Thoughts are my own. Play 2.2/Scalaã§Logbackã®è¨å®ãLTSVã«ãã 9th October 2013 #logback #logger #ltsv #playframework #scala 趣å³ã®ããã°ã©ã ãPlay Framework 2.2ã¨Scalaã§æ¸ãã¦ãã¾ãã趣å³ã®ããã°ã©ã ãªã®ã§ããã°ãç£è¦ããããããããªäºã¯ã¾ãç¡ãã®ã§ããããã¨ããããã°ã©ã ã§èªã¿ãããããã«LTSV (Labeled Tab-separated Values)å½¢å¼ã§åºåããäºã«ãã¦ã¿ã¾ããã ãã°ã®è¨å®ã¯ãconf/application-logger.xmlã¨ãããã¡ã¤ã«ãä½ã£ã¦ããã°èªã¿è¾¼ãã§é©ç¨ãã¦ããã¾ãããããã試è¡é¯èª¤ãã
ã¯ããã« ããã«ã¡ã¯ããã¯ããªã³ã¯äºæ¥é¨éçºé¨ãµã¼ããµã¤ãéçºèª²ã®kitajimaã§ããå¼ç¤¾ãµã¼ãã¹ãã¯ããªã³ã¯ã¯ãã·ã¹ãã åæ§ç¯ã®ä¸ç°ã¨ãã¦
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}