AppFactoryïŒã¹ã¿ãžãªã§ã®ã¹ã¯ãªãŒã³ã·ã§ããïŒïŒ
Pavel LitvinkoïŒãããžã§ã¯ãã®äœè ã§ãæãé«äŸ¡ãªè³å-RAD Studio XE5ã®åçšã©ã€ã»ã³ã¹ãåãåã£ãïŒã¯ãšãŠã芪åã§ãéåžžã«é«å質ã®ãããªã¬ãã¥ãŒãããŸãã ã
ã¢ããªã±ãŒã·ã§ã³ã®ãã€ã³ãã¯ãããã°ã©ãã³ã°ãªãã§ã¢ããªã±ãŒã·ã§ã³ãäœæããããšã§ãã
2ã€ã®ã¢ããªã±ãŒã·ã§ã³ããããŸãã 1ã€ç®ã®AppFactoryã§ã¯ãèŠèŠçã«ïŒããã°ã©ãã³ã°ãªãã§ïŒããã³ãã¬ãŒãããããããã¿ã€ããããèšèšæã¢ãã«ããäœæã§ããŸãã ãã³ã³ãã³ãå ¥åãã£ã¬ã¯ãã£ãããå«ããã®ããã³ãã¬ãŒããã¯ãå€éšxmlãã¡ã€ã«ã«ä¿åãããŸãã 2çªç®ã®ã¢ããªã±ãŒã·ã§ã³ã§ããAppProductsã¯ããã³ãã¬ãŒãããããŠã³ããŒããããã®å Žã§ãå®å šã«æ©èœããã¢ãã€ã«ãµããžã§ã¯ãæåãœãªã¥ãŒã·ã§ã³ã圢æããŸãã
ãŸã ã·ã¹ãã ã®æ¬è³ªã«è¿œãã€ããŠããªã人ã¯ãCMSãæå®ãããæ§æã«å¿ããã€ã³ã¿ãŒãã§ãŒã¹ã®åççæãDelphièªäœãããªããžã§ã¯ãã€ã³ã¹ãã¯ã¿ãŒãããã³dmf / fmxãèŠããŠããŸãã AppFactoryãèµ·åããããžã¥ã¢ã«ãã¶ã€ããŒãšåãããã«äœæ¥ãããŠã£ãžã§ãããè¿œå ããã€ã³ã¿ãŒãã§ã€ã¹ãããŒã¯ã¢ããããŸãïŒã¬ããŒããã¶ã€ããŒãšåæ§ïŒã ããã§ããã³ã³ãã³ãããèŠèŠçã«å®çŸ©ããŸãã
次ã«ãå¥ã®ã¢ããªã±ãŒã·ã§ã³AppProductsãèµ·åããŸããAppProductsã¯ãéžæãããæ§æãã«åŸã£ãŠãFlashãã¯ãããžãŒã®ãã¬ãŒã€ãŒãšããŠãã©ã³ã¿ã€ã ããäœæããŸãã ããã¯ãŸãšãã§ãïŒãããŠã¢ããªã±ãŒã·ã§ã³ã¯ãã€ãã£ãã§ãïŒã
åæ
ã¢ããªã±ãŒã·ã§ã³ã®æŠå¿µã¯ããããæŠå¿µçã«è¶ æ°æã§ãããšèšãããšã§ã¯ãããŸããã èè ã®ããã©ãŒãã³ã¹ã¯çŽ æŽãããã§ãã ããã«ã¯ãæ°Žææ¥ã®ãã¶ã€ã³ã¿ã€ã ããäœããŸããã Delphiã®äœ¿çšã¯èŠäºã§ãïŒããã¯å¯©æ»å¡ããããžã§ã¯ããè©äŸ¡ããããã®åºæºã®1ã€ã§ããïŒãå®éãDelphiã®èè ã¯Anroidçšã®ããDelphiãæžããŸããã 競äºã§ãããè¥ãéçºè ã®ããŒããã©ãªãªã«å®è£ ãããŠãããã®ãããªãããžã§ã¯ãã¯ããç¿åŸããããããšããå€å žçãªãã¬ãŒãºãããã¯ããã«åªããŠããŸãã ããã«ã»ãªããŽã£ã³ã³ã¯éåžžã«éŠå°Ÿããèªåèªèº«ã«æè³ããåçåããããœãªã¥ãŒã·ã§ã³ã®å°éçéçºã«å¯Ÿãã圌ã®æºåã瀺ããŸããã ããŠããæåŠããã®ãé£ããç³ãåºãåãåã£ãŠãé©ããªãã§ãããã
æªæ¥
Pavelã¯è³ãšããŠã©ã€ã»ã³ã¹ãååŸããŸãããè¿ãå°æ¥ãGooglePlayã«ã¢ããªã±ãŒã·ã§ã³ã衚瀺ãããäºå®ã§ãã
ãœãªã¥ãŒã·ã§ã³ã®æ¿èªãšããŠãããã¯ããããçšã·ã§ã«ã¿ãŒãã§åœŒã®ãœãªã¥ãŒã·ã§ã³ã䜿çšããŠã¢ããªã±ãŒã·ã§ã³ãäœæããããããŒã«ã«äŸé ŒããŸããã æ¬åœã®å Žåã¯ããã®ãããªçµç¹ã«ã¯ãå®å šãªéçºãã®æ段ããããŸããããããã°ã©ãã³ã°ãªãã®äºç®ãªãã·ã§ã³ãéèŠã§ãã
ã©ã®ããã«æºåãããïŒçŸåšãã¹ã段éã§ãïŒ-å ¬éããŸãã
ã³ã³ããã£ã·ã§ã³ãPascal Interpreter for Androidããã³ã³ããã£ã·ã§ã³ã«æåºãããŸããããããžã§ã¯ãã®äœè ã¯Alexander Sakharovã§ãã PavelããAndroidåãã¢ãã€ã«Delphi-IDEããäœæããAlexanderããã¢ãã€ã«Delphiã®ç¬¬2éšããäœæããããšãããããŸããã åºçç©ã«æ³šæããŠãã ããããéèš³è ãã®ã¬ãã¥ãŒã¯ããã«ãªããŸãã
ããããããã®ãããªè»œéã®ããŒã«ã䜿çšããŠã顧客ãåŒãä»ãããããšãã§ããŸãã ããã«ããèšèšæ¿èªãïŒãmocapãïŒããããŸãã ãŸãã¯ããã«ã¹ã¿ã ãã¶ã€ã³ã¢ããªããè£ ã£ãŠã¹ããŒãã³ã°ããããšãã§ããŸãã
åè³è ãžã®ã€ã³ã¿ãã¥ãŒïŒãããžã§ã¯ãã«é¢ããæè¡çãªè©³çŽ°-äœè ã«ã€ããŠåœŒã®äœåã«ã€ããŠè©±ãã®ã«é©ããŠããã®ã¯èª°ã§ããïŒïŒ
RAD Studio XE5ã®ç«ã¡äžãã«é¢ãããã³ã¹ã¯ã®Embarcaderoã¯ãŒã¯ã·ã§ããã®åç
1.ãå æ°ã§ãããã©ãã§ããïŒ
ç§ã®ååã¯ãªããã³ã³ããã«ã§ãã ç§ã¯ãæ å ±æè¡ãœãããŠã§ã¢åŠç§ã®æ å ±ç§åŠãšã©ãžãªé»åå·¥åŠã®ãã©ã«ãŒã·å·ç«å€§åŠã®2幎çã§ãã å°éãœãããŠã§ã¢ãšã³ãžãã¢ã
2.å¶ç¶ã§ã¯ãªããæããã«æãŸã£ãã äœæ³ã§ããã°ã©ãã³ã°ãå§ããŸãããïŒ ã䞡芪ã¯å©ããŠãããŸãããïŒ å çïŒ ç¬åŠïŒ
ã¯ããããã§ãã ã¡ãªã¿ã«ã圌ã¯ãªã©ã³ãã§éå¬ããã2012幎ã®è¥æç§åŠè åœéäŒè°ã§åªåããŸããã ãããããŸãæåã«ã ç§ã¯ã11æ³ãã12æ³ã®Delphiã§æåã®ãHello WorldããæžããŸããã ç§ã¯å®å šã«ç¬åŠã§ããã°ã©ãã³ã°ãå匷ããããã°ã©ãã³ã°ã®èŠ³ç¹ãã3ã4幎éç 究ããã°ã©ã ãè¿œããŸããã OOPã¯ãŸã ééãå§ããŠããŸããã
3.ã©ããªããã°ã©ãã³ã°èšèª/ãã¯ãããžãŒãç¥ã£ãŠããŸããïŒ
DelphiãCãC ++ãHTML
4.å°ãªããšãåŠççšã®ããªãè€éãªã¢ããªã±ãŒã·ã§ã³ãå®è£ ããŸãããããã«ã¯ããã¢ã«ãŽãªãºã ãæ¿å ¥ãããæ©èœã ãã§ãªããã¢ããªã±ãŒã·ã§ã³ã®åäœãã€ã³ã¿ãŒãã§ãŒã¹ã®æ§æãæ©èœãã³ã³ããŒãã³ãã¢ãžã¥ãŒã«ã«ãããŒããããæ¹æ³ã®ç解ãå¿ èŠã§ãã Delphiã¯åçŽããããããæµè¡é ããã®ãã¯ãããžãŒã§ã¯ãªãããã«æããŸããïŒ
ãã¡ããéããŸãïŒ Delphiã¯ãç§ããããžã§ã¯ããäœæããéã®äž»èŠèšèªã§ãã Delphiã䜿çšãããšãããã°ã©ã ãäœæããããã«ãèšèªã®æ©èœã«ã€ããŠèããå¿ èŠã¯ãããŸãããåçŽãªåé¡ã解決ããããã«è€éãªæ§é ãèãåºãå¿ èŠã¯ãããŸããã ç¹ã«ä»ãXE4ããã³XE5ã®ããŒãžã§ã³ã®ãªãªãŒã¹ã§ãDelphiãiOSããã³Androidåãã«äœæã§ããããã«ãªã£ããšããç§ã®æèŠã§ã¯ã2çªç®ã®é¢šããããŸãã Delphiã§æžãããAndroidã¢ããªã±ãŒã·ã§ã³ãèŠãããšãã倧åŠã®åå¿ãšå çã¯é©ããŸããã
5.ãããžã§ã¯ãã®ãŸãã«ã¢ã€ãã¢-ããã¯ã©ãããæ¥ãã®ã§ããïŒ èª°ãã®æ¢è£œã®ã¢ããã°ãåããåµé çã«äœãçŽãããšããŠããããã¯ãã§ã«å€§ããããšã§ãïŒ ãããžã§ã¯ãã®æŽå²ã«ã€ããŠæããŠãã ããã
ç§ã¯ä»ã®éçºã«åºã¥ããŠããŸããã§ãããããã®ã¢ã€ãã¢ã¯æåã¯ç§ããçãŸããŸãããããšãããããã§ã«ååšããŠããããã«èŠããŠãã§ãã ããã¯ãã¹ãŠãã¿ãã¬ãããé»è©±ã§ããã°ã©ã ãçŽæ¥äœæããŠã³ã³ãã€ã«ããããšããé¡ãããå§ãŸããŸããã ïŒè¬çŸ©ããã¢éã®äŒæ©ã§å®éšå®€ã®ããã°ã©ãã³ã°ãè¡ãããšã¯éåžžã«äŸ¿å©ã§ãïŒã ããããé©ããããšã«ããã®çš®ã®ãã®ã¯èŠã€ãããŸããã§ããã ãããã£ãŠãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³çšã®ã¢ãã€ã«éçºç°å¢ã®ã¢ã€ãã¢ã§ãã æ¬æ Œçãªã³ã³ãã€ã©ã®äœæã¯é·æçãªäœæ¥ã§ãããåçŽã§ã¯ãããŸããããããã£ãŠãããè¯ãææãŸã§å»¶æãããŸããããããã°ã©ã ã®ããžã¥ã¢ã«ãã¶ã€ããŒã®äœæã¯éåžžã«è¿ éã«å¯èœã§ãã
次ã«ãã¢ã€ãã¢ã®æèãããã°ã©ã ãæ§ç¯ããããã®ãªãã·ã§ã³ã®ç 究ããŠãŒã¶ãŒãããã°ã©ã ãäœæããããã®æŠç¥ã®æ€çŽ¢ãå§ãŸããŸããã ãã®åŸãå¥ã®ã¢ã€ãã¢ãæãã€ããã 絶察ã«èª°ã§ã䜿çšã§ããããã°ã©ã ãäœæããŠã¿ãŸãããïŒ èª°ããã¢ã¯ã»ã¹ã§ããæ å ±ïŒãã¬ãŒã³ããŒã·ã§ã³ãªã©ïŒãå ±æããå¥ã®æ段ãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã«ãããšã©ããªããŸããïŒ ãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãã®æŠå¿µã®ãã¬ãŒã ã¯ãŒã¯ãæ¡åŒµãããŠãŒã¶ãŒãã€ã³ã¿ã©ã¯ãã£ããªã³ã³ãã³ããèªç±ã«äœæããã³å ±æã§ããããã«ãããã©ãã§ããããã ããããã¹ãŠããããžã§ã¯ãã®ã¹ãŒããŒã¿ã¹ã¯ã«ãªããŸããã
6.次ã«ããããžã§ã¯ãã®æ©èœã«ã€ããŠèª¬æããŸãã ãŠãŒã¶ãŒã®ç®ã§ããªãã®æ±ºå®ã説æããŸããã ãäœæè ã®ç®ãéããŠããã ããã
AppFactoryã§ã®ã¢ããªã±ãŒã·ã§ã³ã®äœæã¯éåžžã«ç°¡åã§é«éã§ãã
ãããžã§ã¯ãã«ã¯2ã€ã®ã¢ããªã±ãŒã·ã§ã³ãå«ãŸããŸãã
- AppFactory-ã¢ããªã±ãŒã·ã§ã³ãæ§ç¯ããããã®ããã°ã©ã ã
- AppProductsã¯ãå®æåãçºå£²ããããã®ããã°ã©ã ã§ãã
ãšãã£ã¿ãŒã¯ãã¢ããªã±ãŒã·ã§ã³ã®èšèšãšãã®ã³ã³ãã³ããåé¢ããããã«æ§ç¯ãããŠããŸãã ã¡ã€ã³ã³ã³ãã³ãã¯ãã³ã³ãã³ããé 眮ããããŠã£ãžã§ããã§æ§æãããŸãã
åãŠã£ãžã§ããã¯ãç¹å®ã®æ©èœãåããå®å šã«ã«ã¹ã¿ãã€ãºå¯èœãªã¢ãžã¥ãŒã«ã§ãã ãŠãŒã¶ãŒã¯ãäœæãããã¢ããªã±ãŒã·ã§ã³ã®ã¿ã¹ã¯ã«å¿ããŠãå¿ èŠãªãã®ãè¿œå ããããã«å¿ããŠèª¿æŽããŸãã
ãŠã£ãžã§ããã¯ãAppFactoryã§äœæãããã¢ããªã±ãŒã·ã§ã³ã®äž»èŠéšåã§ãã äœæãããã¢ããªã±ãŒã·ã§ã³ã®èšå®ã§ããããã®è¡šç€ºæ¹æ³ïŒããã³ãããã«å¿ããŠãããã®éã®ããã²ãŒã·ã§ã³ïŒãæå®ã§ããŸãïŒãªã¹ããŸãã¯ã¿ãã ãããã£ãŠãå°æ¥ã®ã¢ããªã±ãŒã·ã§ã³ã®ã¡ãã¥ãŒãäœæãããŸãã
ã¢ããªã±ãŒã·ã§ã³ã®äžè¬çãªãã¥ãŒãäœæããã«ã¯ãVCL \ FMX Delphiã³ã³ããŒãã³ãã®æäœã«ååçã«äŒŒãŠããã€ã³ã¿ãŒãã§ã€ã¹èŠçŽ ïŒç»åãã©ãã«ãããã«ãªã©ïŒã䜿çšããŸãã ãããã®ããããã£ãAppFactoryã§æè»ã«æ§æãããŸãã å®æããã¢ããªã±ãŒã·ã§ã³ã¯ãAppProductsã䜿çšããŠæºåž¯é»è©±ã§ããã«èµ·åã§ããŸãã
AppProductsãå¿ èŠãªã®ã¯ãªãã§ããïŒ ãã¡ãããã¹ããŒããã©ã³ã§çŽæ¥.apkãã¡ã€ã«ãåéãããã£ãã®ã§ãããæ®å¿µãªããã圢åŒã®ä»æ§ã«ããããããè¡ãããšã¯ãŸã ã§ããŸããããå°æ¥çã«ã¯å¯èœã§ãã ãããã£ãŠãã¢ããªã±ãŒã·ã§ã³ãå®è¡ããã«ã¯å¥ã®ããã°ã©ã ãå¿ èŠã§ãããã¢ããªã±ãŒã·ã§ã³ãDelphiãœãŒã¹ã³ãŒãã«ãšã¯ã¹ããŒãããŠãç¬ç«ããã³ã³ãã€ã«ãè¡ãããšãã§ããŸãã
äœæããã¢ããªã±ãŒã·ã§ã³ã¯èªç±ã«äº€æã§ããŸããäž»ãªããšã¯ãAppProductsãã¯ã©ã€ã¢ã³ãã«ã€ã³ã¹ããŒã«ãããŠããããšã§ãã ãããžã§ã¯ãã®ç®æšã«åŸã£ãŠãããã¯ãŸã£ããéèŠã§ã¯ãããŸããããããã©ããããã€ã³ã¿ã©ã¯ãã£ããªã³ã³ãã³ãã®äœæãšå ±æã®ã¢ã€ãã¢ã®æ®åã«è²¢ç®ããŸãã