32. Web Application ã·ã¹ãã æ§æ Java Web Application Framework O/R Mapper Router Template Engine MySQL HTTP Client HTTP Server Apache2 JSON Serialiser
ã¢ãã¤ã«ãã¡ã¯ããªã¼ã®æè¡è ã®æ¾éã§ãã ä»åã¯Wassrï¼ã¯ããµã¼ï¼ã®æè¡çãªå´é¢ã«ã¤ãã¦ã®ã話ãããã¦ããã ãã¾ãã ãã¬ã¼ã ã¯ã¼ã¯ Wassréå§ä»¥æ¥ããâ Wassrã£ã¦Railsã§ã§ãã¦ããã§ããï¼ãã¨ããèãããã®ã§ãããWassrã¯Railsã§ã¯ãªãSledgeã¨ãããã¬ã¼ã ã¯ã¼ã¯ã§ã§ãã¦ãã¾ããSledgeã¯livedoorãå ¬éãã¦ãããã¬ã¼ã ã¯ã¼ã¯ã§ãå¼ç¤¾ã§ã¯åµæ¥ä»¥æ¥ä¸è²«ãã¦Sledgeã使ãã¤ã¥ãã¦ãã¾ããSledgeã®é åã¯ãã®æè»æ§ã«ãããå ¬éããã¦ããæ°å¹´ãã£ãä»ã®ç¾ç¶ã§ãååå®ç¨ã«èãããã¬ã¼ã ã¯ã¼ã¯ã§ãã ãµã¼ãæ§æ Wassrã¯2007å¹´6æ20æ¥ç¾å¨ã16å°æ§æã§åãã¦ãã¾ãã詳細ã¯å³1ãåç §ãã¦ãã ããã使ç¨ãã¦ããã½ããã¦ã§ã¢ã¯ãã¹ã¦ãªã¼ãã³ã½ã¼ã¹ã§ããããã¯ãä½ãåé¡ãèµ·ããã¨ããããã®ã½ããã¦ã§ã¢ã«ã¤ãã¦ããªãæ©è½ã追å ãããã¨ããªã©ã«ãèªåã§å¯¾å¿
主㫠KDP ããããã¦ã¿ããã¨ããçç±ã§ãããã ãã¦ã¿ã¾ããã Perl 㧠Test ãæ¸ãã¨ãã®ãã¤ã³ããæ¼ããã¦ã¡ãããã¾ã¨ãã¦ãã¾ããããªã¥ã¼ã çã«ã¯ã¡ãã£ã¨ããå°ååç¨åº¦ã§ããæ¬å½ã«èªåã§å®è·µã«ã¤ãã£ããã¨ããããã®ããã®ãã¦ãªãã®ãã²ã¨ã¤ã®ç¹å¾´ã§ãã ä»å㯠pandoc ã§ã¤ãã£ã¦ã¿ã¾ããã gumroad ãããè²·ããããã«ãã¦ã¿ã¾ãã ãªãç®æ¬¡ã¯ä»¥ä¸ã®ã¨ãã - åæ¸ã - 対象èªè - ãªã«ã¯ã®ã£ã¦ããªãã - æ³å®ç°å¢ - ã«ã¤ã¼ã³ - Test::More ããã¡ããåºæ¬çãªãã¹ã - 便å©ãªã¦ã¼ãã£ãªãã£é¢æ° - is é¢æ° - cmp\_ok é¢æ° - is\_deeply($a, $b[, $msg]); - like($got, $regexp[, $msg]); - subtest é¢æ°ã§ãã¹ãã±ã¼ã¹ããã¹ãããã - Test::More ãããããã©
以ä¸ã®ãããªã³ã¼ããå®è¡ãã㨠console.log([ [1,1,8] [2,1,16] ]);ãã®ãããªçµæã«ãªãã [ undefined ]ã¢ã¬ã¬ã¼ã£ã¦ãªã£ã¦ããã ãã© kazuho ããã«ãããã¨ããã [1,1,8][2,1,16] => ([1,1,8])[(2,1,16)] => ([1,1,8])[16] => undefinedã£ã¦ãã¨ã§ããã ãããªæãPerl Monger ãªãã¨ãããã B::Deparse ãããã¨ã«ãã£ã¦è§£æ±ºã®ç³¸å£ãããããã ãã©ãããããã® EcmaScript ã§ã©ãããããããã£ã¦ãªãã¨ã kazuho ããã«ãããã¨ãããesprima ã£ã¦ãã es ã®ãã¼ãµã¼ããããã£ã¦æãã¦ããã£ãã®ã§ãAST ã¯ã¨ãã ãããã ãã©ãAST ãã¿ã¦ãåããããªãã®ã§ãAST ããã½ã¼ã¹ã«ãã¨ãåããªãããªã¼ã¨ããããã¨ãã const ãªãã¨
shell script ã¯æ®æ®µããã¦éãããã¨é¡ã£ã¦ãã¾ãªãããã§ããããã¾ã«ã¯æ¸ããªãã¨ãããªããã¨ãããã®ã§ãããããã¨ãã¯è¦ãã¦ããã¨ä¾¿å©ãª tips ã2ã¤ã autodie ã£ã½ãããset -eã¨ããã¨ãã³ãã³ãã®å®è¡ã«å¤±æããã¨ãã«ããã§å®è¡ãã¨ã¾ãã®ã§ä¾¿å©ã #!/bin/sh set -e perl -e 'die' echo SHOULD NOT REACH HEREã¨ãã㨠% ./hoge.sh Died at -e line 1. % echo $? 255ã¨ãªã£ã¦ãæå¾ã¾ã§ãããã«æ»ã«ã¾ãã è¤æ°ã®ã³ãã³ããé çªã«å®è¡ããã¨ãã«ä¾¿å©ã ãªãã以ä¸ã®ãããªæåããããã ããã§ãã ãã ã失æããã³ãã³ãã until ã¾ã㯠while ã«ã¼ãã®ä¸é¨ã§ããã if æã®ä¸é¨ã§ããã && ã¾ã㯠|| ãªã¹ãã®ä¸é¨ã§ããã ã³ãã³ãã®è¿ãå¤ã ! ã§å転ããã¦ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}