ãã¼ã«ãè¨èªãå«ãéçºæè¡ã§âOpennessâã¸ã¨å¤§ããèµãåã
ããGrapeCity ECHO Tokyo 2016ãã®å¹ãåã£ã¦è½ã¨ãè¬æ¼ã«ã¯ãæ¥æ¬ãã¤ã¯ãã½ãã ãããããã¼ ã¨ãã³ã¸ã§ãªãºã çµ±æ¬æ¬é¨ ã¨ãã³ã¸ã§ãªã¹ãã®äºä¸ç« æ°ãç»å£ããããã¤ã¯ãã½ããã®æè¡çåãçµã¿ã«ããã¦ãè¿å¹´ãé¡èãªå¾åã¨ãªã£ã¦ããã®ãâOpennessâã¸ã®æåã®é«ã¾ãã ãè¨ãã¾ã§ããªãããã®ä¸æ ¸ã¨ãªã£ã¦ããã®ããªã¼ãã³ã½ã¼ã¹ã¸ã®ã³ãããã¡ã³ãã§ããã
ãä¾ãã°ãä»åã®ã¤ãã³ãã«ããããã¼ã¯ã¼ãã®ä¸ã¤ã§ãããTypeScriptããJavaScriptã®ã¹ã¼ãã¼ã»ããã¨ãªããã®è¨èªã¯ãC#ã®ãªã¼ãã¢ã¼ããã¯ãã¨ãã¦ãç¥ãããå社ã®ã¢ã³ãã¼ã¹ã»ãã«ã¹ãã¼ã°æ°ãä¸å¿ã«éçºããããéçåä»ãã¨ã¯ã©ã¹ãã¼ã¹ã®ãªãã¸ã§ã¯ãæåã®æ¡ç¨ããã®å¤§ããªç¹å¾´ã¨ãªã£ã¦ããã
ãTypeScriptã§è¨è¿°ãããã½ã¼ã¹ãã³ã³ãã¤ã«ããã¨ãJavaScriptã®ã³ã¼ããçæããããã¨ã«ãªããããã¤ã¯ãã½ããã§ã¯ããã®ã³ã³ãã¤ã©ï¼TSCï¼ã®ã½ã¼ã¹ã³ã¼ããGitHubä¸ã§å ¬éãã¦ããããã®ã»ãã«ãããã¤ã¯ãã½ããã.NET Frameworkã.NETã®ã³ã³ãã¤ã©ãã©ã³ã¿ã¤ã ãªã©ã®ãªã¼ãã³ã½ã¼ã¹åã表æãã¦ãããã¨ã¯å¨ç¥ã®éãã§ããã
ãå ãã¦ãå社ã®ããããâOpennessâã¸ã®æåãå¼·çã«å°è±¡ã¥ãã¦ããã®ããç¡åæä¾ããã¦ããéçºã¨ãã£ã¿è£½åãVisual Studio Codeãã ããã®ãã¼ã«èªä½ããªã¼ãã³ã½ã¼ã¹ã§ãããã¨ã«å ããWindowsã ãã§ãªããMac OS XãLinuxã®ç°å¢ã§ãåä½å¯è½ã¨ãªã£ã¦ãããã³ã¼ãã¨ãã£ã¿ãä¸å¿ã«ãIntelliSenseãã³ã¼ãã®æ´å½¢ãææ³ãã§ãã¯ï¼Lintï¼ããã¬ã¼ã¯ãã¤ã³ãã®è¨å®ãã¹ãããå®è¡ãªã©ããã®æè¼ããéçºæ¯æ´æ©è½ãé常ã«å å®ãã¦ãããGoogleãTypeScriptãã¼ã¹ã§æ§ç¯ãé²ãããAngular 2ãã®éçºã«ããã¦ããå¤ãã®æè¡è ããã®Visual Studio Codeãæ´»ç¨ãã¦ããã¨ã®ãã¨ã ã
é«ã親åæ§ãæã¤WijmoããAngular 2ã«ããéçºãå¼·åã«æ¯æ´
ãç¶ãã»ãã·ã§ã³ã«ã¯ãã°ã¬ã¼ãã·ã㣠Wijmoéçºããã°ã©ã ããã¼ã¸ã£ã¼ ã¢ã¬ãã¯ã¹ã»ã¤ã¯ãã³ã³æ°ãå£ä¸ã«ç»å ´ãGoogleã®æä¾ãã次ä¸ä»£éçºãã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦æ³¨ç®ãããAngular 2ã¨ã°ã¬ã¼ãã·ãã£ã®UIã³ã³ããã¼ã«è£½åãWijmoãã®ã¤ã³ãã°ã¬ã¼ã·ã§ã³ã«ã¤ãã¦è§£èª¬ããã
ãWijmoã«ãããAngular 2ãµãã¼ããæãã¦ã¼ã¶ã¼ã®å£°ã¯ããã§ã«Angular 2ãã¢ã«ãã¡çã®æ®µéããã°ã¬ã¼ãã·ãã£ã«å±ãã¦ããã¨ãããããã«å¯¾ãå社ã§ã¯ãGoogleã®ååãå¾ã¦ãAngular 2ããã¼ã¿çã®ãã§ã¼ãºã«ç§»è¡ããã¿ã¤ãã³ã°ã§ãWijmoã«ããããµãã¼ããã¹ã¿ã¼ãããã¦ããã
ããå½åã®ãµãã¼ãã¯æ¬æ ¼çãªãã®ã¨ã¯ããã¾ããã§ãããããã®å¾å¤ãã®éçºè ã®æ¹ã ããAngular 2ã«ãããã¸ãã¹ã¢ããªã±ã¼ã·ã§ã³éçºã«Wijmoãå©ç¨ãAngular 2ããªãªã¼ã¹ç´åã®RCï¼Release Candidateï¼çã¨ãªã£ã¦ããç¾æ®µéã§ã¯ããã§ã«éçºãçµäºãã¦ããã¨ããã客æ§ãå¤ãè¦ããã¾ããã¾ã ãã©ãããã©ã¼ã ã¨ãã¦æ£å¼ã«ãªãªã¼ã¹ããã¦ããªãã«ãããããããæ¬çªç°å¢ã§ã使ãã®ã客æ§ãããã ãå¢ãã¦ããã¨ããç¶æ³ã¯ãé常ã«çãããã¨ã ã¨æãã¦ãã¾ããã¨ã¤ã¯ãã³ã³æ°ã¯èªãã
ãAngular 2ã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãã¢ããªã±ã¼ã·ã§ã³ã³ã³ãã¼ãã³ãããã¥ã¼ã³ã³ãã¼ãã³ããUIã³ã³ããã¼ã«ã³ã³ãã¼ãã³ãã¨ãã£ãã³ã³ãã¼ãã³ãã§æ§æããããã¨ããã®ç¹å¾´ã¨ãªã£ã¦ãããã³ã³ãã¼ãã³ãã«ã¯ã大ããã¯2ã¤ã®è¦ç´ ãå«ã¾ããä¸ã¤ã¯TypeScriptã®ã¯ã©ã¹ã§ãããã¯ã¢ããªã±ã¼ã·ã§ã³ã®æåãã©ã³ã¿ã¤ã APIãå®ç¾©ãããã®ãããä¸ã¤ã¯ãHTMLã®ãã³ãã¬ã¼ãã§ããããã¡ãã¯ã¢ããªã±ã¼ã·ã§ã³ã®ã«ãã¯ï¼ãã£ã¼ã«ã®âã«ãã¯âã®é¨åãå®ç¾©ããç»é¢ä¸ã§ãã¼ã¸ãã©ã®ããã«è¦ãããã決ãããã®ã ããè¦ããã«Angular 2ã®ã³ã³ãã¼ãã³ãã¯ããããTypeScriptã®ã¯ã©ã¹ã¨ãã³ãã¬ã¼ããçµã¿åãããããã¡ã§ãããããã£ãã¤ãã³ãã®ãã¤ã³ãã£ã³ã°ãè¡ããªããåä½ãããã¨ã«ãªãã¾ããã¨ã¤ã¯ãã³ã³æ°ã¯è§£èª¬ããã
ãä¸æ¹ãWijmoã®ã©ã¤ãã©ãªã¯ãè¤æ°ã®UIã³ã³ããã¼ã«ã»ããã§æãç«ã£ã¦ããããã¥ã¢ãªJavaScriptã§å®è£ ããã¦ãããjQueryãªã©ãå«ãã©ã¤ãã©ãªã¸ã®ä¾åæ§ããªããã¾ããTypeScriptã§è¨è¿°ããã¦ãããã¨ãããã®å¤§ããªç¹å¾´ã¨ãªã£ã¦ããããAngular 2èªä½ãTypeScriptã§è¨è¿°ããã¦ããã®ã§ãWijmoã¨ã®éã«ã¯é«ã親åæ§ããããã¤ã³ãã°ã¬ã¼ã·ã§ã³ãé常ã«ããããããªã£ã¦ãã¾ããã¨ã¤ã¯ãã³ã³æ°ã¯èª¬æããã
ãããã«é¢ãWijmoã§ã¯ããWijmo Angular 2 interopï¼ç¸äºéç¨ã¢ã¸ã¥ã¼ã«ï¼ããç¨æãã¦ãããä¾ãã°ãWijmoã©ã¤ãã©ãªã«ã¯ã¦ã¼ã¶ã¼ããæ¥ä»æ å ±ãåéãããInputDateãã¨ããã³ã³ããã¼ã«ãå«ã¾ãã¦ããããç¸äºéç¨ã¢ã¸ã¥ã¼ã«ã§ã¯ããã«å¯¾å¿ãããWjInputDateãã¨ãããã£ã¬ã¯ãã£ããç¨æããã®å©ç¨ã«ãããAngular 2ã®ã¢ããªã±ã¼ã·ã§ã³ã«Wijmoã®InputDateã³ã³ããã¼ã«ã追å ãããã¨ãã§ããããã ããã®ããã«Wijmoã«ããã¦ã¯ãAngular 2ã®ã¢ããªã±ã¼ã·ã§ã³ã§Wijmoã®å ¨ã³ã³ããã¼ã«ã追å ããåæ¹åãå«ããã¤ã³ãã£ã³ã°ãè¡ãããã®ä»çµã¿ãæä¾ãã¦ããããã®ã¨ãWijmoã§ã¯ãããã©ã¼ãã³ã¹éè¦ã®è¨è¨ããªããã¦ãããAngular 2ã¢ããªã±ã¼ã·ã§ã³ã«ããã¦ããã³ã¼ãã®ãªã¼ãã¼ããããæå°éã«æããªããããµã¤ãºçã«ã軽éã§é«éãªã³ã³ãã¼ãã³ãã®å®è£ ãå¯è½ã¨ãªã£ã¦ããã
ããä»å¾ãAngular 2ã¯ãã¨ã³ã¿ã¼ãã©ã¤ãºã·ã¹ãã éçºåãã®å¼·åºãªåºç¤ã¨ãªã£ã¦ãããã¨ã¯ééãããã¾ãããç¹ã«TypeScriptã¨ããã¢ãã³ãªãªãã¸ã§ã¯ãæåè¨èªãç¨ãã¦ãããã¨ã¯ãã®å¤§ããªã¡ãªãããé«ã親åæ§ãåããWijmoããAngular 2ã«ããã¢ããªã±ã¼ã·ã§ã³éçºãå¼·åã«æ¯æ´ãã¦ãããã¨ã«ãªãã¾ããã¨ã¤ã¯ãã³ã³æ°ã¯èªãã