åæéã®ã¹ããŒãããã¬ãŒã³ããŒã·ã§ã³ãç§ãèšã£ãããšã®çãèŠçŽãæ®åœ±ããããããªãããªãã®æ³šæã«æ瀺ããŸãïŒèŠçŽã¯ããã€ãã®ç¹ã§ç§ã®è©³çŽ°ãªæ¹åã§ã®ç§ã®å£é ã®äŒè©±ãšç°ãªãå Žåãããããšã«æ³šæããŠãã ããïŒã
ãããªãããã«æ¿å ¥ãããšãYandex.Videoã«ã¢ããããŒããããã®ã§ãã»ãšãã©ã®ãŠãŒã¶ãŒã¯åé¡ãªãèŠèŽã§ããŸãã 誰ããã©ãã£ãã¯ãç¯çŽããã«ããã®äžã«è¡ããããã¬ãŒã³ããŒã·ã§ã³ãšããã¹ãã®èŠçŽã®ã¿ããããŸãã
ããã§ã SlideShareã®å®éã®ãã¬ãŒã³ããŒã·ã§ã³ïŒããŠã³ããŒãå¯èœïŒãšã¹ã©ã€ãã®çªå·ä»ãèŠçŽã衚瀺ãããŸãã
ã¹ã©ã€ã1ã
ããã§ãæåã«ããŒã«ãéžæããåºæºã®æŠèŠã説æããŸãã ããã€ãã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã¯ãMicrosoft WindowsãApple MacOSXãGNU / Linuxãªã©ãäžçã§æ¯èŒçç°ãªã人æ°ã§é åžãããŠããŸãã ããã€ãã®ç¶æ³ã«ãããç§ã¯ããã€ãã®ä»äºãããŠãããä»äºã§ãããã®ã·ã¹ãã ã®ããããã䜿çšããŠããŸãã ãããã£ãŠãç§ã«ãšã£ãŠããã°ã©ã ãéžæããããã®æãéèŠãªåºæºã®1ã€ã¯ãã¯ãã¹ãã©ãããã©ãŒã ã§ãã è€æ°ã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã§åäœããåãããã«èŠããèœåãç§ã¯ãã®ã·ã¹ãã ã®ããããã®ç±çãªçä¿¡è ã§ã¯ãªãããšã«æ³šæããå¿ èŠããããŸãã ç§ã¯ãããã®ããããã«çããå¿«é©ã«æããŠããŸãã ããã¯ãŸãã«ããã¹ãŠã®ã·ã¹ãã ã§åé¡ãªãåäœããã¢ããªã±ãŒã·ã§ã³ãæ倧éã«æŽ»çšããããšããŠãããšããäºå®ã§ããã ããããç§èªèº«ã«ãšã£ãŠãMicrosoft Windowsã¯ãããããä¿å®æŽŸãšåŒã°ããç¿æ £ãå€ããããªã人ã®ããã®ãã®ã ãšèããŸããã Apple MacOSXã¯ãã·ã¹ãã ã®å®æçãªåã€ã³ã¹ããŒã«ãé »ç¹ãªã·ã¹ãã ã°ãªããïŒå€ãã®å ŽåãããããããŒããŠã§ã¢èŠå ãäžé©åãªæ§æããŸãã¯ããã€ã¹ãžã®ãã©ã€ããŒã®èª€ã£ãã€ã³ã¹ããŒã«ãåå ïŒã«ããããããŠãã人åãã§ã-ããã¯MacOXSã«ã¯åœãŠã¯ãŸããŸããã ããŸããéåžžã«é«å質ãçµã¿ç«ãŠãŸããã ããšãã°ãå æ¥ãããå Žæã«3幎以äžçœ®ãããŠãã劻ã®iMacã®ã»ãããæé€ããããšã«ããŸãã-ã±ãŒã¹ãéããåŸãããã»ããµã®äžã«ç«ã€ãã¡ã³ãã¬ãŒãã®ããããªã³ãŒãã£ã³ã°ãé€ããŠãå éšã«ã»ãããã»ãšãã©ãªãããšãããããŸããã
ãããŠæåŸã«ãGNU / Linuxã¯ããªãŒãã³ãœãŒã¹ã³ãã¥ããã£ã«ã§ããã ãè¿ã¥ãïŒDrupalããªãŒãã³ãœãŒã¹ã·ã¹ãã ã§ããããšã¯ç§å¯ã§ã¯ãããŸããïŒãçŸå®ã«è¿ãæ¡ä»¶ã§éçºãè¡ããã人ã ã®ããã®ãã®ã§ãã ã»ãšãã©ã®ãã¹ãã£ã³ã°äŒç€Ÿã¯Linuxããã©ã€ããªãµãŒããŒã·ã¹ãã ãšããŠäœ¿çšããŠããŸãã ç§ã®æèŠã§ã¯ãåå¿è ã®éçºè ã§ããã圌ãäœæ¥ããŠãããã®ã®å°ãªããšãè¡šé¢çãªããžã§ã³ãæã£ãŠããå¿ èŠããããŸãã
å šäœçãªãããã¯ã®çµè«ãšããŠãããŒã«ãéžæããããã®åºæºã«ã€ããŠè©±ããããšãæãåºããŸãã ã¯ãã¹ãã©ãããã©ãŒã ã«å ããŠãå©äŸ¿æ§ãšæ©èœæ§ãäœæ¥é床ãæè¡çãªèŠä»¶ãéèŠã§ãã åŸè ã®ãªãã·ã§ã³ã¯ãã¢ãã€ã«äœæ¥ã«ãããããã¯ã䜿çšããŠãããšããäºå®ã®ããã«éèŠã§ãã
ã¹ã©ã€ã2ã
ç§ãè¡šæããåºæºã«åºã¥ããŠãè°è«ã§ããããšãèŠãŠã¿ãŸãããã æåã¯Geanyã§ãã 誰ããã¡ã¢åž³++ãšãã£ã¿ãŒãç¥ã£ãŠãããéåžžã«äŸ¿å©ã ãšæããŠããŸãã ããããæ®å¿µãªããšã«ãWindowsã§ãã€ãã£ãã«åäœããMacOSXããã³Linuxã§ã¯åäœããŸããã 代ããã«ãç§ã¯Geanyãšãã£ã¿ãŒã䜿çšããŸããããã¯äžè¬ã«ã¡ã¢åž³++ã«æ¯ã¹ãŠæ©èœã¯å£ããŸããããWindowsãšLinuxã®äž¡æ¹ã§æ©èœãããã©ã°ã€ã³ã«ããæ¡åŒµããå€ãã®ããã°ã©ãã³ã°èšèªãšã¹ã¯ãªããã®æ§æããµããŒãããŸãã ãšãã£ã¿ãŒã¯éåžžã«è»œéã§é«éã§ãããæåã¯ããããå€èŠ³ã«å°ãæ £ããå¿ èŠããããŸãã ããããã圌ã¯ãã€ãã¹ã®é¢ãæããªãã§ãããããã ããååãšããŠãããžã§ã¯ãã®éçºäœæ¥ã®å€ããå°ãªãããµããŒãã¯ãªããããŒã éçºããŒã«ã®ãµããŒãã¯æå°éã§ãã
ããã«ãåå¿è ã®éçºè ã¯2ã€ã®éçºç°å¢ã«æ³šæãæãããšãã§ããŸãã2ã€ã®ã¢ã³ã¹ã¿ãŒã¯EclipseãšNetBeansã§ãã ã©ã¡ãã®IDEãéåžžã«æ©èœçã§äŸ¿å©ã§ãå€ãã®å©ç¹ããããŸãã ã©ã¡ããéžæãããã¯ãããŸãã§ãããå¿«é©ãªäœæ¥ã«ã¯NetBeansã®æ¹ã奜ãã§ãã 倧èŠæš¡ãªããŒã ã§äœæ¥ããå Žåã¯ãEclipseã䜿çšããå¯èœæ§ãé«ããªããŸã-ãã¹ãŠåãã§ãããããŒã éçºããŒã«ã®ãµããŒãã¯Eclipseã§ããé©åã«å®è£ ãããŸãã
ãããããNetBeansã§ã®äœæ¥ã«ç ©ãããããã®ã¯2ã€ãããããŸããããæ°ã«ããŸãã-ããã¯ãEclipseã§äœæãããã¯ãŒã¯ã¹ããŒã¹ã®ãµããŒãã®æ¬ åŠã§ãïŒã¯ãŒã¯ã¹ããŒã¹ã¯å¥ã®ãã©ã«ããŒã«ãããèµ·åæã«éžæãããŸãïŒã©ã®åœ¢åŒã§è¡æ«ãäœæããããæå®ã§ããªã-Windowsã®ã¹ã¿ã€ã«ãŸãã¯Unixã®ã¹ã¿ã€ã«ã ãåãã®ãšãããDrupalã®ã³ãŒãã£ã³ã°æšæºã§ã¯ãUnixã¹ã¿ã€ã«ã®ãšã³ãã£ã³ã°ã䜿çšããããšãæãŸãããšãããŠããŸãã ãã ããWindowsã¹ã¿ã€ã«ã®è¡æ«ã䜿çšããå Žåã®èŽåœçãªééãã¯ãããŸããã NetBeansã¯ãã¡ã€ã«ã®å é ãèŠãŠããã®äžã«ããã¹ã¿ã€ã«ãåçŸããŸãã ã€ãŸã ãã¡ã€ã«ãå ã Windowsã®ã¹ã¿ã€ã«ã§çµããå Žåãããã¯ãã¡ã€ã«å šäœã«ãªããŸãã NetBeansã§äœæãããæ°ãããã¡ã€ã«ã¯ãçŸåšå®è¡ãããŠãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã«åŸã£ãŠäœæãããŸãã
ç¹ã«PHPãDrupalã®éçºè ã䜿çšãããšãã£ã¿ãŒãIDEã¯ä»ã«ããããããããŸããããããã®ã»ãšãã©ãã¯ãã¹ãã©ãããã©ãŒã ã§ã¯ãªããäžéšã¯ææã§ãããšããçç±ã§ãããããèæ ®ããŠããŸããã
ã¹ã©ã€ã3ã
ãåç¥ã®ããã«ãPHPïŒDrupalã¯ã»ãšãã©ã®éšåãPHPã§èšè¿°ãããŠããŸãïŒã®ã¹ã¯ãªããã¯ãµãŒããŒäžã§å®è¡ãããŸãã ãããã£ãŠãéçºè ã¯ããããžã§ã¯ããé©åã«æ©èœããããšãä¿èšŒãããœãããŠã§ã¢ãéžæããããšãéèŠã§ãã æãäžè¬çãªã®ã¯ãApache WebãµãŒããŒãMySQL DBMSãããã³PHPã€ã³ã¿ãŒããªã¿ãŒã®ã»ããã§ãã nginxãŸãã¯lighttpd WebãµãŒããŒãPostgresSQL DBMSãªã©ã䜿çšãããªãã·ã§ã³ããããŸããããããã¯ããŸãäžè¬çã§ã¯ãªããããã«Drupalã¢ãžã¥ãŒã«ã§ã¯å®å šã«ãµããŒããããŠããŸããã
çµéšã®å°ãªãPHP / Drupaléçºè ã¯ãDenwerãšåŒã°ããåºç¯ãªãã«ããç¥ã£ãŠããŸãã ããã¯ãApache + MySQL + PHPã®æå°éã®ã»ããã§ãããDrupalã®ãµã€ãã§äœæ¥ã§ããããã«OSã«ã€ã³ã¹ããŒã«ããã®ã«ååã§ãã ãããããã®ã¢ã»ã³ããªã¯Windowsã§ã®ã¿åäœããããšãç¥ã£ãŠããå¿ èŠããããŸããç§ã®æèŠã§ã¯ããã®ã¢ã»ã³ããªã¯åçŽãããŠãéçºè ã¯å€ãã®å Žåãå éšã§ãã¹ãŠãã©ã®ããã«åäœãããæ³åããŠããŸããã ããŠãDrupalãµã€ãã¯ãã³ã¯ãŒã§éå§ãããšãã«æ£ããæ©èœããªãã£ãããšããããŸãããããã¹ãã£ã³ã°æ¥è ã«ã¯åé¡ãªããã¹ãŠããããŸããã ãã®ãã©ãããã©ãŒã ã«ã€ããŠã¯ããã®åŒ±ç¹ã瀺ãããã ãã«èšåããŸããã
ç§ã®ãããžã§ã¯ãã§ã¯ãããŒã«ã«ã§äœæ¥ããå ŽåãXAMPPã䜿çšããŸãããã®ã¢ã»ã³ããªã¯Denwerãããæ©èœçã§ãApacheããã³PHPçšã®æ¡åŒµã¢ãžã¥ãŒã«ãã¯ããã«è±å¯ã§ãã ããã«ãWindowsãLinuxãããã³MacOSXã§ããé«éã«åäœããæãéèŠãªããšã§ãã å¯äžã®æ¬ ç¹ã¯ãã¢ãã¬ã¹ãããŒã«ã«ãã¹ããšç°ãªããµã€ãã§åäœããããã«èšå®ããã®ããDenwerã䜿çšãããããå°ãè€éãªããšã§ãã
Apache + MySQL + PHPã®åäœãå®éã«ç解ããããã«ãå¿ èŠãªãã¹ãŠã®ã³ã³ããŒãã³ããé çªã«åå¥ã«ã€ã³ã¹ããŒã«ã§ããŸãããããã¯ããããã¯ãŒã¯äžã§èŠã€ããããã®æ§æã¬ã€ãã§ãã ç§ã¯ãã®äžçã§Zend Serverã«ã€ããŠèšåããããšæããŸã-ããã¯éåžžã«æåãªäŒç€ŸZend Technologiesã®ã¢ã»ã³ããªã§ãã ç¡æã®ã³ãã¥ããã£ãšãã£ã·ã§ã³ãšãã¹ã¯ãªããã®æå·å/埩å·åã¢ãžã¥ãŒã«ãå«ãããã€ãã®ã¢ããªã³ãå«ãææçã®2ã€ã®ããŒãžã§ã³ã§é åžãããŸãã
MacOSXã«ã¯Denwerã®é¡äŒŒç©ãããããããMAMP ProãšåŒã°ãããšããéé£ãé¿ããããã«èšåããŸãã ãã ããProããŒãžã§ã³ã¯ææã§ãããMAMPã®ç¡æããŒãžã§ã³ã®æ©èœã¯éåžžã«å¶éãããŠããããšãç解ããŠããå¿ èŠããããŸãã
ã¹ã©ã€ã4ã
éçºè ãäœã«åãçµãããšãã§ããããæ€èšããŸãããéçºè ãéçºããã»ã¹ãããæ£ç¢ºã«æ§ç¯ããã®ã«åœ¹ç«ã€ããŒã«ãããã€ãææ¡ãããšãã§ãã
ç§ã¯ç¹ã«ããŒãžã§ã³ç®¡çã·ã¹ãã ã«èšåãããã£ãã§ã-ããã¯SubversionãGITãMercurialãªã©ã§ãã
ãããã䜿çšãããšããã®è·å Žã§åããŠããããå¥ã®è·å Žã§åããŠãããã«é¢ä¿ãªãããã€ã§ãæ»ã£ãŠå€æŽã®å±¥æŽãèŠãããšãã§ããŸãã ãããŠã確ãã«ãããã®ã·ã¹ãã ã¯ãè€æ°ã®äººã ããããžã§ã¯ãã«åãçµãã§ãããšãã«åœ¹ç«ã¡ãŸãã
åå¿è ã®éçºè ã«ã¯ããŸãGITã«æ³šæãæãããšããå§ãããŸã-ãŸãããã®ã·ã¹ãã ã¯å¥ã®ãµãŒããŒããŒããå¿ èŠãšããªãããã䜿ãããããªããŸãã次ã«ãdrupal.orgããŒã ãDrupalã³ãŒããšãã®ã¢ãžã¥ãŒã«ãæ±ãããã«éžæããŸããããã¯ããããžã§ã¯ããå ¬éããŠdrupal.orgã®ã¢ãžã¥ãŒã«ã®ãªã¹ãã«è¿œå ããå Žåã«ãéèŠã§ãã
ããŒã ã«å€ãã®éçºè ãããå ŽåãSubversionã䜿çšããå¯èœæ§ãé«ããªããŸããSubversionã®éäžåãšæ®åã«ãããSubversionã¯ããå¶åŸ¡ãããŸãã ãšããã§ããã®ãããã¯ã«é¢ããã¬ããŒãã®1ã€ã¯ä»æ¥ã«ãªããŸãã
ãããŠãã¡ãããDrupalã®éçºè ãšããŠãå°ãªããšããã®DevelãšCoderã®éçºè åãã®ã¢ãžã¥ãŒã«ã䜿çšãã䜿çšã§ããããã«ããå¿ èŠããããŸãã Develã¢ãžã¥ãŒã«ã¯ããµã€ãã®ããã«ããã¯ãç解ããã®ã«åœ¹ç«ã¡ãŸããCoderã¯ãéçºæšæºã®èŠ³ç¹ããæ£ããèšè¿°ããéããã³ãŒããå¶åŸ¡ããŸãã
Drupalã®ãµã€ãã§ã®äœæ¥ã®å©äŸ¿æ§ã®ããã«ãdrush makeãªãã·ã§ã³ãšãšãã«drushãŠãŒãã£ãªãã£ã®å¯èœæ§ã調æ»ããããšã匷ããå§ãããŸããããã¯éåžžã«åœ¹ç«ã¡ãŸãã ç¹ã«ãæè¿ãµã€ãã§drupal.ruã¯ãdrushã䜿çšããŠéçºè ã®åããŒãžã§ã³ãšãµã€ãã®äœæ¥ããŒãžã§ã³ãåæããæ¹æ³ã«ã€ããŠè©±ããŸããã
ã¡ãªã¿ã«ãç§ã¯Windowsã§Drushãèšå®ããããšããŸããããäœããããŸããããLinuxãšã¯ç°ãªããããã¯éåžžã«ç°¡åãªããšã§ããã
ã¹ã©ã€ã5ã
æåŸã®èšè-ã¹ã©ã€ãäžã«ãç§ããªã¹ãããããŒã«ã®äžéšã«ã€ããŠã®ãªã³ã¯ãšãDrupalçšã«ããããæ§æããæ¹æ³ã®ãªã³ã¯ããããŸãã ç§ã¯ä»¥åã«èšåããŠããŸããããEclipseãŸãã¯Netbeansãã»ããã¢ãããããšããããããã³ãŒããã³ãã¬ãŒããè¿œå ããããšãå¯èœã§ãã ç¹å®ã®ååãå ¥åããŠç¹å¥ãªããŒãæŒãããšã§æ¿å ¥ãããæ¢ã«å®è¡ãããŠããã³ãŒãã®æç-çµæãšããŠãDrupalã®ããã¯é¢æ°ã®å®£èšãã¯ããã«éããããæ£ç¢ºã«äœæã§ããããã«ãªããŸãã