1. 人æ°ã®PHPãã¬ãŒã ã¯ãŒã¯ã®åœ¹å²ãšéèŠæ§
è¿å¹ŽãWebéçºã®äžçã§ã¯æ§ã ãªããŒã«ãæè¡ãç»å ŽããŠããããã®äžã§ãPHPãã¬ãŒã ã¯ãŒã¯ã¯éåžžã«æ³šç®ãéããŠããŸããã§ã¯ããªãPHPãã¬ãŒã ã¯ãŒã¯ãããã»ã©ãŸã§ã«äººæ°ãããã®ãããã®èæ¯ã«ãã圹å²ãšéèŠæ§ãæ·±å ãããŠãããŸãã
1.1 PHPãã¬ãŒã ã¯ãŒã¯ã®åºæ¬çãªåœ¹å²
PHPãã¬ãŒã ã¯ãŒã¯ã¯ãåºæ¬çã«Webã¢ããªã±ãŒã·ã§ã³ã®éçºãå¹çåãã質ãåäžãããããã®ããŒã«ãšããŠæäŸãããŠããŸããç°¡åã«èšãã°ãäžããå šãŠãäœæããã®ã§ã¯ãªããæ¢ã«ããéšåãæ©èœãçµã¿åãããŠã¢ããªã±ãŒã·ã§ã³ãæ§ç¯ããã®ã«åœ¹ç«ã¡ãŸãã
ãã¬ãŒã ã¯ãŒã¯ãæäŸããäž»ãªæ©èœãšããŠã¯ãããŒã¿ããŒã¹æäœã®å¹çåãã»ãã¥ãªãã£å¯ŸçãURLã®ã«ãŒãã£ã³ã°ããã¥ãŒãšããžãã¯ã®åé¢ãªã©ããããŸããããã«ãããéçºè ã¯ããé«åºŠãªæ©èœãç¬èªã®ããžãã¯ã«éäžããããšãã§ããå šäœã®éçºã¹ããŒããšå質ãåäžãããããšãå¯èœã«ãªããŸãã
1.2 ãã¬ãŒã ã¯ãŒã¯ã䜿ãå©ç¹
PHPãã¬ãŒã ã¯ãŒã¯ãå©çšããæ倧ã®å©ç¹ã¯ãå¹ççãªéçºãå®çŸããããšã§ããæéã®ãããã«ãŒãã³ã¯ãŒã¯ãèªååããããäžè¬çãªåé¡ã解決ããããã®æ¢åã®è§£ãå©çšããããšã§ãéçºã®ã¹ããŒããå€§å¹ ã«äžããããšãã§ããŸãã
å©ç¹ | 説æ |
---|---|
éçºé床ã®åäž | ç¹°ãè¿ãè¡ãã¿ã¹ã¯ã®èªååã«ãããæéãåæžãããã |
ã»ãã¥ãªã㣠| ãã¬ãŒã ã¯ãŒã¯ã«ã¯å€ãã®ã»ãã¥ãªãã£æ©èœãçµã¿èŸŒãŸããŠãããå®å šãªã¢ããªã±ãŒã·ã§ã³ãæ§ç¯ããã®ã«åœ¹ç«ã€ã |
ä¿å®æ§ | çµ±äžãããã³ãŒãã£ã³ã°ã¹ã¿ã³ããŒããã¢ãŒããã¯ãã£ã«ãããåŸããã®æ¹ä¿®ãæ¡åŒµã容æã«ãªãã |
äžèšã®ãããªå©ç¹ãæ倧éã«æŽ»çšããããšã§ãéçºè ã¯ããé«å質ãªWebã¢ããªã±ãŒã·ã§ã³ãå¹çè¯ãéçºããããšãã§ããã®ã§ãã
2. Laravel: 人æ°No.1ãã¬ãŒã ã¯ãŒã¯ã®é å
Webéçºã®äžçã«ãããŠãLaravelã¯éåžžã«é«ãè©äŸ¡ãšäººæ°ãæã€PHPãã¬ãŒã ã¯ãŒã¯ã§ãããã®èæ¯ã«ã¯ãLaravelç¬èªã®ç¹åŸŽãæ©èœãéçºè åãã®åªãããŠãŒã¶ããªãã£ããããŸãããã®ã»ã¯ã·ã§ã³ã§ã¯ãLaravelã®äž»ãªé åã䜿çšäŸãæ¢æ±ããŠãããŸãã
2.1 Laravelã®äž»ãªç¹åŸŽ
Laravelã¯ãç°¡æœã§èªã¿ãããã³ãŒããå®çŸããããã®å€ãã®ããŒã«ãæ©èœãæäŸããŠããŸããäŸãã°ãEloquent ORMã¯ããŒã¿ããŒã¹ã®æäœãçŽæçã«è¡ãããšãã§ãããããéçºã®ã¹ããŒãã¢ãããã³ãŒãã®è³ªãåäžãããŸãã
ãŸããBladeãã³ãã¬ãŒããšã³ãžã³ã¯åçãªã³ã³ãã³ãã®è¡šç€ºã容æã«ããã³ãŒãã®åå©çšæ§ãé«ããããšãã§ããŸããããã«ãLaravelã®ã«ãŒãã£ã³ã°æ©èœãããã«ãŠã§ã¢ãªã©ã®æ©èœããã»ãã¥ã¢ã§ã¡ã³ããã³ã¹æ§ã®é«ãã¢ããªã±ãŒã·ã§ã³ã®æ§ç¯ããµããŒãããŸãã
2.2 ãªãLaravelãå€ãã®éçºè ããæ¯æãããã®ã
ããã¥ã¡ã³ãã®å å®ãLaravelã®å€§ããªé åã®äžã€ã§ããåå¿è ããçµéšè ãŸã§ã誰ããå¿ èŠãªæ å ±ãè¿ éã«ååŸããçåãåé¡ã解決ããæå©ããšãªãæ å ±ãæã£ãŠããŸãã
ããã«ãLaravelã¯æŽ»çºãªã³ãã¥ããã£ã«æ¯ããããŠããŸããå€ãã®éçºè ãç¥èãå ±æããå©ãåã£ãŠãããããæ°ããæè¡ããã¹ããã©ã¯ãã£ã¹ãç¶ç¶çã«æäŸãããŸããããã«ãããLaravelã䜿çšããéçºã¯ãææ°ã®ãã¬ã³ããæè¡ãåãå ¥ãããããªã£ãŠããŸãã
2.3 å®éã®äœ¿çšäŸãšãŠãŒã¹ã±ãŒã¹
Laravelã¯ãå€æ§ãªãããžã§ã¯ããçšéã§å©çšãããŠããŸããå°èŠæš¡ãªãŠã§ããµã€ããã倧èŠæš¡ãªãšã³ã¿ãŒãã©ã€ãºã¢ããªã±ãŒã·ã§ã³ãŸã§ãå¹ åºãããŒãºã«å¿ããŠLaravelã¯ãã®åãçºæ®ããŸãã
䜿çšäŸ | 説æ |
---|---|
ECãµã€ã | Laravelã®æ©èœã掻çšããŠãååã®ç®¡çã泚æåŠçãå¹ççã«å®çŸã |
SaaSã¢ããªã±ãŒã·ã§ã³ | å€æ©èœãªããã·ã¥ããŒãããŠãŒã¶ãŒç®¡çãªã©ããLaravelã§ã¹ã ãŒãºã«å®è£ ã |
ã³ã³ãã³ã管çã·ã¹ãã (CMS) | ç¬èªã®ã³ã³ãã³ã管çã®æµããLaravelã§ã«ã¹ã¿ãã€ãºããŠå®çŸã |
äžèšã¯ã»ãã®äžéšã«éããŸããããLaravelã®æè»æ§ãšå€æ©èœæ§ã¯ãããŸããŸãªãããžã§ã¯ãã§ã®é©çšãå¯èœã«ããŠããŸãã
3. Symfony: åå©çšæ§ãšæ¡åŒµæ§ãæã£ããã¬ãŒã ã¯ãŒã¯
Webéçºã®äžçã§Symfonyã®ååãèããªãæ¥ã¯ã»ãšãã©ãããŸããããã®çç±ã¯ãSymfonyã®æã€åå©çšæ§ãæ¡åŒµæ§ããããŠãã®ç¬ç¹ãªéçºã¹ã¿ã€ã«ã«ãããŸãããã®ã»ã¯ã·ã§ã³ã§ã¯ãSymfonyã®äž»ãªç¹åŸŽãããã®åŒ·ã¿ããããŠå®éã®äœ¿çšäŸã詳ãã解説ããŠãããŸãã
3.1 Symfonyã®ç¬ç¹ãªç¹åŸŽ
Symfonyã¯ã³ã³ããŒãã³ãããŒã¹ã®ã¢ãŒããã¯ãã£ãæ¡çšããŠããŸããããã«ãããéçºè ã¯å¿ èŠãªéšåã®ã¿ãéžæããŠäœ¿çšããããšãã§ããä»ã®ãã¬ãŒã ã¯ãŒã¯ããããžã§ã¯ããšã®çµã¿åããã容æã«ãªã£ãŠããŸãããŸãããã®ã¢ãŒããã¯ãã£ã¯ãã³ãŒãã®åå©çšæ§ãå€§å¹ ã«åäžãããèŠå ãšãªã£ãŠããŸãã
ããã«ãSymfonyã¯èšå®ãã«ã¹ã¿ãã€ãºã®èªç±åºŠãéåžžã«é«ãããšã§ç¥ãããŠããŸããããã«ãããç¹å®ã®ããŒãºãèŠä»¶ã«åãããŠã¢ããªã±ãŒã·ã§ã³ãæé©åããããšãã§ããŸãã
3.2 ã³ã³ããŒãã³ãããŒã¹ã®éçºã®åŒ·ã¿
Symfonyã®æ倧ã®åŒ·ã¿ã¯ãççµåãªã³ã³ããŒãã³ãããŒã¹ã®ã¢ãŒããã¯ãã£ã«ãããŸããåã³ã³ããŒãã³ãã¯ãç¬ç«ããŠåäœããä»ã®ã³ã³ããŒãã³ããšç°¡åã«çµã¿åãããããšãã§ããŸããããã«ãããã¢ãžã¥ã©ãŒãªéçºãå¯èœãšãªããã¢ããªã±ãŒã·ã§ã³ã®ã¹ã±ãŒã©ããªãã£ãã¡ã³ããã³ã¹æ§ãåäžããŸãã
ãŸãããã®ã¢ãŒããã¯ãã£ã®ãããã§ãæ¢åã®ã¢ããªã±ãŒã·ã§ã³ã«æ°ããæ©èœãè¿œå ããéããæ¢åã®ã³ãŒããç Žå£ããããšãªãã¹ã ãŒãºã«çµ±åããããšãã§ããŸãã
3.3 Symfonyã§ã®ãããžã§ã¯ãäºäŸ
Symfonyã¯ããã®ç¹æ§ã掻ãããããŸããŸãªãããžã§ã¯ãã§æ¡çšãããŠããŸãã
䜿çšäŸ | 説æ |
---|---|
äŒæ¥åãã®CMS | æè»ãªã«ã¹ã¿ãã€ãºãšé«ãã»ãã¥ãªãã£èŠä»¶ãæã€CMSã®éçºã§ãSymfonyã®æ©èœã掻ããããŠããŸãã |
APIããŒã¹ã®ãµãŒãã¹ | Symfonyã®ã³ã³ããŒãã³ãã掻çšããè¿ éãã€å¹ççãªAPIéçºãå®çŸã |
倧èŠæš¡E-commerceãµã€ã | æ¡åŒµæ§ãšå®å®æ§ãå ŒãåããSymfonyãã倧éã®ãã©ã³ã¶ã¯ã·ã§ã³ãåŠçããE-commerceãµã€ãã®ããã¯ãšã³ããšããŠäœ¿çšãããŠããŸãã |
äžèšã®äºäŸããããããããã«ãSymfonyã¯å€å²ã«ãããèŠæ±ã«å¿ããããšãã§ãããã¬ãŒã ã¯ãŒã¯ã§ããããšã確èªã§ããŸãã
4. CodeIgniter: 軜éã§é«éãªãã¬ãŒã ã¯ãŒã¯
CodeIgniterã¯ããã®è»œéæ§ãšé«éæ§ã§ç¥ãããPHPãã¬ãŒã ã¯ãŒã¯ã®äžã€ã§ãããã®ãã¬ãŒã ã¯ãŒã¯ã¯ãåå¿è ã«ãç解ããããã·ã³ãã«ãªæ§é ãæã¡ãªãããå€æ©èœã§ããããšãé åã§ãããã®ã»ã¯ã·ã§ã³ã§ã¯ãCodeIgniterã®äž»ãªç¹åŸŽããåŠã³ãããããããŠå®éã®éçºã§ã®äœ¿çšãã€ã³ãã«ã€ããŠè§£èª¬ããŠãããŸãã
4.1 CodeIgniterã®ç¹åŸŽãšå©ç¹
CodeIgniterã®æ倧ã®ç¹åŸŽã¯ãå°ããªãããããªã³ããæã€ããšã§ããããã«ãããã¢ããªã±ãŒã·ã§ã³ã®ããŒãæéãçããã¬ã¹ãã³ã¹ãéãããšãå®çŸãããŠããŸãããŸããèšå®ãã«ã¹ã¿ãã€ãºã®å¿ èŠãå°ãªããããéçºã®ã¹ã¿ãŒãã¢ããæéãå€§å¹ ã«åæžããããšãã§ããŸãã
ããã«ãCodeIgniterã¯éåžžã«ããã¥ã¡ã³ããŒã·ã§ã³ãå å®ããŠãããåŠç¿ãªãœãŒã¹ãè±å¯ã«æäŸãããŠããŸããããã«ãããéçºè ã¯è¿ éã«æ å ±ãååŸããå¹ççã«éçºãé²ããããšãã§ããŸãã
4.2 åŠã³ããããšã·ã³ãã«ãªæ§é ã®é å
CodeIgniterã®ããäžã€ã®å€§ããªç¹åŸŽã¯ãåŠã³ãããã§ãããã¬ãŒã ã¯ãŒã¯ã®ã³ã¢éšåãã·ã³ãã«ã§ãããããåå¿è ã§ãçæéã§ç¿åŸããããšãå¯èœã§ãããŸããã³ãŒãã®èšè¿°ãçŽæçã§ãããããæã£ãéãã®åäœãçŽ æ©ãå®è£ ããããšãã§ããŸãã
ãã®ãããªç¹æ§ã¯ãåããŠã®ãããžã§ã¯ããå§ããéããçæéã§ã®ãããã¿ã€ãã³ã°ãæ±ããããå Žåã«éåžžã«åœ¹ç«ã¡ãŸãã
4.3 CodeIgniterã䜿çšããéçºã®ãã€ã³ã
CodeIgniterã䜿çšããéã®ãã€ã³ããšããŠãé©åãªãã«ããŒé¢æ°ãã©ã€ãã©ãªã®å©çšãæããããŸããããã«ãããç¹°ãè¿ãã®äœæ¥ãæå°éã«æããå¹ççãªéçºãå®çŸããããšãã§ããŸãã
éçºãã€ã³ã | 説æ |
---|---|
ãã«ããŒé¢æ°ã®æŽ»çš | CodeIgniterã¯å€ãã®ãã«ããŒé¢æ°ãæäŸããŠãããããã掻çšããããšã§ãããã·ã³ãã«ãã€å¹ççãªã³ãŒãã®å®è£ ãå¯èœãšãªããŸãã |
çµã¿èŸŒã¿ã©ã€ãã©ãª | ããŒã¿ããŒã¹æäœãã»ãã·ã§ã³ç®¡çãªã©ãå€ãã®æ©èœãçµã¿èŸŒã¿ã©ã€ãã©ãªãšããŠæäŸãããŠãããããè¿ éãªéçºãå¯èœã§ãã |
ç¬èªã©ã€ãã©ãªã®äœæ | ç¹å®ã®æ©èœãæã£ãç¬èªã®ã©ã€ãã©ãªãäœæãããããåå©çšããããšã§ãç¶ç¶çãªéçºãå¹ççã«é²ããããšãã§ããŸãã |
ãããã®ãã€ã³ãã掻ãããCodeIgniterã®æã€ã·ã³ãã«ããšå¹çæ§ãæ倧éã«å©çšããŠãé«å質ãªã¢ããªã±ãŒã·ã§ã³ãéçºããããšãã§ããŸãã
5. ä»ã®æ³šç®ãã¹ãPHPãã¬ãŒã ã¯ãŒã¯
PHPã®ãã¬ãŒã ã¯ãŒã¯ã¯ããããŸã§ã«çŽ¹ä»ãããã®ã ãã§ã¯ãããŸãããå®éãå€çš®å€æ§ãªãã¬ãŒã ã¯ãŒã¯ãååšãããããããç°ãªãç¹æ§ãç®çã«å¿ããŠéçºãããŠããŸãããã®ã»ã¯ã·ã§ã³ã§ã¯ããã®äžã§ãç¹ã«æ³šç®ãã¹ã3ã€ã®PHPãã¬ãŒã ã¯ãŒã¯ã«ã€ããŠæãäžããŠãããŸãã
5.1 Phalcon: Cèšèªã§å®è£ ãããé«éãã¬ãŒã ã¯ãŒã¯
Phalconã¯ãCèšèªã§å®è£ ãããPHPã®ãã¬ãŒã ã¯ãŒã¯ãšããŠããã®é©ç°çãªéãã§ç¥ãããŠããŸãããã®ãã¬ãŒã ã¯ãŒã¯ã¯ãä»ã®PHPãã¬ãŒã ã¯ãŒã¯ãšæ¯ã¹ãŠããç¹ã«ããã©ãŒãã³ã¹ã«åªããŠãããšåºãèªèãããŠããŸãã
Phalconã®äž»ãªç¹é·ã¯ããªãŒããŒãããã®äœæžã§ããCèšèªã§å®è£ ãããŠãããããå®è¡æã®è² è·ãå°ãªãããããé«éæ§ãå®çŸããŠããŸãããŸããæ¡åŒµãšããŠPHPã«çµã¿èŸŒã圢ã§åäœãããããç¹å¥ãªã€ã³ã¹ããŒã«ãèšå®ã®æéãäžèŠã§ãã
5.2 Zend Framework: äŒæ¥åãã®å ç¢ãªãã¬ãŒã ã¯ãŒã¯
Zend Frameworkã¯ã倧èŠæš¡ãªäŒæ¥åãã®ã¢ããªã±ãŒã·ã§ã³éçºã«é©ãããã¬ãŒã ã¯ãŒã¯ã§ãããã®å ç¢æ§ãšæè»æ§ã«ãããããžãã¹ã®èŠä»¶ã«å¿ããã«ã¹ã¿ãã€ãºã容æã«è¡ããã®ã倧ããªç¹é·ã§ãã
ãã®ãã¬ãŒã ã¯ãŒã¯ã¯ãã¢ãžã¥ãŒã«ããŒã¹ã®ã¢ãŒããã¯ãã£ãæ¡çšããŠãããåå©çšå¯èœãªã³ãŒãã®äœæããç¬ç«ããã¢ãžã¥ãŒã«ã®çµã¿åããã«ããæè»ãªéçºãå¯èœã§ãããŸããã»ãã¥ãªãã£æ©èœãéåžžã«åŒ·åºã§ãå®å šãªã¢ããªã±ãŒã·ã§ã³éçºããµããŒãããŠããŸãã
5.3 Slim: ãããã«ãªAPIéçºã«ç¹å
Slimã¯ãRESTful APIã®éçºã«ç¹åãã軜éãã¬ãŒã ã¯ãŒã¯ã§ããã·ã³ãã«ãªãããã«ãŒãã£ã³ã°ãããã«ãŠã§ã¢ãäŸåæ§æ³šå ¥ãªã©ã®åºæ¬çãªæ©èœãæäŸããŠãããAPIéçºãè¿ éãã€å¹ççã«é²ããããšãã§ããŸãã
Slimã®ç¹é·ã¯ãã·ã³ãã«ã§èªã¿ãããã³ãŒãã«ãããŸããäžèŠãªæ©èœãæ¡åŒµãçç¥ãããŠããããã®ããéçºè ã¯å¿ èŠãªæ©èœã ãã«éäžããŠã³ãŒãã£ã³ã°ããããšãã§ããŸãããã®ããããªã¹ãã£ãã¯ãªã¢ãããŒãã«ãããã¡ã³ããã³ã¹ã容æã«ãªããŸãã
ãããã®ãã¬ãŒã ã¯ãŒã¯ã¯ãããããç°ãªãç®çãããŒãºã«å¿ããŠèšèšãããŠããŸããé©åãªãã¬ãŒã ã¯ãŒã¯ãéžæããããšã§ãéçºã®å¹çãå質ã倧ããåäžãããããšãã§ããã§ãããã
6. ãã¬ãŒã ã¯ãŒã¯ã®éžã³æ¹: ã©ããèªåã«åã£ãŠããã
å€çš®å€æ§ãªPHPãã¬ãŒã ã¯ãŒã¯ãååšããäžãã©ããéžã¶ã¹ããã¯ãåå¿è ããçµéšè ãŸã§ã®å€ãã®éçºè ã«ãšã£ãŠå€§ããªæ©ã¿ã®äžã€ã§ããé©åãªãã¬ãŒã ã¯ãŒã¯ã®éžæã¯ããããžã§ã¯ãã®æåã«çŽçµãããããæ éã«éžã¶å¿ èŠããããŸãã
6.1 ãããžã§ã¯ãã®èŠæš¡ãšèŠä»¶ãèæ ®
ãŸãããã¬ãŒã ã¯ãŒã¯ãéžã¶éã®æãåºæ¬çãªãã€ã³ãã¯ããããžã§ã¯ãã®èŠæš¡ãšèŠä»¶ãèæ ®ããããšã§ããäŸãã°ã倧èŠæš¡ãªäŒæ¥åãã®ã¢ããªã±ãŒã·ã§ã³éçºãèããŠããå ŽåãZend Frameworkã®ãããªå ç¢ãªãã¬ãŒã ã¯ãŒã¯ãé©ããŠããŸãã
äžæ¹ãè¿ éã«APIãéçºãããå ŽåãSlimã®ãããªè»œéãã¬ãŒã ã¯ãŒã¯ãéžã¶ãšå¹ççã§ãããŸããç¹å®ã®æ©èœãã³ã³ããŒãã³ããå¿ èŠãªå ŽåãããããµããŒããããã¬ãŒã ã¯ãŒã¯ãéžã¶ããšã§éçºæéãå€§å¹ ã«åæžããããšãã§ããŸãã
6.2 åŠç¿æ²ç·ãšã³ãã¥ããã£ã®ãµããŒã
ãã¬ãŒã ã¯ãŒã¯ã®åŠç¿æ²ç·ã¯ãéçºãå§ããéã®éèŠãªèŠå ã®äžã€ã§ããç¹ã«æ°ããæè¡ãåãå ¥ããéã¯ãåŠç¿ã«ãããæéãåŽåããããžã§ã¯ãã®é²è¡ã«åœ±é¿ãäžããããšããããŸãã
LaravelãCodeIgniterã®ãããªãã¬ãŒã ã¯ãŒã¯ã¯ããã®åŠã³ãããã§ç¥ãããŠãããåå¿è ã§ãæ¯èŒç容æã«åãçµãããšãã§ããŸããäžæ¹ãã³ãã¥ããã£ã®ãµããŒãããã¬ãŒã ã¯ãŒã¯ã®éžæã«ãããŠå€§ããªèŠå ãšãªããŸãã掻çºãªã³ãã¥ããã£ãæã€ãã¬ãŒã ã¯ãŒã¯ã¯ããã©ãã«ã·ã¥ãŒãã£ã³ã°ãæ°ããæ©èœã®åŠã³æ¹ã«é¢ããæ å ±ãè±å¯ã«ååšãããããéçºã®å©ããšãªããŸãã
6.3 ããã©ãŒãã³ã¹ãšã»ãã¥ãªãã£ã®èŠ³ç¹
ã¢ããªã±ãŒã·ã§ã³ã®ããã©ãŒãã³ã¹ã¯ããŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ã«çŽçµããŸããé«éãªå¿çæéãæã€ãã¬ãŒã ã¯ãŒã¯ãäŸãã°Phalconã®ãããªãã®ã¯ããªã¢ã«ã¿ã€ã æ§ãæ±ããããã¢ããªã±ãŒã·ã§ã³ã«é©ããŠããŸãã
ãŸããã»ãã¥ãªãã£ã¯éåžžã«éèŠãªèŠçŽ ã§ããããã¬ãŒã ã¯ãŒã¯éžã³ã®éã«ã¯ååãªæ€èšãå¿ èŠã§ããäŸãã°ãOWASPããã10ãªã©ã®ã»ãã¥ãªãã£ãªã¹ã¯ãç·©åããæ©èœãåãããã¬ãŒã ã¯ãŒã¯ãéžã¶ããšã§ãã»ãã¥ãªãã£ã®æžå¿µãæžå°ãããããšãã§ããŸãã
以äžã®ãã€ã³ããèžãŸããŠããã¬ãŒã ã¯ãŒã¯ã®éžã³æ¹ãæ€èšããããšã§ãèªèº«ã®ãããžã§ã¯ãã«æãåã£ãéžæãããããšãã§ããã§ãããã
7. ãŸãšã: PHPãã¬ãŒã ã¯ãŒã¯ã®æªæ¥ãšèªèº«ã®éžæ
ãã®èšäºãéããŠãããŸããŸãªPHPãã¬ãŒã ã¯ãŒã¯ã«ã€ããŠã®æ å ±ãç¹åŸŽãéžã³æ¹ãåŠãã§ããŸãããæåŸã«ããããŸã§ã®æ å ±ãæŽçãããã¬ãŒã ã¯ãŒã¯ã®éžæãä»åŸã®ãã¬ã³ãã«ã€ããŠèå¯ããŠã¿ãŸãããã
7.1 åãã¬ãŒã ã¯ãŒã¯ã®äœçœ®ã¥ãã®å確èª
æåã«ãåãã¬ãŒã ã¯ãŒã¯ã®ç¹æ§ãå確èªããŸããLaravelã¯ãæ©èœè±å¯ã§ã¢ãã³ãªéçºããµããŒãããããšãããå€ãã®éçºè ã«æ¯æãããŠããŸããCodeIgniterã¯ãã®è»œéããšã·ã³ãã«ãã§ãè¿ éãªéçºãå¯èœãšããŠããŸããPhalconã¯Cèšèªã§å®è£ ãããé«éæ§ããZend Frameworkã¯äŒæ¥åãã®å ç¢æ§ããSlimã¯APIéçºã®ã·ã³ãã«ããããããã®ç¹åŸŽãšããŠããŸãã
ãããã®ãã¬ãŒã ã¯ãŒã¯ã®äžãããèªèº«ã®ãããžã§ã¯ãã®èŠä»¶ãç®çã«åãããŠæé©ãªãã®ãéžæããããšãéèŠã§ãã
7.2 ä»åŸã®æè¡ãã¬ã³ããšã®é¢é£æ§
è¿å¹ŽãWebæè¡ã®é²åã¯ç®èŠãŸããããµãŒãã¬ã¹ã¢ãŒããã¯ãã£ããã€ã¯ããµãŒãã¹ãªã©ãæ°ããã¢ãŒããã¯ãã£ã®ãã¬ã³ããåºãŠããŠããŸãããããã®æ°æè¡ãšã®çµã¿åããã§ãPHPãã¬ãŒã ã¯ãŒã¯ãé²åããŠããããšãäºæ³ãããŸãã
APIãã¡ãŒã¹ãã®éçºããããã³ããšã³ããšã®é£æºã匷åããããã®ãã¬ãŒã ã¯ãŒã¯ã®æ©èœè¿œå ãå¢ããŠããŠãããä»åŸã®Webã¢ããªã±ãŒã·ã§ã³éçºã«ãããŠãããããã®ãã¬ãŒã ã¯ãŒã¯ã¯äžå¿çãªåœ¹å²ãæããç¶ããã§ãããã
æåŸã«ãæè¡ã®éžæã¯åžžã«å€ãããã®ãããããåºæ¬çãªèãæ¹ãéžæã®ãã€ã³ããç解ããŠããããšã§ãå€ããããæè¡ã®äžã§ãé©åãªéžæãããããšãã§ãããšèããããŸãã