BASE CTOã®è¤å·ã§ãã
ãªãã»ã³ã¹ãããéå¶ããã¦ãã転è·ãã©ããã¨ãã転è·ãµã¤ãã§ãå ¨å¡ã®ãããã£ã¼ã«ãèªãã§ãã¦èã æ°ãã¤ãã¦ãããã¨ã«æ¹ãã¦æ°ãã¤ããããã®ã§ãããBASEã®æ¹ã§ãµã¼ããµã¤ãã«ä½¿ã£ã¦ããã¡ã¤ã³ã®æè¡ã¯CakePHPã¨ãããã¬ã¼ã ã¯ã¼ã¯ã§ããPHPã®æè¡ãªã®ã§ããã
æ°åã®å°±è·å ãRubyã使ã£ã¦ãã¦ãä»ã25ã27æ³ãããã«ãªã£ã¦ããè¥æã¨ã³ã¸ãã¢ã«PHPã®çµé¨ããªã人ãå¢ãã¦ããï¼
ã¨ãã大ããªåé¡ã«ã¶ã¡ãããã¾ãããæã ã¯è»¢è·ããã ãæ¹ã®åè·ã«ã¤ãã¦ã¯ãããã¤ãæå¾ ãã¦ããæµããããã¾ãã決æ¸ãECè¦ç¹ã§ã¯EC-cubeãªã©ã§PHPãæ±ã£ã¦ããä¼ç¤¾ããã®è»¢è·çµã¨ããã®ãéè¦ãªäººæä¾çµ¦æºã ã£ããããã®ã§ããããã以å¤ã«ãã¢ãã¤ã«ãã¹ããã¢ããªãæå¼·ã®UXãã¨ããã¹ã¿ã¼ãã¢ããçãªè¦ç¹ã«ããã¦ã¯ãã¢ãã³ãªã¹ã¿ã¼ãã¢ããã®ãµã¼ãã¹ã«æºãã£ã¦ããçµé¨ã¯é åçã§ããï¼å¥ã«ããã ãã§æ¡ç¨ãããã¯ãã¾ãããï¼
ã¤ã¾ã第äºæ°åãªã©ã®è¥æã¨ã³ã¸ãã¢ãæ¡ç¨ãããã¨ããã¨ãä»äºéå ·ã¨ãã¦PHPãä»æ´å¦ãã§ããã ãã¨ããããå§ããªãã¦ã¯ããã¾ããã
æè¿ãRailsã§ä½ããã¦ããã¹ããã³ãå人ã§éå¶ãã¦ããé¢ä¿ã§ããã£ã¤ãã½ã¼ã¹ã³ã¼ããè¦ã¦ãã¾ããããã¸ãã¹è¦æ±ã«ç §ããåãããã¨ãã¶ã£ã¡ããRailsãCakePHPãã§ãããã¨ã¯ããã¾ãå¤ãããªãããã§ãã
ãã¡ããRailsã¯é«ãçç£æ§ãçºæ®ããç´ æ´ããããããã¯ãã§ãä½ã£ã¦ãã¦æ¥½ããWAFã ã¨ã¯æãã¾ãããã¹ã±ã¼ã«ããã·ã¹ãã ã«ããã¦æ±ãã¦ããåé¡è§£æ±ºã®ä¼è©±ã«ããã¦ãè¨èªãWAFã®éè¦æ§ã¯ãå²ã¨ã©ãã§ããããªã£ã¦ããã
ã¤ã¾ããèµ·ããåé¡ãè¨èªã®åé¡ã§ã¯ãªããã¢ã¼ããã¯ãã£ã«èµ·å ãããã¨ã®æ¹ãå¤ãã®ã§ãæ¥ã ã®åé¡è§£æ±ºã«ããã¦è©±ãã¦ããå 容ã¯è¨èªã®è©±ã§ã¯ããã¾ããã
ãã¹ããã³ãRailsãªã®ããæ¹ãã¦èãã¦ã¿ãã°ãä¸åº¦10å¹´åã®ãã¤ãã¿ã¼ã¨åããªããã§ããã®ãããã¯ãã¯ãN+1åé¡ãæ±ããã¿ã¤ã ã©ã¤ã³åãããã¯ãã¨ãã¦è¶ åå¼·ã«ãªã£ã¦ããããããã£ã¦ã¿ã¤ã ã©ã¤ã³ã¯é 延ãã¦ãã®ãã¨ãããã¨ãå®æã§ãã¾ãã
ã§ãããTwitterã®ãã®å¾ãè±Railsããããã¨ãå ããã¨ãæé·ãããµã¼ãã¹ã«ããã¦ãã«ã¹ã¿ãã¯ãªãã¬ã¼ã ã¯ã¼ã¯ãå¯ä¸ããç¯å²ã¯å¤ãã¯ãªãããªã¨æãããã§ãã
ï¼ããã¯åãã®åé¡ã¨ãã¦CakePHPã«ãå ¨ãåããã¨ãè¨ããããã§ããã¤ã¾ãåãã¯åãã§Cakeã«ä¾åãã¦ã¯ãããªãããã§ããããã£ã±ãçç£æ§ã®é«ãWAFã¯ã©ããã§å¹çæ§ãå¼ãæãã«å©ä¾¿æ§ã«ããã¯ã¤ã³ããã¦ãã¾ãã®ã§å°å³ã«è±ããã®ã¯é£ãããã§ãããï¼
ã¾ãã¯ã©ã¦ãã®çºéã§AWSãGCPãªã©ãç´ æ©ãæ±ãããã¨ã®æ¹ãéè¦æ§ãå¢ãã¦ãã¦ãWebéçºè¨èªã¯ã©ããã°ã«ã¼ï¼ç³ï¼ã¨ãã¦ã®å½¹å²ã®ã»ãã大ãããªã£ã¦ãã¾ããã
ã¨ãããã¨ã§ãæã ã¨ãã¦ã¯20代ã®è¥è ã«å¯¾ãã¦ã¯ãè¨èªãå¦ã¶ãã¨ãéè¦ãªããããªãã¦ãWebãã¨ãã¾ãã¢ã¼ããã¯ãã£ããã£ããç¥ã£ã¦ãããã¨ã大åãªãã ï¼ã¨ããè¨èã¨ãã¡ã«ã«ãªããã ã£ã¦PHPã§ããï¼SlackãFacebookãPHPã§ããï¼ï¼æåãããµã¼ãã¹ã«PHPã¯å°ãªããªããã ãï¼ã¨ãããã¸ã·ã§ã³ãã¼ã¯ã交ããªããããæ£ããWebã¨ã³ã¸ãã¢ã®ããæ¹ãã説ãããã§ãã
ããã¦ããã®å ã«ãããããããã2017å¹´ã®æ®µéã§ãPHPãå¦ã¶ã«ã¯ã©ããããããã§ããï¼ãã¨ãã質åã«çããããã®è¨äºããã®è¨äºã§ãã
ã¨ããããããªã«ããææ°æ å ±ã¯ãªããã®ãã¨Twitterã¨ãã¹ããã³ã«æãã¦ã¿ã¾ããã
å å®è ã«phpã®ããæ¬ããã¾ããï¼ã¨èããã¦ããããããã®YAPCã®è³æãæ¤ç´¢ãã¦ãã ããã¨ãä¼ããããªã©ã
— ããµãã (@fshin2000) 2017å¹´4æ26æ¥
ããããããã®è³æãã¨ã¯ããã§ãã
â å端ãªPHPDisã§PHPerã«é°ã§ç¬ãããªãããã®Perl Mongeråãææ°PHPäºæ ï¼5.6対å¿ï¼ï¼YAPCå ¬å¼ãµã¤ãã®ç´¹ä»ï¼
半端なPHPDisでPHPerに陰で笑われないためのPerl Monger向け最新PHP事情(5.6対応) - YAPC::Asia Tokyo 2014
2014å¹´ã®YAPCã§ãPHPãã¿ã§ãã¹ããã¼ã¯è³ãåãã¨ããä¼èª¬ã®ãã¬ã¼ã³ãã¼ã·ã§ã³ã§ããã
ãã®ä»ãæãã¦ããã£ãURLãè²¼ã£ã¦ããã¾ããã
ã¾ã ãã¹ããã³ã®tootã®èä½æ¨©ãã¯ã£ãããã¦ãªãã®ã§åºæ¬URLã ãã«ãã¾ããcreative commonsãªã©ã§åå©ç¨æ¨©ã主張ã§ããããã«ãªãã¨ããã§ããï¼
â PHP The Right Way
â çæ°ãªããã°ã©ãã®ããã®PHPUnitã¯ãã¯ãã㯠https://leanpub.com/grumpy-phpunit-jp
â ãã¼ãã§ã¯ãPHPï¼æ¸ç±ï¼
â å¹ççãªWebã¢ããªã±ã¼ã·ã§ã³ã®ä½ãæ¹ ~PHPã«ããã¢ãã³éçºå ¥éï¼æ¸ç±ï¼
ãã¼ãã§ã¯ãPHPãæ¸ãããå°å·ããã®æ¬
â PHPå ¬å¼ããã¥ã¢ã«ã
https://secure.php.net/manual/ja/index.php
ãµã¤ãã«è¯ããããããããã§è¶³ããã
â PHPå ¬å¼ããã¥ã¢ã«
https://secure.php.net/manual/ja/appendices.php
ãããããè«ï¼ãphp.netã¯ãä»é²ã¨ããååã®æ¬ç·¨ãå ¨é¨èªãã§ããã ããããã
â PHPå ¥éï¼ã¨ã»ã»ã®Web)
http://www.tohoho-web.com/php/
â PHP The Wrong Way
http://www.phpthewrongway.com/
ãããããè«ï¼ãã²ããããï¼ï¼ï¼äººãªããthe wrong wayãããã¹ãï¼ï¼ï¼ã
éå ·ã¨ãã¦ã¯è¥å¹²æ¯ããå°è±¡ãå¼·ãPHPã§ãããæ´å²ãé·ãè¨èªãªã®ã§ãããæ ã«ã¢ãã³ãªéçºè¨èªã§æèããããããªãæ£ããæ±ãã¹ãã«ããæ±ãããã¾ãã
ä»ã«ããªã¹ã¹ã¡ã®æ¬ãWebè¨äºãããã¾ããããæ¯éã¯ã¦ãã§æãã¦ãã ããï¼
追è¨ï¼ãã®è¨äºãèªãã§ããã ããæ¹ããããã¾ãPHP7ã®ããæ°ãªãã ãï¼ã£ã¦ææ³ãããã ããã®ã§ãå ¨ç¶ãããªãã¨ãªãã§ããï¼ã£ã¦ãã¨ãæ¸ãã¦ããã¾ãï¼
ä»åã®è©±ã¯ãè¥ã人ãPHPããã¬ãã£ãã«æããã¾ã¾è¿å¯ããªãäºæ ã«ãªãã®ãé²ãããã«ãããã¦ãã£ã¡å´ã«å¯ãã¦æ¸ãã¦ããã¾ãããã以ä¸ã«ä»åãè¨äºãæ¸ãã¦ãã¦æã£ãã®ã¯ãæ¸ç±ãªã©ã®å¤§ããªæ å ±çºä¿¡ã«ã¤ãã¦ã2014å¹´ããããå¢ã«PHPã«é¢ããæ å ±çºä¿¡ãéåãã¦ããã¤ã¡ã¼ã¸ãæã£ããã¨ã
ããã§ã¯ãæ°ãã人ããå ¥ã£ã¦ããªãã®ãå½ããåãªã®ã§ãçãä¸ãã¦ãããªãã¨ï¼èªåãã¡ãPHP7.xã®ã ã¼ãã¡ã³ãã¯å¤§åãªãã¨ãªã®ã§ãæ å ±çºä¿¡ãå«ããæè¡çãã£ã¬ã³ã¸ãã¡ããã¨ãã£ã¦ãããããããã°PHPã使ã£ã¦ããã¨ã³ã¸ãã¢æ¥çãç½å¼ã§ããããã«ãã¦ããããã¨æã£ã¦ãã¾ãï¼ããããé¨åãå«ãã¦ãä¸ç·ã«å°æ¥ãä½ã£ã¦ãã£ã¦ããã ããæ¹ãåéãã¦ããã¾ãï¼