PHPã®ãããããã°ã©ãã³ã°è¨èªãã®å¼å®³
å æ¥ã®ã¨ã³ããªã¼ã§ãå°ã触ããããPHPã®æ大ã®åé¡ç¹ã¯ããããæã¤ãä¸è¦ãã®è¨èªæ§é ãããããããã°ã©ãã³ã°è¨èªã®å½¢ãã¨ããªãããããã°ã©ãã³ã°è¨èªã®æã大åãªã¨ãããå¤ãã¦ãããããããã°ã©ãã³ã°è¨èªãã§ãããç¹ã«ãããWebã¢ããªã±ã¼ã·ã§ã³ã®éçºã§æ³¨æãã¹ãé¨åã¨ã¯ä½ããæ ¹åºã®é¨åã§ã¡ããã¨ç解ããã«PHPã¢ããªã±ã¼ã·ã§ã³ãä½ãã¨ãå¾ã ã²ã©ãç®ã«ä¼ãã®ã§æ³¨æãå¿ è¦ã§ããã
ããã®æå³ã§ã¯ãPHPã§ããã°ã©ãã³ã°è¨èªãå¦ã¶ããªã©ãã£ã¦ã®ä»ã ãããJavaã§ãPHPã¨åããããªããã°ã©ãã³ã°è¨èªãä½ã£ã¦Webã¢ããªã®éçºãå¹çåãããããªã©ã¨ããçºæ³ãã¨ã¦ãå±éºã§ããã
ãPHPã®çºæ³ã®æ ¹åºã«ã¯ããHTMLãã³ãã¬ã¼ãç¨è¨èªã¨ãã¸ãã¯è¨è¿°ç¨è¨èªã®çµ±ä¸ã«ãããéçºã³ã¹ããæ¸ããããã¨ãã CGI æ代ã®å®æãªçºæããããPHPã¯ããã®åè¿ä»£çãªçºæ³ãéãã¦ããã³ãã¬ã¼ãã¨ãã¸ãã¯ãåããã¡ã¤ã«ã«æ¸ãã¾ããããã¨ããæªç¿ãåºãã¦ãã¾ã£ã¦ããã
(ä¸ç¥)
ãç§ã¯ãã©ããªããã°ã©ã ã常ã«å³å¯ã«å©ç¨ããè¨èªã®ãã©ãã¤ã ã«åºã¥ãã¦ä½ãã¹ãã ãã¨ä¸»å¼µãã¦ããããã§ãããPHPã¯ä½¿ãç©ã«ãªããªããã¨æ¹å¤ãã¦ããããã§ããªãã®ã§èª¤è§£ããªãã§ããã ããããããã§ç§ã強調ãããã®ã¯ãPHPã¯æ¬æ¥ã®ããã°ã©ãã³ã°è¨èªã¨ã¯ã»ã©é ãããPHPã®ä¸ã«æ®éã«Webã¢ããªã±ã¼ã·ã§ã³ãä½ãã¨ããã¸ãã¹ãã¸ãã¯ããã³ãã¬ã¼ãã«æ··ãè¾¼ãã§æ¸ãäºã«ãªã£ã¦ãã¾ãããé¢å¿ã®åé¢ããä¿ã¤ãã¨ãé£ãããªããã¨ããç¹ã§ããã
ãã? æ£è«ã«ãªã£ã¦ã!?
(inspired by Ruby on Railsã®ãããMVCãã®å¼å®³)