Web Platform Dive into the web platform, at your pace.

2018å¹´1æ10æ¥ã«éå¬ããã DCI Tokyo 1 ã«ç¶ãã2018å¹´3æ27æ¥ã« DCI Tokyo 2 ãéå¬ããã¾ãããä»åã James Coplien @jcoplien ããããæããã¦ã®ãã¼ã¯ã»ãã·ã§ã³ã¨ãªãã¾ãããä¼å ´ã¯ æ ªå¼ä¼ç¤¾ã´ã¡ã«ç 究æ æ§ã«æä¾ãã¦ããã ãã¾ããã ã»ãã·ã§ã³ã¯ãåååæ§ @remore ãã㨠@ganchiku ããã«ããåæé訳ã¨ã¨ãã«é²ãããã¾ããã ä»åã®ãã¼ãã¯ãã«ããã©ãã¤ã ãã¶ã¤ã³ï¼Multi-Paradigm Design: MPDï¼ã®ä¸æ ¸ãæããDCI / ãªã¼ã³ã¢ã¼ããã¯ãã£ï¼Lean Architectureï¼ã¨ãæ·±ãé¢ä¿ãã å ±éæ§ï¼å¯å¤æ§åæ ã§ããã ã¬ãã¼ã㯠@smori1983 ãæ å½ããã¦ããã ãã¾ãã å½æ¥ã®æ§å㯠Coplien ããã®è¨±å¯ãå¾ã¦ YouTube ã® DCI Tokyo å ¬å¼ã¢ã«ã¦ã³ãã«
æ¬æ¥ã®èª²é¡ ããã«ã¡ã¯æ¤æ¨å樹ã§ããæ¬æ¥ã¯ãµã¼ãã®ç£è¦ã«ã¤ãã¦åãä¸ãããã¨æãã¾ããWebãµã¼ãã¼ãç«ã¦ãããµã¼ãã¹ãæ£å¸¸ã«ç¨¼åãã¦ããããã§ãã¯ãã¦ãããããã®ã§ããããã«ç°å¸¸ãæ¤ç¥ãã¦ã¡ã¼ã«ã§éç¥ãåãããã¨ãã§ããã°ããªãã¹ãæ©ãåå 調æ»ã¨å¯¾å¿ã«çæãããã¨ãã§ããæ©ä¼æ失ãæå°éã«æãããã¨ãã§ãã¾ãã ãã¦ç£è¦ã¨ãªãã¨ãç£è¦ãã¼ã«ããå©ç¨ããã®ãæ©è½ãè±å¯ã§è¨å®ãç°¡åã§ãããããªç£è¦ãã¼ã«ãä¸ã«ã¯ãããã溢ãã¦ãã¾ãããªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ã ã¨ZabbixãNagiosãMuninãªã©ã代表çãªã¨ããã§ãããããæ¬æ¥ã¯ãCactiï¼ã«ã¯ã¿ã¤ï¼ãã¨ããç£è¦ãã¼ã«ã使ã£ãURLç£è¦ããç´¹ä»ãããã¨æãã¾ãã 2013å¹´8æ24æ¥ã«Cactiã§URLã®ç£è¦ãã§ãããã©ã°ã¤ã³ããªãªã¼ã¹ããã¾ãããæ¬æ¥ã¯ãã®ãã©ã°ã¤ã³ã使ã£ãç£è¦ã試ãã¦ã¿ããã¨æãã¾ããããã§ã¯è¨å®ãã¦ããã¾ãã
(2013/10/09追è¨ï¼ PHPéçºç°å¢ãæ§ç¯ãããµã³ãã« Vagrantfile ãã¢ãããã¾ããã PHPéçºç°å¢ã®ãµã³ãã«Vagrantfile 第7åé¢è¥¿PHPåå¼·ä¼ã§çºè¡¨ããä¸è¨ã®å 容ããã¼ã¹ã«ãããå®è·µçãªå 容ã追å ãã¾ããã PHPã·ã¹ãã ã®éçºç°å¢ãVagrantã§ä½ããã¨ãé¡æã«ãåºæ¬çãªæµããã話ãã¾ããã ãã¤ã³ãã¯ããããã¸ã§ãã³ã°ã«ã·ã§ã«ã使ãé¨åã¨ããã¯ã synced_folder ã§ãããAWSä¸ã«ãåãç°å¢ãæ§ç¯ã§ããé¨åãããå°ãæ·±ãã話ãããã£ãã®ã§ãããæéã足ãã¾ããã§ããï¼ï¼ ã¾ããVagrantfile ããããã£ã¬ã¯ããªï¼vagrant upããã«ã¬ã³ããã£ã¬ã¯ããªï¼ã synced_folder ã¨ãªã£ã¦ãã¦ãä»®æ³ãã·ã³ã§ã¯ /vagrant ã¨ãã¦ã¢ã¯ã»ã¹ã§ããã¨ãããã¨ãç¥ã£ã¦ããã¨ä¾¿å©ã§ãããããå©ç¨ããã¨Chefã®templat
2013/9/14ã«è²ç°ã®å¤ªç°åºç£æ¥ãã©ã¶PiOã§éå¬ãããPHPã«ã³ãã¡ã¬ã³ã¹2013ã§Composerã«ã¤ãã¦ã®çºè¡¨ãè¡ã£ã¦ãã¾ãããComposerã使ã£ãäºãç¡ãæ¹åãã«ã¾ãComposerã使ãã¨ä½ã便å©ãªã®ããautoloadãã©ã®ããã«ä¾¿å©ãã¨ããç¹ã«çµã£ã¦è§£èª¬ãããã¦é ãã¾ãããçºè¡¨è³æã¯ä¸è¨ã§ããæ¢ã«Composerã使ã£ã¦ããæ¹ã ã«ã¨ã£ã¦ã¯èã飽ããæ å ±ããããã¾ããããããããComposerã使ã人ã«åãã¦æ¹ãã¦ãã¤ã³ããæ¯ãè¿ãã¾ãã Composerã¯ä»ããã«ä½¿ãã { "require": { "dg/twitter-php": "*" }, "autoload": { "psr-0": {"": "lib/"} } } Composerã¯PHPã®ã³ãã³ãã©ã¤ã³ã使ããç°å¢ã§ããã°ç°¡åã«å®è¡ã§ãã¾ããã¤ã³ã¹ãã¼ã©ã¼ãå®è¡ããã°PHPããå®è¡å¯è½ãª compos
9. åé¡ã®å®è£ 9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 <?php class BlackListDB { const DBPATH = "/tmp/db.gdbm"; public function isBlock($id) { $dbh = dba_open(self::DBPATH, "r", "gdbm"); if ($dbh === false) { return null; } $ret = dba_exists($id, $dbh); dba_close($dbh); return $ret; } } 10. åé¡ç¹ 10 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 <?php class BlackListDB { const DBPATH = "/tmp/db.gdbm"; publ
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}