FlexãšSilverlightãæ¯èŒããèšäºã¯è±å¯ã«ãããŸãããäž¡æ¹ã®ãã¯ãããžãŒãæ¯èŒãããšã³ã¿ãŒãã©ã€ãºéçºã«ã€ããŠäžèšãèŠãããšããããŸããã Flexã®ããã§ããå€ãã®äººã ã¯åºæ¬ãåŒçšããŠããŸãããäŒæ¥ç°å¢ã§ã¯ããã¯äž»ãªè°è«ã§ã¯ãªããããªãã®æ±ºå®ã«åœ±é¿ããäºå®ã®1ã€ã«ãããŸããã
æåãã.NETãã©ãããã©ãŒã ã§ãšã³ã¿ãŒãã©ã€ãºãœãããŠã§ã¢ãéçºããçµéšããããæè¿äŒæ©ãåããæ°ãæãããŠéåžžã«å€§ããªFlexã¢ããªã±ãŒã·ã§ã³ãæäœããŸããã
ãªããã€ã³ã¿ãŒãããã¢ããªã±ãŒã·ã§ã³ïŒRIAïŒã¯æé·ããŠããŸãã Adobeã¯ãããéçºè æåã®Flexã§ããFlash補åãäœæããŸããã ãã€ã¯ããœããã¯æè¿ãSilverlightã§åžå Žã«åå ¥ããŸããã
ç§ã®æèŠã§ã¯ãã¢ããã«ã¯èŠæ ãã®è¯ãã¢ããªãåãã匷åãªèšèšããŒããã©ãªãªããããŸãã Microsoftãš.NETãã©ãããã©ãŒã ã¯ãããžãã¹ã¢ããªã±ãŒã·ã§ã³ã®éçºã«ããããªãŒããŒã§ãããSilverlightã«ããŒã¯ãæ®ããŸãããSilverlightã§ã¯ãããžãã¹æ©èœãå€èŠ³ãããéèŠã§ãã
ãã®èšäºã§ã¯ã2ã€ã®ãã¯ãããžãŒã®æ¯èŒãéããŠãSilverlightçµ±åããžãã¹æ©èœãæäŸããäŸ¡æ ŒãFlexã®äŸ¡æ Œãããå€§å¹ ã«äœãããšã瀺ãããåªããŠããŸãã
èšèª-CïŒvs. Actionscript
CïŒã¯å®å šã«ãªããžã§ã¯ãæåã®ããã°ã©ãã³ã°èšèªã§ãããããžãã¹ã¢ããªã±ãŒã·ã§ã³ã®éçºã«ãããŠäž»å°çãªå°äœãå ããŠããŸããéçºè ã¯åœããåã ãšæã£ãŠããŸãã ãªã¹ãããããã€ãã®éãïŒ
CïŒ
- 10é²ããŒã¿å
- ã¹ã¬ããã®ãµããŒã
- ãžã§ããªãã¯
- ã¡ãœããã®ãªãŒããŒããŒã
- ãªãã¬ãŒã¿ãŒã®éè² è·
- æ§é ãšåæ
- ãã©ã€ããŒãã³ã³ã¹ãã©ã¯ã¿ãŒ
- æœè±¡ããŒã¯ãŒã
- ã©ã ãã¹ãšãªã³ã¯
- ãããªãã¯ã²ãã¿ãŒ/ãã©ã€ããŒãã»ãã¿ãŒ
- èªåããããã£
- ãªããžã§ã¯ãåæåå
- å€æ°ã®ç¡æ¡ä»¶åä»ã
ActionscriptïŒ
- åçãªã¯ã©ã¹ãšã¿ã€ã
- Actionscriptã®ã€ãã³ãã¯æååãä»ããŠãªã³ã¯ãããŠããããããªãã¡ã¯ã¿ãªã³ã°ã§åé¡ãçºçããå¯èœæ§ããããŸãã
- å éšã¢ã¯ã»ã¹ä¿®é£Ÿåã¯ãcïŒã§ã®å®è£ ãšæ¯èŒãããšãå°ãç¡æå³ãªããã§ãã
ãããã®æ¬ èœããŠããæ©èœã¯ãããŒãã£ãŒã§ããªãã·ã§ã³ã§ä¹±éãªãªããžã§ã¯ãæåã³ãŒãã®äžè²«ããçµæã§ãã ã¿ã€ãã®åŒ·å¶ã¯ãããšãã°ã³ã¬ã¯ã·ã§ã³ãåç §ããå Žåãªã©ã«æãé »ç¹ã«å¿ èŠã«ãªããŸãã ããããActionscriptã§å¿ èŠãªããšãè¡ãããšã¯äŸç¶ãšããŠæè¡çã«å¯èœã§ãããã®çµæãã³ãŒãã¯å¿ ç¶çã«ã¢ããã¥ã¢ã«ãªããã¿ã€ãã»ãŒããå°ãªããªããä¿å®ãé£ãããªããŸãã
Flexã«ã¯10é²æ°åã®ãµããŒãããªãããšãç¥ãããŠããŸããããã®åé¡ã¯éèã¢ããªã±ãŒã·ã§ã³ãéçºããéã«ç¹ã«æ·±å»ã§ãã æµ®åå°æ°ç¹ã䜿çšããæ°åŠã¯ãã»ãšãã©ã®å Žåã財åèšç®ã«ã¯ååã§ã¯ãããŸããã詳现ã«ã€ããŠã¯ã ãã¡ããã芧ãã ãã ã FXCompsã¯10é²æ°ã®å®è£ ãFlexã«ãããããŸããããããã©ãŒãã³ã¹ãã¹ããå®è¡ãããšã10é²æ°ã®é€ç®ãæµ®åå°æ°ç¹ã®é€ç®ãã3,000åé ãããšãããããŸããã 10é²æ°ã®ä¹ç®ã¯ãæµ®åå°æ°ç¹ã®ä¹ç®ããã650åé ãã§ãã æ£çŽãªãšããã10é²æ°ã®èšç®ã¯CïŒã®floatããé ãã§ããã ãããšåãã¹ã±ãŒã«ã§ã¯ãããŸããã ãã®é ç®ã¯ãéèã¢ããªã±ãŒã·ã§ã³ã®äœæãæ€èšããŠãã人ã ã«ãšã£ãŠãFlexã®é©åæ§ã«ã€ããŠæ·±å»ãªç念ãæ±ãã®ã«ååãªã¯ãã§ãã
Actionscriptã®ãã®æ¬ ç¹ããã³ãã®ä»ã®æ¬ ç¹ã®çµæãšããŠãã³ã³ãã€ã©ã¯ã³ã³ãã€ã«æã«åé¡ãæ€åºããå¹çãäœäžããŸãã ã³ã³ãã€ã«ã¯CïŒãããé ããªããŸãïŒFlexã¯ã³ãŒã100,000è¡ããšã«2åå¿ èŠã§ãïŒã ç°¡åã«èšãã°ãActionscriptã¯CïŒãããã¯ããã«é ãã§ãã
èšèªèªäœã«è§ŠããããšãªããCïŒã«.NET Frameworkãããããã®å€ããSilverlightã§å©çšã§ããããšã«æ°ä»ãã§ãããã ãã®ç¹ã§ãFlex / ActionscriptããŸã å®è£ ããå¿ èŠããããŸãã
MXML察 Xaml
MXMLãšXAMLã¯ãåæ§ã®ããšãéæããããšããŠããŸãã ã©ã¡ããUIãšã¢ãã¡ãŒã·ã§ã³ãèŠã€ããããã®ããŒã¯ã¢ããèšèªã§ãã MXMLã¯æ¯èŒçåçŽã§çŽæçã§ãããããçµéšè±å¯ãªéçºè ã¯MXMLããã°ããç¿åŸã§ããŸãã äžæ¹ãXAMLã¯ããã»ã©å³å¯ã§ã¯ãªãããã匷åã§ãããåŠã¶ããšãå°é£ã§ãã
Silverlightã¯ãã³ãŒããšããŒã¯ã¢ããã®åé¢ã«ããè²¢ç®ããéšåã¯ã©ã¹ãããããããªåé¢ã³ãŒãã¢ãã«ãæäŸããŸãã Flexã§ã¯ãã¹ã¯ãªãããããã¯ãMXMLãã¡ã€ã«ã«é 眮ã§ããŸããããã«ããããã¬ãŒã³ããŒã·ã§ã³ã³ãŒãã¢ãã«ã§UIããŒã¯ã¢ãããã¡ã€ã«ãèšãäžãããŸãã
ãã¬ãŒã ã¯ãŒã¯ã³ã³ããŒãã³ã
ããã«äœ¿çšã§ããFlexã«ã¯ãããã«å æ¬çãªã³ã³ããŒãã³ãã»ããããããŸãã ãããã®ã³ã³ããŒãã³ãã®ããè€éãªæ©èœãå¿ èŠãªå Žåãå質ã«åžžã«äºææ§ããããšã¯éããŸããã
Advanced DataGridã®å éšã§äœæ¥ããFlexéçºè ã«è³ªåããŠãã ããã ïŒ åé¡ã®èª¬æ ïŒã ç§ã¯ã人ã ãæåã§ã³ã³ãããŒã«ã®çŠç¹ãåãããã¿ãã€ãã³ããåŠçããã°ãªããã®ã³ã³ãããã¯ã¹ã®ã¹ã¯ããŒã«ããŒã®ã³ãŒãã«ã³ãŒããå®è£ ããŠããã®ãèŠãŸããã æ©èœã®ããããªè€éããå¿ èŠã«ãªããšããã«ãFlexã®ã³ãŒãã®è€éããææ°é¢æ°çã«å¢å€§ããããšãããããŸããã
ãã€ã¯ããœããã¯ãFlexã®ããã€ãã®æ©èœãããŸãåžåããŸããã ãã ããSilverlightã«ã¯æ¬ ããŠãããã®ããããŸãïŒãããªãšãªãŒãã£ãªã®é²é³ãå°å·ã
ãµãŒãããŒãã£ã®ã³ã³ããŒãã³ã
Microsoftã¯ããã§ç¹ã«åªããŠããŸãã Infragistics ã Syncfusion ã Telerikããã®ãªãã¡ãŒãã芧ãã ããã ãããã®ææ¡ã䜿çšãããšãã»ãšãã©ã³ãŒããèšè¿°ããããšãªãã匷åãªUIããã°ããäœæã§ããŸãã
Flexã«ã¯ã IBMã®ILOG Elixirãªã©ã®åçšããã³ãªãŒãã³ãœãŒã¹ã®ãªãã¡ãŒããããŸãã ããããMicrosoftåãã®ã³ã³ããŒãã³ããäœå¹ŽãéçºããŠããäŒæ¥ããããŸãã Flexã¯ããéå®çãªãªãã¡ãŒãæäŸããŸãã
ãã³ãã¬ãŒããšãã©ã¯ãã£ã¹ããã¬ãŒã ã¯ãŒã¯ãšç®¡çã®å転ïŒIoCïŒ
Silverlightã«ã¯ãComposite WPFãCLSA.netãSpring.netãªã©ãããã«äœ¿çšã§ãããã¬ãŒã ã¯ãŒã¯ãå€æ°ãããŸãã ãã®ãããªãã¬ãŒã ã¯ãŒã¯ã䜿çšãããšãäžè²«æ§ã®ãããµããŒããããã³ãŒããèšè¿°ããããã®å埩ãã¿ãŒã³ãã€ã³ã¹ããŒã«ããããããéçºè ã®çç£æ§ãå€§å¹ ã«åäžããã ãã§ãªãããã§ã«å®è£ ãããŠãããããžã§ã¯ãã§èšè¿°ããå¿ èŠãããæãè€éãªã³ãŒãã®å€ããå«ãŸããŸãã
ç¹°ãè¿ããŸããã.NETã«ã¯ãã³ãŒãã®äŸåé¢ä¿ãæžããããšãã§ããåªããIoCãã¬ãŒã ã¯ãŒã¯ãããã€ããããŸãã ç§ã®ãæ°ã«å ¥ãã®ãã¬ãŒã ã¯ãŒã¯ã®1ã€ã¯Google Autofacã§ãã ãããŠãActionscriptã¯ãã®æ¹åã«åããŠããŸãããããã«é¢ããŠã¯ãŸã CïŒã«é ãããšã£ãŠããŸãã Spicefactoryã®Parsleyã¯åªããŠããŸãããSpringã®ãããªå€§èŠæš¡ãªæ§æãã¡ã€ã«ãå¿ èŠã§ãã Adobeã«ã¯LifeCycle ESããã ãããã«ã¯å€ãã®æ©èœããããŸãããç¹å®ã®å¶éã課ããããããšããããŸãã
IDE /ãªãã¡ã¯ã¿ãªã³ã°ããŒã«
倧èŠæš¡ãªãããžã§ã¯ãã§ã¯ãIDEã«ããéçºè ã®æéãå€§å¹ ã«ç¯çŽã§ãããéãç¯çŽã§ããŸãã éã«ãæ©èœãå¶éãããäžå®å®ãªIDEã¯ããããžã§ã¯ãã®é 延ã«ã€ãªãããŸãã
ããã¯ãSilverlightããªãŒããŒã§ããåéã®1ã€ã§ãã Visual Studio 2008ã¯ãç¹ã«Resharperãªã©ã®ãªãã¡ã¯ã¿ãªã³ã°ããŒã«ãšçµã¿åããããšãåªããIDEã§ãã
FlexBuilderããã³Eclipseã«ã¯ã次ã®ãããªç¹å®ã®æ¬ ç¹ããããŸãã
- å®è³ªçã«ãªãã¡ã¯ã¿ãªã³ã°ã®ãµããŒãã¯ãããŸããã ãã«ã¯ã³ãŒãã§ã¯ãæ€çŽ¢ãååå€æŽã®äŸ¿å©ãããè©Šããã ãããIDEã匷å¶çµäºããŠåèµ·åããå¿ èŠããããŸãããã¡ã¢ãªãªãŒããŒãããŒãçºçãããŸã§10åéåŸ ã€ããšãã§ããŸãã
- ãããã¬ãŒ Flex Builder 3ã«ã¯æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ããªã©ã®åºæ¬çãªãã®ã¯ãªããåçŽãªåŒã®ã¿ãç£èŠã§ããŸãã æ¡ä»¶ä»ããã¬ãŒã¯ãã€ã³ãã¯Flex Builder 4ã«ãããŸãããããã¯åã³VSãšFBã®éã®ã®ã£ããã匷調ããŸãã VS2010ã¯ãã¹ããªã«ã«ãããã°ãªã©ã®æ°äžä»£ã®æ©èœãæäŸããŸãããFB4ã¯æçµçã«å¿ èŠãªæ©èœãè¿œå ããŸããããã¯ãã¹ãŠã®IDEããŒãžã§ã³1ã«ããã¯ãã§ãã
- MS TestãŸãã¯Resharperã®æäŸãšæ¯èŒããŠãçµ±åããããŠããããã¹ã¿ãŒã®æ¬ åŠã
åäœãã¹ã/ã¢ãã¯
ãã¬ãã¯ã¹ãŠãããã®ãã¹ãèœåã¯ååã§ãã å人çã«ã¯ããã®åéã§ãã®ãããªããŒã«ãéžæãããšããããžã§ã¯ããè¡ãè©°ãŸãå¯èœæ§ããããšæããŸãã ãã ããCïŒã«ã¯moqã©ã€ãã©ãªã®æè¯ã®éžæããããŸãã
Visual Studioã䜿çšããCïŒã§ã®åäœãã¹ãã¯ãMS TestãResharperãªã©ã®çµ±åããŒã«ã䜿çšãããšããå¹ççã«ãªããŸãããã¹ãããã¡ãœãããŸãã¯ã¯ã©ã¹ãéžæããã ãã§ãIDEã«çµæã衚瀺ãããŸãã ãã¹ãã倱æããå Žåã¯ãã¯ãªãã¯ããã ãã§ã倱æãããã¹ãã¡ãœãããéããŸãã Flexã¢ããªã±ãŒã·ã§ã³ã®ããäžéšã®ã¿ããã¹ãããå¿ èŠãããå Žåã¯ãå¥ã®ãã¹ãã¯ã©ã¹ãäœæããŠå®è¡ãããã¹ãæ¡ä»¶ãå®çŸ©ãããããžã§ã¯ããåã³ã³ãã€ã«ããŠå®è¡ããå¿ èŠããããŸãã FlexãŠãããã§ãã¹ãã倱æããå Žåã倱æãããã¹ãã«ãã©ã°ãä»ããŠãIDEã§æåã§èŠã€ããå¿ èŠããããŸãã
ã¯ããFlexã§ãã¹ãã§ããŸãããããè€éã§æéãããããŸãã
ãããã¡ã€ãªã³ã°
Flex Builderã®ãããã¡ã€ãªã³ã°ããŒã«ã¯éåžžã«å°ãªãããµãŒãããŒãã£ã®ä»£æ¿æ段ã¯ãããŸããã ããã©ãŒãã³ã¹çµ±èšã¯ãã¹ãããã·ã§ããããã®2åã§ã¯ãªããã¢ããªã±ãŒã·ã§ã³ã®éå§ããååŸãããŸãã
ç§ã®ç¥ãéããçŸåšãSilverlightã®ãããã¡ã€ã©ãŒã¯ãããŸããããã³ãŒããWPFã«å€æããã®ã¯éåžžã«ç°¡åã§ããããã¡ã€ãªã³ã°ããŒã«ã䜿çšããåŸãç§ã®ãæ°ã«å ¥ãã¯dotTraceã§ãã AqtimeãšDevPartnerã䜿çšã§ããŸãã
ã³ãŒãäŸãšããã¥ã¡ã³ã
CïŒã§ããããããšã®99ïŒ ããã§ã«å®è£ ãããŠããã90ïŒ ä»¥äžãã€ã³ã¿ãŒãããã§èª¬æãããŠããŸãã .NETã³ãã¥ããã£ã¯æŽ»æ³ãåããŠããŸãã ç«ã¡åŸçããŠããå Žåã¯ãGoogleã§5åééããããMSDNã衚瀺ããåŸãçããèŠã€ãããŸãã Flex Livedocsã«ã¯ãMSDNãããã¯ããã«å°ãªãçŽ æã®ã»ããããããŸãã
éçºè ã®çµéš
äžè¬ã«ãFlash / Flexã®éçºè ã¯é·å¹Žã«ããã£ãŠåªããã€ã³ã¿ãŒãã§ã€ã¹ãåããã¢ããªã±ãŒã·ã§ã³ãäœæããçµéšããããŸããããµããŒããããä¿¡é Œã§ããã³ãŒããåžžã«äœæãããšã¯éããŸããã
ãŸãããšã³ã¿ãŒãã©ã€ãºã¢ããªã±ãŒã·ã§ã³ã®äœæã«é·å¹Žã®çµéšãæã€CïŒéçºè ãå€æ°ããŸããããŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ã®ã»ãšãã©ã¯è²§åŒ±ã§ãã
åœç¶ãäž¡æ¹ã®å Žåã«äŸå€ããããŸãã ç§ã¯ããã€ãã®åªããFlexéçºè ã«ç²ŸéããŠããŸãã
èšçœ®ããŒã¹
Flash Playerã¯99ïŒ ã®ã³ã³ãã¥ãŒã¿ãŒã«ã€ã³ã¹ããŒã«ãããŸãã 軜éã¢ããªã±ãŒã·ã§ã³ã䜿çšããŠã§ããã ãå€ãã®ãŠãŒã¶ãŒã«ãªãŒããããå Žåã¯ãFlex / Flashãåœç¶ã®éžæã§ãã
ãšã³ã¿ãŒãã©ã€ãºã¢ããªã±ãŒã·ã§ã³ã®å Žåãããã¯éèŠãªè°è«ã§ã¯ãããŸããã äžè¬ã«ã顧客ãã¢ããªã±ãŒã·ã§ã³ãè³Œå ¥ããå ŽåãSilverlightãèŠæ±ããã®ã¯ããã»ã©è€éã§ãèŠæ±ãå³ããããšã§ã¯ãããŸããã å€ãã®äŒæ¥ã¯çŸåšãæšæºã€ã³ã¹ããŒã©ãŒã®äžéšãšããŠSilverlightãå«ããŠããŸãã
ãŸãšã
æçµçã«ãç§ã«ãšã£ãŠãéžæã¯ããªããéæããããšããŠãããã®ã«ãªããŸãã A.çŸæç¹ã§ã¯ãã¢ããªã±ãŒã·ã§ã³ã®å€èŠ³ãæãæžå¿µããããã®ã§ããå ŽåãFlexãæãé©ããŠããå¯èœæ§ããããŸãã ãã ããè€éãªããžãã¹æ©èœãéçºããäºå®ã§ããéã®çš®é¡ã®äœ¿çšã«ãé¢å¿ãããå Žåã¯ãSilverlightãæé©ã§ãã ããã¯äž»ã«ãSiverlightãããžã§ã¯ãã§ååŸããã³ãŒãã®çµæãã·ã³ãã«ã§é«ã¬ãã«ãããä¿å®æ§ãé«ããã¯ãªãŒã³ãªããã§ãã è€éããå¢ãã«ã€ããŠãæ§é åãããåºæ¬ã³ãŒããæã€ããšãéåžžã«éèŠã«ãªããŸãããããããªããã°ããšã©ãŒãšãªã°ã¬ãã·ã§ã³ã®æ°ãå¢ããè¿œå ã³ã¹ãã«ãªããŸãã
ç§ã¯äœå¹Žãã®éCïŒã§éçºããŠããŠã楜ããã§ããŸãã ãã¬ãã¯ã¹ã«åãæ¿ãããšããèäžã®åŸãã«æãçžããããããªæ°ãããŸããã ç°å¢ãå®çŸã§ãããã®ã®ã»ãã®äžéšããæäŸããªãã®ã¯ã€ã©ã€ã©ããããšã§ãã ãããèšã£ãŠãFlexã¢ããªã¯ç§ãèŠãäžã§æãèŠæ ãã®è¯ãã¢ããªã§ããããšãèªããŸãã
翻蚳ã調æŽããŠãããXaocCPSã«æè¬ããŸãã