YAPC::Kyoto 2023 2023-03-19 Yusuke Wada
ããããå ãããã³ãã¨ã³ãéçºè ã«ä¸çªå¤§ããªå½±é¿ãä¸ããã®ã¯ãChromiumãæ¡ç¨ããEdgeããªãªã¼ã¹ããããã¨ã ã¨æãã¾ãã IEã¸ã®å¯¾å¿ããããEdgeã¸ã®å¯¾å¿ããããã¨æã£ã¦ãã人ã«ã¯ãããªãã®æå ±ã§ãã Chromiumãæ¡ç¨ããEdgeããªãªã¼ã¹ãããã¨ãCSSãJavaScriptã®ã©ããªæ©è½ã使ç¨ã§ããããã«ãªããã¯ã¼ã¯ããã¼ããã©ã¦ã¶ãã¹ããããã¦ä»ã®ãã©ã¦ã¶ã¸ã®å½±é¿ãªã©ãããã³ãã¨ã³ãéçºè ã«ã¨ã£ã¦ä½ãæå³ããã®ããç´¹ä»ãã¾ãã Edge Goes Chromium: What Does it Mean for Front-End Developers? ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å½ããã°ã§ã®ç¿»è¨³è¨äºã¯ãå ãµã¤ãæ§ã«ã©ã¤ã»ã³ã¹ãå¾ã¦ç¿»è¨³ãã¦ãã¾ãã Chromiumãæ¡ç¨ããEdgeããªãªã¼ã¹ããã¾ã 使ãã®ã楽ãã¿ãªæ©è½ å°æ¥ã¯ããã«ãã£ã¨ææ ãã©ã¦
æè¿ã§ã¯ãã¶ã¤ã³ãJavaScriptãã¢ã¸ã¥ã¼ã«å¼ã®ã³ã³ãã¼ãã³ãåãé²ãã§ãããHTMLã¨CSSã§ãå¾ã ã«æµ¸éãã¦ããæµãã§ãããå®å ¨ã«å¯¾å¿ã§ãã¦ããã¨ã¯è¨ããªãç¶æ³ã§ããä¾ãã°ãã¡ãã£ã¢ ã¯ã¨ãªã¯ãã¼ã¸ã¬ã¤ã¢ã¦ãã§ã¯ãã¾ãæ©è½ãã¾ãããã¢ã¸ã¥ã¼ã«å¼ã®ã³ã³ãã¼ãã³ããå®è£ ããã®ã¯é£ãããªã£ã¦ãã¾ãã ã¬ã¹ãã³ã·ã対å¿ã®ã¢ã¸ã¥ã¼ã«å¼ã³ã³ãã¼ãã³ããå®è£ ããéã«é©ããã³ã³ãã ã¯ã¨ãªã®èãæ¹ãç´¹ä»ãã¾ãã Container Queries: Once More Unto the Breach by Mat Marquis ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»A List Apartã¨èè ã®è¨±å¯ãå¾ã¦ç¿»è¨³ãã¦ãã¾ãã ã¡ãã£ã¢ã¯ ã¨ãªã®åé¡ç¹ ã¨ã¬ã¡ã³ã ã¯ã¨ãªã¨ã¯ ã¨ã¬ã¡ã³ã ã¯ã¨ãªããã¡ãªçç± ã³ã³ãã ã¯ã¨ãªã¨ã¯ ã³ã³ãã ã¯ã¨ãªã«åãçµãã ã¡ãã£ã¢ ã¯ã¨ãªã®åé¡ç¹ è¤æ°ã®ã³ã³
CSS Flexboxã®å©ç¹ã¯æè»ãªã¬ã¤ã¢ã¦ããè¡ãããã¨ã§ãããããããã®ãã¬ãã·ãã«ããããã¯ã«ãªã£ã¦ãã¾ããã¨ãããã¾ãã ããæ°ãµæã®éããã¡ãã¡ã®ããã°ãã³ãã¥ããã£ã§è°è«ããã¦ããFlexboxã®ã¬ã¤ã¢ã¦ãã§èµ·ããåä»ãªåé¡ã解決ãããããªã®ã§ãç´¹ä»ãã¾ãã The Flexbox Holy Albatross by Heydon Pickering ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å½ããã°ã§ã®ç¿»è¨³è¨äºã¯ãå ãµã¤ãæ§ã«ã©ã¤ã»ã³ã¹ãå¾ã¦ç¿»è¨³ãã¦ãã¾ãã ã¯ããã« CSSã¬ã¤ã¢ã¦ãã®åä»ãªåé¡ Media Queryã§å®è£ ãã -ã°ããã¦ã¾ã JavaScriptã§å®è£ ãã CSSã§è§£æ±º ã¯ããã« ç§ã¯ãã®6ãµæã®éããã¾ãã¾ãªæ´»åã«åãçµãã§ãã¾ããã â»ãããã«éå®ããããã®ã§ã¯ããã¾ããã é ãããããã çªã®å¤ãã¿ã¤ãã ãããã§å¤©äºãã¿ã¤ãã æã«å«ã¶ åªæãã¤ã¶
ã¤ã³ã¯ã«ã¼ã·ã HTMLï¼CSSï¼JavaScriptï¼ç´¹ä»è¨äºï¼ãã³ã¼ãã£ã³ã°Webã¢ã¯ã»ã·ããªãã£ï¼ç´¹ä»è¨äºï¼ã®èè ãã¤ãã³ã»ãã«ãªã³ã°æ°ã®è¨äºãèå³æ·±ãã£ãã®ã§ãç´¹ä»ãã¾ãã CSS: A New Kind Of JavaScript ä¸è¨ã¯åãã¤ã³ããæ訳ãããã®ã§ãã â»å½ããã°ã§ã®ç¿»è¨³è¨äºã¯ãå ãµã¤ãæ§ã«ã©ã¤ã»ã³ã¹ãå¾ã¦ç¿»è¨³ãã¦ãã¾ãã JavaScriptã§ã®ã¹ã¿ã¤ã« CSS æå¾ã« JavaScriptã§ã®ã¹ã¿ã¤ã« Webå¶ä½ã«æºãã£ã¦ãã人ã¯ã2ã¤ã®è£å®çãªãã¯ããã¸ã¼ã«è©³ããã¨æãã¾ãã1ã¤ã¯æç« ã¨ãã®æ§é ã®ããã®HTMLããã1ã¤ã¯ã¤ã³ã¿ã©ã¯ã·ã§ã³ã¨ã¹ã¿ã¤ã«ããããã®JavaScriptã§ãã JavaScriptã§ã¹ã¿ã¤ã«ï¼ã¨æã£ãããããã¾ãããããã§ããããããDOMã«ããããã¼ãããµãã¼ããã¦ããJavaScriptã®styleããããã£ã®ãã¨ã§ãã
9ã¤ã®ãã¨ã話 CSSã¯è¿·èµ°ãã¦ãã¾ããJavaScriptã§ããã¥ã¡ã³ããã¹ã¿ã¤ãªã³ã°ãã¦ããããã¸ã§ã¯ãã§ã¯ãå¤ãã®å ´å誤ã£ãçç±ãããã®æ¹å¼ãé¸æãã¦ãã¾ããæ¬ç¨¿ã§ã¯ããããã誤解ï¼ç¥è©±ï¼ãåæããããããåé¡ã«å¯¾ããCSSã½ãªã¥ã¼ã·ã§ã³ãç´¹ä»ãã¾ãã æ¬ç¨¿ã¯ãç¹å®ã®ããã¸ã§ã¯ãã人ç©ã¸ã®æ»æãæå³ãããã®ã§ã¯ããã¾ãããããã§ã¯ãâCSS in JavaScriptâ(CSS in JS)ã styled-components ã使ç¨ãããã¨ã¨å®ç¾©ãã¾ããããã¯ãReactã®ã³ã³ãã¼ãã³ããã¹ã¿ã¤ãªã³ã°ããæè¿ã®ãã¬ã³ãã¨ãªã£ã¦ãã¾ãã styled-components ã®ä½è ã§ãã Max Stoiber 㨠Glen Maddern ãã¾ãå½¼ãã«ååãã人ã ã¯çãåè¶ããã¢ã¤ãã¢ã¨åæã«ããµããåªç§ãªäººã ã§ãã å®å ¨ãªéææ§ã®ããã«æã£ã¦ããã¨ãç§ã¯ react-css-mo
æ¯å¹´æä¾ã®JavaScriptã®ã©ã¤ãã©ãªãjQueryã®ãã©ã°ã¤ã³ã®ç·ã¾ã¨ããç´¹ä»ãã¾ãã ä»å¹´ãªãªã¼ã¹ããããã®ãããã¢ãããã¼ãããããã®ã¾ã§ãããããã®Webãã¼ã¸ãã¹ãããã¼ã¸ã®å¶ä½ã«å½¹ç«ã¤JavaScriptã100+αã¾ã¨ãã¾ããã KUTE.js ã¯ãã¹ãã©ã¦ã¶å¯¾å¿ã®ãã¾ãã¾ãªã¢ãã¡ã¼ã·ã§ã³ã2Dã¨3Dã®å¤å½¢ãSVGã®å¤å½¢ãCSSã®ããããã£å¤ã®å¤åãSVGã®ã¢ã¼ãã£ã³ã°ãSVGã®æç»ãªã©ãã¤ãã£ãã®JavaScriptã§ã¢ãã¡ã¼ã·ã§ã³ãå®ç¾ãã軽éã¹ã¯ãªããã ãã¢ãã¼ã¸ Choreographer-js ãchoreographerãã¯æ¯ãä»ãã¨ããæå³ãCSSã¢ãã¡ã¼ã·ã§ã³ã®ãã¾ãã¾ãªåãã»æ¯ãèããç°¡åã«è¨å®ã§ãã¾ãã ãã¢ãã¼ã¸ Barba.js é常ã®ãªã³ã¯ã®ã¢ã¯ã·ã§ã³ã«ãããã¼ããªãã¬ãã·ã¥ããªãããHTTPãªã¯ã¨ã¹ãã¨æç»ãæå°éã«æããæ´ã«ã¨ãã§ã¯ããå ã
ãç¥ãã:å¼ç¤¾ã§ã¯å ¨ç¤¾å¡ãªã¢ã¼ãã¯ã¼ã¯ãå®æ½ãã¦ããã¾ããé常éããåãåããã¯ãã©ã¼ã ããéæãåããã¦ããã¾ãã ãç¥ãã:8æ13æ¥ï¼ç«ï¼ãã15æ¥ï¼æ¨ï¼ã¾ã§å¤å£ä¼æ¥ãããã¾ããé ãããåãåããã«é¢ãã¾ãã¦ã¯ã8æ16æ¥ï¼éï¼ããé 次対å¿ããã¦ããã ãã¾ãããä¸ä¾¿ãããããããã¾ãããä½åãããããé¡ãç³ãä¸ãã¾ãã ããªãã«ã£ã¦ãªãã ï¼ï¼ ããªãã«ã¨ã¯yahooã·ã§ããã³ã°ã§æ§ã ãªãã¡ã¤ã«ãFTPã§ã¢ãããã¼ããã¦jquery(javascript)ãcssãªã©ã使ããããã«ãªãææãµã¼ãã¹ã§ãã 楽天ã®GOLDã«å½ãããµã¼ãã¹ã¨æã£ã¦ããããã¨ã¤ã¡ã¼ã¸ããããã¨æãã¾ãã Yahooã·ã§ããã³ã°ããã®æ¡å PDFã¯ãã¡ã http://i.yimg.jp/images/biz_ec/pdf/triple.pdf ããªãã«ã使ã£ã¦åºæ¥ããã¨ã¯ãªã«ï¼ ãã¾ã¾ã§ãyahooã·ã§ããã³ã°
Webãµã¤ããã¢ããªã±ã¼ã·ã§ã³éçºã§çºçããä½æ¥ãèªååãã¦ããããã¼ã«ãGruntãã®æ£å¼ãªãªã¼ã¹ã¨ãªããGrunt 1.0.0ãããªãªã¼ã¹ããã¾ããã Gruntã¯ããããããã«ããã¼ã«ãã¿ã¹ã¯ã©ã³ãã¼ã¨å¼ã°ããã½ããã¦ã§ã¢ã®1ã¤ã§ãNode.jsããã¼ã¹ã«ãããªã¼ãã³ã½ã¼ã¹ã¨ãã¦éçºããã¦ãã¾ãã JavaScriptã§èªååãããä½æ¥ãè¨è¿°ã§ããã¾ãå¤ãã®ãã©ã°ã¤ã³ã«ãã£ã¦ä¸è¬çãªä½æ¥ã®å¤ããç°¡åã«èªååã§ãã¾ããä¾ãã°ç¹å®ã®ãã£ã¬ã¯ããªãç£è¦ããããã«ä¿åããããã¡ã¤ã«ãèªåçã«å¦çãããã¨ãã£ããã¨ãå¯è½ã§ãã ç¹ã«Webãµã¤ããWebã¢ããªã±ã¼ã·ã§ã³éçºã§çºçããã¿ã¹ã¯ãä¾ãã°JavaScriptãã¡ã¤ã«ã®ãããã¡ã¤ï¼æå°åï¼ãèªåã¦ããããã¹ãã®å®è¡ãææ³ãã§ãã¯ãªã©ã§ãã使ããã¦ãã¾ãã æ¨å¹´jQuery Foundationã«å å ¥ãã復活ããGrunt Gruntã¯20
æ±äººæ¤ç´¢ã¨ã³ã¸ã³ãã¹ã¿ã³ãã¤ããéå¶ããããºãªã¼ãã¯2æ25æ¥ãããã°ã©ãã³ã°è¨èªå¥ã®å¹³åå¹´åã©ã³ãã³ã°ãçºè¡¨ããã1ä½ã®ãPythonãã¯æ©æ¢°å¦ç¿ã人工ç¥è½åéã®çãä¸ãããèæ¯ã«ãã¼ãºãé«ãã¦ããã 1ä½ã¯ãPythonãã®651ä¸åã§ãæ©æ¢°å¦ç¿ã¨ã³ã¸ãã¢ãããããåãã¢ããªã±ã¼ã·ã§ã³éçºã®æ±äººãç®ç«ã¤ãããã¾ã§æµ·å¤ã«æ¯ã¹ã¦æ¥æ¬ã§ã®äººæ°ãåå¨æã¯èãã£ããã人工ç¥è½ï¼AIï¼ãã¼ã ãåããéè¦ãæ¥æ¿ã«é«ã¾ã£ã¦ããã¨äºæ³ãã¦ããã 2ä½ä»¥ä¸ã¯ãWebã®ããã³ãã¨ã³ããããµã¼ããµã¤ãã¾ã§å¹ åºãæ±äººããããPerlãããã³ãã£ã¼ã¹ã¿ã¼ãã¢ããä¼æ¥ã®æ±äººãå¤ããRubyããçæéã§å¤§éã®ãªã¯ã¨ã¹ããå¦çããã½ã¼ã·ã£ã«ã²ã¼ã ãã¢ããã¯ããã¸ã¼ã®ç¾å ´ã§éè¦ã®é«ããCè¨èªããããã³ãã¨ã³ãã®åçãªè¦ç´ ãæ ããJavaScriptãââã¨ç¶ãã æ±äººæ²è¼æ°å¥ã«è¦ãã¨ã1ä½ã¯ãJavaãã®5ä¸6753件ã
JavaScriptãã¬ã¼ã ã¯ã¼ã¯ã«å¯¾ãããããGoogle社å¡ã®äºã éçºè ã¯æ¥½ã«ãªãããããããã¯ã¦ã¼ã¶ã¼ã®è² æ ã¨å¼ãæãã ã½ããã¦ã§ã¢ã®å°é家ãããã»ã¢ãµã¤ã¯ãJavaScriptãã¬ã¼ã ã¯ã¼ã¯ã«å¯¾ã次ã®ããã«èªã£ãã Googleã¯ã¢ãã¤ã«Webãéè¦ãã¦ããã ã ããå½¼ãã¯ããã¾ã§HTML5ã«ãã¾ãã«ãè³éãæãã¦ãã¦ããããä»ã«ãªã£ã¦ãããã«ãã¼ãããã¨ãã¦ããã¨ããã ã ã¾ããGoogleã¯ã¤ã³ãã®Flipkartã®æ§ãªç«ã¡ä½ç½®ãå¾®å¦ãªã¢ããªãWebã«å¼ã£å¼µãæ»ããã¨ãå®æçã¨ãè¨ããç±æãä¸ãã¦ããããã®ãã¨ãããã¢ãã¤ã«Webã®ããã©ã¼ãã³ã¹åä¸ãåçã«åä¸ãããã¨ããæèã«ã¤ãã¦ã¯ããã¾ã§ããªãã Googleã®ã¢ãã¤ã«Webã¸ã®é¢å¿ã¯é ããããç¡ãä¸ãããã¾ã§ã®ã¢ãã¤ã«Webã¢ããªãå½¢ä½ã£ã¦ããJavaScriptãã¬ã¼ã ã¯ã¼ã¯ã«å¯¾ããå½¼ãã®å§¿å¢ããæã ã¯ä¿¡ãã¦
HTML5ã§ã¯ããããããç»åãæ軽ã«æ±ãããCanvasãã話é¡ã§ããããSVGããç»åé¢é£ã§æ³¨ç®ãããæ°æè¡ã§ããHTML5ã§ã¯Inline SVGï¼ã¤ã³ã©ã¤ã³SVGï¼ããµãã¼ããããHTMLå ã«SVGãç´æ¥è¨è¿°ã§ããããã«ãªãã®ã§ãã ä»åã®JavaScriptã©ãã¯ãFirefox 4ãGoogle Chrome 7ãInternet Explorer 9ã対象ã«ãã¤ã³ã©ã¤ã³SVGã®ä½¿ãæ¹ã¨JavaScriptã«ããå¶å¾¡æ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ããå ¨é¨ã§3åã«åãã¦ãæçµçã«ã¯ç°¡åãªã·ã¥ã¼ãã£ã³ã°ã²ã¼ã ãä½æãã¾ãã SVGã¨ã¯ï¼ SVGï¼Scalable Vector Graphicsï¼ã¯ãååã®ã¨ãããã¯ã¿ã¼å½¢å¼ã®ç»åãã©ã¼ãããã§ãããã¯ã¿ã¼å½¢å¼ã¨ã¯ãç¹ã¨ç¹ã§çµã°ããç·ã§å³å½¢ã表ãæ¹æ³ã§ãã¢ããªã±ã¼ã·ã§ã³ã§ããã°Illustratorããã¯ã¿ã¼å½¢å¼ãæ¡ç¨ãã¦ãã¾ãï¼Photosh
Webãã¼ã¸ã®è¡¨ç¤ºãé«éåããããã«ç¡æãã¼ã«WebPagetestã使ã£ã¦è¡¨ç¤ºããã©ã¼ãã³ã¹ã確èªããæ¹æ³ã解説ãã¦ãããã®è¨äºã¯ãåå¾ç·¨ã®2åã«åãã¦ãå±ããã¦ãããå¾ç·¨ã¨ãªãä»åã¯ããã¦ã©ã¼ã¿ã¼ãã©ã¼ã«ã®é«ãã縮ããããã¬ã³ããªã³ã°ã®éå§æéãæ©ããããæ¹æ³ããããµã¼ãã¼ã®é度ããCDNããªã©ã«ã¤ãã¦è§£èª¬ããã ã¦ã©ã¼ã¿ã¼ãã©ã¼ã«å³ãWebPagetestã«ã¤ãã¦ã¯ãåç·¨ãåç § é«éåãã¤ã³ã2 ã¦ã©ã¼ã¿ã¼ãã©ã¼ã«ã®é«ãã縮ããã¦ã©ã¼ã¿ã¼ãã©ã¼ã«å³ã縦ã«é·ãå ´åã¯ããã©ã¦ã¶ããã¼ã¸ãèªã¿è¾¼ãã®ã«å¤§éã®ãªã¯ã¨ã¹ããè¡ããªããã°ãªããªããã¨ã示ãã¦ããããªã¯ã¨ã¹ãã®æ°ãæ¸ããæåã®æ¹æ³ã¯ããã¼ã¸ã«å«ã¾ãã¦ãããã¹ã¦ã®ã³ã³ãã³ããè¦ç´ãã¦ããã®ãã¹ã¦ãæ¬å½ã«å¿ è¦ãã©ãããå¤æãããã¨ã ãä¾ãæãã¦ã¿ããã CSSãã¡ã«ãJavaScriptãã¡ã¤ã«ãããããããå ´åã 以ä¸ã¯AOLãµã¤ãã®
人工ç¥è½ãèªç¶è¨èªå¦çãæ´»ç¨ãããµã¼ãã¹ãæä¾ããã¯ã¼ãã³ã¯7æ7æ¥ãæ©æ¢°å¦ç¿ãèªç¶è¨èªå¦çãè¡ååæã«ãã¨ã¥ãç¬èªã®äººå·¥ç¥è½ãæè¼ãããèªè ãå¥å ¨ãªè°è«ã交ããããã®âèããªãâã³ã¡ã³ãã·ã¹ãã ãQuACSï¼ã¯ã¢ãã¯ã¹ï¼ããã¦ã§ãã¡ãã£ã¢åãã«æä¾éå§ããã人工ç¥è½ãæ´»ç¨ããã³ã¡ã³ãã·ã¹ãã ã¯ä¸çã§åãã¦ã ã¨ããã ã¦ã§ããµã¤ãã«æ°è¡ã®JavaScriptã³ã¼ããåãè¾¼ããã¨ã§ãèªè ãè¨äºã®å 容ã«å¯¾ãã¦æè¦ãææ³ãå¿åã§ã³ã¡ã³ãã§ããããã«ãªããã³ã¡ã³ãã«å«ã¾ããè¨èãæç« ã®æå³ã人工ç¥è½ã解æãã誹è¬ï¼ã²ã¼ãï¼ä¸å·ãç½µè©ï¼ã°ãï¼éè¨ãå·®å¥ç¨èªãéæ³åãå¼ãã人権侵害ãåºä¼ãç®çãå ¬åºè¯ä¿ã«åããå 容ã§ããå ´åã«ãèªåã§ãã£ã«ã¿ãªã³ã°ãã¦è¡¨ç¤ºããªãããã«ããã ãåèªãã§ã¯ãªããåä¸ã³ã¡ã³ãå ã®åæã®å 容ãä»è ã®ã³ã¡ã³ãã¸ã®ã¬ã¹ï¼ä¼è©±ï¼ã®æµããªã©ãæç« ãæèãå¤å®ãã¦ããã®ãç¹å¾´ãã
Mozilla Firefoxã®ã¨ã³ã¸ãã¢ä¸»å°ã®ä¸ãæ§ã ãªãã©ã¦ã¶ã¡ã¼ã«ã¼ã«ãã£ã¦å é±é©ãã¹ãæ¹é©ããªããããWebã«æ¬¡ã®é©å½ãããããããã®å ±åããã¸ã§ã¯ãã¯ç§å¯è£ã«é²ãããã¦ããã ãMozillaãChromiumãEdgeãããã¦WebKitã®ã¨ã³ã¸ãã¢ãã¡ã¨æ°ããæ¨æºè¦æ ¼ãWebAssemblyãä½ãä¸ããããã«ååãå§ãããã¨ãå ±åã§ãã¦ãããããã¨ãããã¸ã§ã¯ããªã¼ãã¼ã®ä¸äººã§ããã«ã¼ã¯ã»ã¯ã°ãã¼ã¯ããã°ã«æ稿ãã¦ããã WebAssemblyï¼ç¥ãã¦ãwasmãï¼ã®å½±é¿ãå³åº§ã«ç¾ããã®ã¯ãã©ã¦ã¸ã³ã°ãæ©ããªããã¨ã ããããã¯æ°ããå©ç¹ã®ä¸ã§æãã¨ããµã¤ãã£ã³ã°ã§ã¯ãªããã¤ã³ãã ããã ãã®æ¨æºè¦æ ¼ã«ãããéçºè ã¯ãã¤ã¦ãã¹ã¯ãããåãã½ããã ããå¯è½ã ã£ãCPUãã¯ã¼ãå¿ è¦ã¨ããã¨ã¯ã¹ããªã¨ã³ã¹ããªã³ã©ã¤ã³ã§å®ç¾ãããã¨ãå¯è½ã«ãªãã WebAssemblyã«ããéçºãè¤é
JavaScriptã®ã°ã©ãã©ã¤ãã©ãªã52種é¡ãéãããJavaScript Graphsããã°ã©ãã®ç¨®é¡ãä¾åã©ã¤ãã©ãªãä¾¡æ ¼ãªã©ã§çµãè¾¼ã¿å¯è½ æ°å¹´åã«èªä½ã®ã¢ããªã±ã¼ã·ã§ã³ãJavaScriptã§ä½ã£ãã¨ãã«ã°ã©ãæ©è½ãå®è£ ãããã¨ãã¦ãããã¤ãã®ã°ã©ãç¨ã®JavaScriptã©ã¤ãã©ãªãæ¢ãã¦è©¦ãããã¨ãããã¾ãããJavaScriptã©ã¤ãã©ãªãæ¢ãã®ã¯ããããªãã«æéãããããã®ã§ããã ãã¡ããå½æããJavaScriptã®ã°ã©ãã©ã¤ãã©ãªã®æ å ±ãã¾ã¨ãããµã¤ãã¯ããã¤ãããã¾ããããæè¿ç»å ´ãããJavaScript Graphsãã¯52種é¡ãã®ã©ã¤ãã©ãªãéãã¦ããã¸ã¥ã¢ã«ã«ä¸è¦§ã§ããããã«ãããµã¤ãã§ãã ãã¾ãã¾ãªæ¡ä»¶ã§çµãè¾¼ã¿ãã§ãã便å©ãªæ©è½ãåãã¦ãããæ¡ä»¶ã¨ãã¦ã¯æãç·ã°ã©ãããã¼ãããã°ã©ãã«å¯¾å¿ãããã®ãªã©ã°ã©ãã®ç¨®é¡ãç¡æãææãéåç¨ã®ãã®ãªã©ã®ä¾¡æ ¼
ã¯ããã« jQueryã¨ã¯ãJohn Resigã«ãã£ã¦éçºãããæè¿é常ã«æ³¨ç®ãéãã¦ãã Javascriptã©ã¤ãã©ãªã§ãã JavaScriptã¨HTMLã®å¯¾è©±ãåçã«æ¹åããAjaxãªã©ã«ããè¤éåãã¦ãã¦ããWebã¢ããªã±ã¼ã·ã§ã³æ§ç¯ã«å¿ è¦ãªå¦çãé常ã«ç°¡æ½ã«æ¸ããã¨ãã§ãã¾ããã¾ãããã©ã¦ã¶ã®ç¨®é¡ããã¼ã¸ã§ã³ã«ããéããå¸åãã¦ããããããããã°ã©ãã®ä½æ¥éãæ¸ããã¦ããã¾ãã æ¬é£è¼ã§ã¯ãjQueryã©ã¤ãã©ãªã®ã³ã¼ããèªã¿ãªãããå®è£ ã¨ãã¦ä¸ã§ä½ãè¡ããã¦ããã®ããè¦ã¦ãããã¨æãã¾ãã æ³å®ãã¦ããèªè ã¯ãjQueryã©ã¤ãã©ãªããã 使ãã ãã§ãªãããã£ã¦ãããã¨ãç解ãããã¨ããæ¹ã使ããã¦ããã³ã¼ããå¿ç¨ãã¦èªåãªãã®æ¹é ããã¦ã¿ããæ¹ãæ°ããªãã©ã°ã¤ã³ãéçºãããã¨ããæ¹ãªã©ã§ãã ä»åã®é£è¼ã§ã¯å·çéå§æç¹ã®ææ°çã§ãããã¼ã¸ã§ã³1.2.2ã対象ã¨ãã¦ãã¾ãã説
ãã¦ã¹ããã¼ãåºç¹ã¨ããåç»åç ãCONTROL FILMSãã¯ãä¸è¦ããã¨ãµã ãã¤ã«ã並ã¹ãã ãã®é常ã«ã·ã³ãã«ãªãµã¤ãã ãã ãããµã ãã¤ã«ä¸ã«ãã¦ã¹ããã¼ããã¨åç»ã®åçãå§ã¾ããã«ããããªãµã¤ãã«ä¸å¤ãã³ã³ãã³ãã®é åãå¼ãåºãã第ä¸å°è±¡ãè¦ããã¨ã«æåãã¦ããã ä»åã¯CONTROL FILMSãåèã«ããã¦ã¹ããã¼ã§åç»ãèªå¨ã«å¶å¾¡ãããµã¤ããä½ã£ã¦ã¿ããã STEP 1ï¼videoè¦ç´ ã®è¨ç½® æåã«ãåç»ãåçããããã®videoè¦ç´ ãè¨ç½®ãããvideoè¦ç´ ã¯ãèªååçãã«ã¼ãããµã ãã¤ã«ã®æå®ãã³ã³ããã¼ã©ã¼ã®è¡¨ç¤º/é表示çãå±æ§å¤ã§è¨å®ã§ãããä¾ã§ã¯åç»ã®èªååçï¼autoplayï¼ / ã«ã¼ãï¼loopï¼ / ãµã ãã¤ã«ç»åï¼posterï¼ãæå®ãã¦ããã â ã½ã¼ã¹ã³ã¼ãï¼HTMLï¼ <video autoplay loop poster="img/thumb.jpg
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}