ã¯ããã§! ã¤ããã§! ã¯ããã®PHP!! #phpkansai
ãã®è¨äºã¯ã PHPã«ã³ãã¡ã¬ã³ã¹é¢è¥¿2015 ãã® ãªã¬ã¼ããã° ã®ã¨ã³ããªã¼ã§ãã
æ¨æ¥ã¯ã@aa7th ãã PHPã¨Scalaã¨ç§ #phpkansai ã§ããã
ãã®ã¨ã³ããªã¼ã®ã¿ã¤ãã«ããã¯ããã§! ã¤ããã§! ã¯ããã®PHP!!ãã¨ããã®ã¯ãããããããä»å¹´ã®PHPã«ã³ãã¡ã¬ã³ã¹é¢è¥¿ã®ãã¼ãã«ãªããããããªããã£ãæè¨ã§ããããçµå±ã¯æ¡ç¨ããããä»å¹´ã¯ããã¼ããªããã¨ãããã¨ã§ããã«ãªãã¾ããã
ããããã¤ãåºã¦ããã¨ãã®ç©ºæ°æããããè¯ãã¦å¿ããããªãã£ãã®ã§ããããã¦æ®ãã¦ãããã¨æãã¾ãããé¢è¥¿äººã®åè«ã¿ãããªæè¨ã§ãããããå®ã¯ä»ã®PHPã³ãã¥ããã£ã«ã¨ã£ã¦ãã¨ã¦ã大äºãªã¡ãã»ã¼ã¸ãå«ãã§ããã¨æãã®ã§ããã¾ãã§ã
- ã¯ããã§!
- ã¤ããã§!
- ã¯ããã®PHP!!
ã§ã¯ãã²ã¨ã¤ã²ã¨ã¤è§£èª¬ãã¦ããã¾ãããã
ã¯ããã§!
éãã¨ããã°PHP7ã§ããã
ããã¾ã§ããPHP4ãã5ã®éã§ãã¾ããPHP5.3ãã5.6ã®éã§ãããã®ãããé«éåããã¦ãã¾ãããHHVMãªãã¦å¥ã®å¦çç³»ãããã¾ããWikipediaãçéã«ãããã¨ã§æåã§ãããå®ã¯ä»ã®PHPå¦çç³»ã¯ãã¤ã³ã¿ããªã¿ã¨ãã¦ã¯ããªãéãé¨é¡ã«ãªãã¾ãã
ã¨ã¯ãããHHVMã¾ã§è¡ãã¨ãããã«ã¡ãã£ã¨ãã¼ãã«ãé«ãã£ããã§ãããããããã¯ãããç¸å½ã®é度ããªãã¨ãPHP7ã¨ããããµã¤ãã®PHPãã§å¾ããããã§ãã
ã¾ããä»®æ³ãã·ã³ãä¸è¬çãªWebã®è¨èªã«ãã£ã¦ãPhalcon ã¨ããããã¬ã¼ã ã¯ã¼ã¯ã³ã¼ããã»ã¼ãã¤ãã£ããã¨ããéãã¸ã®ã¢ããã¼ããããã¾ããReactPHP ã¨ãããNode.js ã®ãããªéåæIOãå®ç¾ãããã¨ã§ãè£æ¹ã®å¦çç³»ã®ããã©ã¼ãã³ã¹ãé«ããã¢ã¤ãã¢ãããã¾ãã
ããã«æ©ãä½ãããã¨ããã®ãã¾ããPHPãããã¾ã§Webã§æ´»èºãã¦ããçç±ã®ã²ã¨ã¤ã§ããè¿å¹´ãã¨ã³ã¿ã¼ãã©ã¤ãºæåã§ã®ç¨éã«ã使ããããã«ãªã£ãã¨ã¯ãããå½å LAMP ã¨ããè¨èãæå³ãã¦ãããã¨ããã®ä¸ã«PHPããããã¨ã¯ãã¨ã¦ã大äºãªãã¨ã ã¨æãã¾ãã
ä»åã®ã«ã³ãã¡ã¬ã³ã¹ã§ã¯ãåºèª¿è¬æ¼ã«PHP7ã®ã話ãããã¾ããPhalconã®ã»ãã·ã§ã³ãè¨ãã¦ãã¾ããèªåå人ã¨ãã¦ã¯ãéçºã®æ©ã=RAD (Rapid Application Development) ã®è¦ç¹ããããã¬ã¼ã ã¯ã¼ã¯ãã©ãã¯ã®ãã¡1ã»ãã·ã§ã³ãæ å½ããã¦ãããã¾ãã
ã¤ããã§!
ç¹°ãè¿ãè¨ã£ã¦ãããã¨ãªãã§ãããPHP ã¯ãªã¯ã¨ã¹ããã¨ã«ã¯ã©ã¹å®ç¾©ããæåããèªã¿ç´ããçµãã£ããå ¨é¨æ¨ã¦ããã§ããããããããã¢ãªéãã§åããã§ããWebãªã¯ã¨ã¹ãã¯ããã¶å¥ã®ããã»ã¹ç©ºéã§ãããããå¼·ãã®ç§è¨£ã§ãããã
ã¯ããããå®å ¨åé¢ããã¦ããã¨ãããã¨ã¯ããµã¼ããç°¡åã«ã¹ã±ã¼ã«ã¢ã¦ãã§ããã£ã¦ãã¨ã§ããglobal使ã£ã¦ããããstaticå¤æ°ä½¿ã£ã¦ãããããããã¤ããåé¢ããã¦ããã§ããããã®ãã©ãã§ãã¿ãã¨ããã®ã¯ãã¾ããããªãPHPã®å¼·ãã§ãã
ã¾ããããæ°å¹´ã§å¼·åãªãã¼ã«ãã©ãã©ãç»å ´ãã¦ãã¾ããPHPUnit ã¯ãã¡ãããComposer, PhpStorm... ã©ã¤ãã©ãªãªã SwiftMailer ã Guzzleããã¬ã¼ã ã¯ã¼ã¯ããã¾ãã¾ãªç¨éã«æ´¾çããã©ãã©ãæ´ç·´ããã¦ãã¾ãããã®è£ã«ã¯ãPSR ã¨ããå¼·ãå®å¹åã®ããæ¨æºåæ©æ§ããã£ãããã¾ããå人çã«ã¯ãåããã¼ã¹ã«éç解æã§ããLLã ã¨ããç¹ã§ãLLã§å å®ãªããã°ã©ã ãæ¸ããªãPHPã¯æå¼·ãªããããªããã¨æã£ã¦ãã¾ãã
ã»ãã¥ãªãã£é¢ã§ãããã£ã¨ãã¯ããã¨ãã°PHPã使ããªããã¨è¨ããããã¨ãããã¾ããããä»ã§ã¯ããã£ã¨ãå©ããã¦éããããã»ãã¥ãªãã£æèãæã¤æåã«ãªã£ã¦ããããããªããã¨ãå人çã«æã£ã¦ãã¾ããWebã¢ããªã±ã¼ã·ã§ã³ã®ã»ãã¥ãªãã£ã«é¢ãã¦ããã£ã¨ãè¦èã®ãã層ã®æ¹ã ããã®é¢å¿ãéãã¦ããã®ã¯ãééããªãã¨æãã®ã§ãã
ã«ã³ãã¡ã¬ã³ã¹ã®ã»ãã·ã§ã³å 容ã¨ãã¦ã¯ããã¬ã¼ã ã¯ã¼ã¯ã ããç¹éãããã©ãã¯ãè¨ãã¦ãã¾ããå¼·åãªã¢ãã³ãã¬ã¼ã ã¯ã¼ã¯ã®ä¸çã楽ããã§ããã ããã°ã¨æãã¾ããã»ãã¥ãªãã£ã«ã¤ãã¦ã¯ãªãã¨2ã»ãã·ã§ã³ããã¾ããCodeceptionãCI(ç¶ç¶çã¤ã³ãã°ã¬ã¼ã·ã§ã³)ã®è©±é¡ã楽ãã¿ã§ããã
ã¯ããã®PHP!!
æå 端ã§ã¯ã©ãã©ãéããå¼·ããªã£ã¦ããPHPã§ããããã®ãã£ã½ãã§ãPHPã¯ããä¸è¬çãªWebã¨ã³ã¸ãã¢ããè¦ã¦ãããã¦é ãåå¨ã§ã¯ããã¾ãããWebã®éçºã«æºãã人ã ã«ã¨ã£ã¦ãPHPã¯ãã£ã¨ã親ãã¿ã®ããè¨èªã®ã²ã¨ã¤ã§ãã
PHPã¯ä¸»ã«ãWebã®ãµã¼ããµã¤ãã®æåé¢ã«ç«ã¤æè¡ã§ããããã³ãã¨ã³ãã®äººã¨ã®é¢ä¿ãã¨ã¦ãæ·±ãã§ããããWebãã¶ã¤ãã¼ãè¦ãããããã°ã©ã è¨èªãã³ãã¼ã¯ã³ããã³ãã¼ãã¼ã¯ããªãã¨ãã£ã¦ãJavaScriptã¨PHPã§ããããã
éçºã¨ã¯é¢ä¿ã®ãªãWebã®ã¦ã¼ã¶ã¼ã«ã¨ã£ã¦ãããã§ããFacebookãWikipediaããã¿ããªPHPã®ããããã¾ã§ãããªãã ããã è¨ããªããããã¿ããªæ¥ã ãWordPress ã§å ¬éãããè¨äºãèªãã§ãã¾ããããã¾PHPã¯ãWebã«ãªãã¦ã¯ãªããªããã¿ããªã®PHPã§ãã
ãã¾ã ã«ãã¾ã ãã¸ã£åã ã£ãé ã®çãåºãããããã¾ããããããã¾ããã¿ããªã§ãããããããã¨å ±æã§ããæå¬ããé¨åãªã®ã§ããã»ããé åã¨è¾æ¸ããã¡ãã¾ãã¨ããæååãæ°å¤è¨ç®ã§ãã¡ããã¨ãããªãããããããããªãã§ããã(ã§ãããã¯æ¡å¤å®åã§ä¾¿å©ã ã£ãããããã¨ã®æ¹ãå¤ã)
ã«ã³ãã¡ã¬ã³ã¹ã®ã»ãã·ã§ã³ã«ã¯ãPHPã«éå®ãã話ã®ã»ãã«ãããã³ãã¨ã³ããã¯ã©ã¦ããã¢ã¯ã»ã¹è§£æãããã¸ã§ã¯ã管çã¨ãã£ããä»ã®åéã«åºãã£ã¦ãã話é¡ãæºè¼ã§ããã¾ããPHPã«ã³ãã¡ã¬ã³ã¹é¢è¥¿ã¯åå è å ¨å¡ã«ã¨ã£ã¦ããã¯ããã®ãã«ã³ãã¡ã¬ã³ã¹ã§ããä¸ç´è åãã ãã§ãªããåå¿è åãã»ãã·ã§ã³ãIDEã¨Gitã®ä½é¨ãã³ãºãªã³ãªã©ããéè¦ãªãã¼ãã¨ãã¦çãè¾¼ãã§ãã¾ãã
ã¨ãããã°ãã®ãã¸ã£åãªã¨ãããæ¶æãããã¡ãªPHPã§ããããããªå£°ã¯ãã®ã¨ããããPHPã¨PHPæåã®ãã¯ããããã¤ãããããèªããæã£ã¦ããããã¯ããã®PHPãããã¨ã¢ãã¼ã«ã§ããå ´ãä½ãããããããªPHPã«ã³ãã¡ã¬ã³ã¹ãé¢è¥¿ã§æä¾ãã¦ããããããã¼ãæ¡ãã¯ããã§! ã¤ããã§! ã¯ããã®PHP!!ãã¯ãããªæãããåºã¦ãã¾ããã
ã¾ãããã£ã¦ããã§ããã©ã(^^; ãããããªãã§ãããæ°æã¡ããããã°ãä½è£ãªãã¦ã
â» @shin1x1, @aa7th, @omoon ã¨ã®ãã¼ãã£ã³ã°ã¨èã«æè¬ã
ãããªã¬ã¼ããã°ã§ã©ãã©ããã³ã·ã§ã³ä¸ãã¦ããã¾ããã¼! 次㯠@slywalker ããã§ãã â 忍び歩く男 - SLYWALKER ããããã¿ã¦ã (å¤ä¼ã¿ãã©ãåå ´)