Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ããã«ã¡ã¯ï¼ 2014å¹´ã«é£è¼ãããWebRTCã使ã£ã¦ã¿ããï¼ãã·ãªã¼ãºã®ã¢ãããã¼ãã¨ãã¦ãéããã¦ãããã®é£è¼ã§ãããä»åã¯ãã¨ã®é£è¼ã«ã¯ãªãã£ãå 容ãçªå¤ç·¨ã¨ãã¦ãå±ããã¾ãã httpsã®ãã¼ãã« ååã¯è¤æ°äººãè¤æ°ä¼è°å®¤ã§å©ç¨ã§ããããã«ãã¦ãå®ç¨çãªã¢ããªãä½ãæºåãã§ãã¾ãããã¨ãããå®éã«ä½¿ããã¨ããã¨ãChromeã®ã»ãã¥ãªãã£ããªã·ã¼ã¨åãåããªãã¦ã¯ãªãã¾ããã ãgetUserMedia()ãService Workerãªã©ã®å¼·åãªAPIã¯ãã»ãã¥ã¢ãªç°å¢ã§ãªãã¦ã¯å©ç¨ã§ããªããã¨ããããªã·ã¼ã¯ä»ã®Webã®ç¶æ³ã«åããããã®ã ã¨æãã¾ããã§ã¯ããã®ç°å¢ãã©ããã£ã¦ç¨æããã°ããã®ã§ããããï¼ ãã¡ãã証ææ¸ãåå¾ãã¦ããã¡ãã¨ãµã¼ãã¼ãç«ã¦ãã®ãã¾ã£ã¨ããªããæ¹ã§ããæè¿ã¯Letâs Encryptãªã©ç¡æã§è¨¼ææ¸ãçºè¡ãããµã¼ãã¹ãããã¾ãï¼åèï¼âLetâs
ï¼2015/10/21追è¨ï¼ è¨äºãæ¸ãã¦ããåå¹´çµã¡ã¾ããããæè¿ã¯Rxã®è¯ããç解ããããES7ã®async/awaitãbabelã«ãã£ã¦å®ç¨çã«ãªãã¤ã¤ãã£ããçãã¾ããããã¹ããã©ã¯ãã£ã¹ã¨ã¯ãªãã ã£ãã®ãç¶æ ã§ããã¨ã¯ããããã¾ã®ã¨ããPromiseã¯éåæå¦çã®åå°ã§ããç¶ãããã§ãããGeneratorãasync/awaitã¸ã®è¶³ãããã¨ãã¦ç¥ã£ã¦ãããã¨ã®ã¡ãªããã¯å¤§ãããã¨æãã¾ãã®ã§ãå¼ãç¶ãå ¬éãããã¾ã¾ã¨ããã¦é ãã¾ãã ï¼è¿½è¨ããã¾ã§ï¼ æ°ããéåæå¦çã®ãã©ã¯ãã£ã¹ã試ãã¦ã¿ã¦ãã ããããããè¯ãããããªããã¨ãããã¿ã¼ã³ãåºã¾ã£ãã®ã§æ¸ãã¾ããå¹ç¨ã¯ã³ã¼ã«ããã¯å°çããã®è±åºã¨çµå±éåæã©ããè¯ãã®æã®ææãES6å¯ãã§ãã åæç¥è JavaScript Promiseã®æ¬ http://azu.github.io/promises-book/ ã¸ã§ãã¬
Webã®è¡¨ç¾åã¯ãæåã®å¤§ãããè²ãä¸å¿ã«ä¿®é£¾ãã¦ããæ代ããç¾ããã°ã©ãã£ãã¯ãã¢ãã¡ã¼ã·ã§ã³ã®æ´»ç¨ã¸ã¨é²ã¿ããã¾ã§ã¯å¤§ããªåç»ãç©æ¥µçã«åãå ¥ãããè±ããªè¡¨ç¾åã¨æ å ±éãåããWebãæ°å¤ãè¦ãããããã«ãªãã¾ããã æè¿ã§ã¯åºåã解説åç»ã¨ãã£ãä¾ã ãã§ãªããèæ¯ãã£ã±ãã«åç»ã使ãã¨ãã£ãä¾ãããã¾ããã¢ãã¤ã«ã§ãã²ã¼ã ãã½ã¼ã·ã£ã«ã¡ãã£ã¢ãªã©ãä¸å¿ã«ç©æ¥µçã«åç»ãç¨ãã表ç¾ãå¢ãã¦ãã¾ãã GIFãH.264ã«è¶³ããªããã® ããããåç»è¡¨ç¾ãå®ç¾ããæè¡ã«ã¯è¤æ°ã®é¸æè¢ãããã¾ãããã¢ãã¤ã«ã¨Webãµã¤ãã®ä¸¡æ¹ã§ã®å¯¾å¿ãèããã¨ãGIFã¢ãã¡ã¼ã·ã§ã³ãH.264ã®ãããããé¸æããã®ãä¸è¬çã§ãããããããGIFã¢ãã¡ã¼ã·ã§ã³ã¯è²æ°ã256è²ã¨éããå§ç¸®çãä½ããããå°ããªãµã¤ãºã§æ°ç§ç¨åº¦ã¨ãã£ãæå°éã®åç»åçã«ããåãã¾ããããé³å£°ã¨ã®åæãå°é£ã§ããä¸æ¹ãH.264ã¯é«ç²¾ç´°
ä»è©±é¡ã®React.jsã¯ã©ã®ãããªWebã¢ããªã±ã¼ã·ã§ã³ã«é©ãã¦ãããï¼ Introduction To Reactâ Frontrend Conference å¤æ åä»ï¼æ ªå¼ä¼ç¤¾ ãã¯ã»ã«ã°ãªããï¼ æ¬è¨äºã¯ã2015/2/21ã«è¡ãããFrontrend Conferenceã®ãIntroduction To Reactãã®å 容ãç´¹ä»ãã¾ãã å½æ¥ã®è³æã¯ä»¥ä¸ã«ã¢ããããã¦ãã¾ãã®ã§ããã¡ããåç §ãã¦ãã ããã Introduction To React // Speaker Deck React.jsã¨ã¯ä½ã React.jsã¯Facebook製ã®JavaScriptã©ã¤ãã©ãªã§ãã http://facebook.github.io/react/ å ¬å¼ãµã¤ãã«ããA JavaScript library for building user interfacesãã¨ããããã«ãR
è»è¼ªéçºå¤§å¥½ãããããã§ããããã«ã¡ã¯ãï¼æ¨æ¶ï¼ ä»å㯠JavaScript ã§éåæå¦çãå®æ½ããã¨ãã«ç¨ãããã Promise ( ãããã¹ ) ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ã¾ãããPromise ã¨ã¯ãéåæå¦çãæ½è±¡åãããªãã¸ã§ã¯ãã¨ããã®ãªãã¸ã§ã¯ããæä½ããä»çµã¿ãã®ãã¨ãæãã¾ãã å¼ç¨ : https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise ãã Promise ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ä½ææç¹ã§ã¯åãããªãã¦ãããå¤ã¸ã®ãããã·ã§ãããããã¹ãç¨ãããã¨ã§ãéåæã¢ã¯ã·ã§ã³ã®æåã失æã«å¯¾ãããã³ãã©ãé¢é£ä»ãããã¨ãã§ãã¾ãã ããã«ãããéåæã¡ã½ããã¯ãæçµçãªå¤ãè¿ãã®ã§ã¯ãªããæªæ¥ã®ããæç¹ã§å¤ãæã¤ãããã¹ãè¿ããã¨ã§ãåæã¡ã½ããã¨åãããã«å¤ãè¿ã
æèä¼åº§.tech#6ãVirtualDOMã¨Reactã - connpass ã«åå ãã¦æ¥ãã®ã§ã¡ã¢ã ãã¹ã¦ã®CSSã«æ»ãï¼ããã¯JSerã®å«ã³ï¼- @kyo_ago ã¹ã©ã¤ã: CSSã«æ»ãï¼ããã¯JSerã®å«ã³ï¼ #kbkz_tech CSSãè¾ã CSSã¯ã«ãã»ã«åã¨ãç¶æ¿ã¨ããããã°ã©ã ããã®æ¦å¿µããã®ã¾ã¾æã£ã¦ãããªã ReactStyle js-next/react-style JSå ã«Styleãåãè¾¼ããã¨ãã§ãã ãã®ã¾ã¾ãªãã¸ã§ã¯ãçã«å ¥ãããã Template Stringsã¨åãããã°ãã®å ´ã§CSSãå ¥ãããã¨ãã§ãã styles=ã«ã¹ã¿ã¤ã«ãå ¥ãã ã»ã¬ã¯ã¿ããã¾ãèããªãã¦ãã styleå±æ§ã§ã¹ã¿ã¤ãªã³ã°ãã æ¬ä¼¼è¦ç´ ãæ¬ä¼¼ã¯ã©ã¹ãå ¨æ» :hover :active ãªã©ã使ããªãã CSSã®ç¶æ¿ãªã©ã®æ¦å¿µãæ¶ãã èªåã§é å¼µãå¿ è¦ããã ã¦ã¼ã¶ãã¬
ã¯ããã« ãã£ã¬ã¯ãã£ãã¯ãAngularJSã«ããã¦ãViewã¨Modelã®åæ¹åãã¤ã³ããå®ç¾ããããã®æ ¹å¹¹çãªä»çµã¿ã§ããã ãã£ã¬ã¯ãã£ãã¯ãéçºè ããè¦ãã¨ãTemplateã®è¦ç´ ã»å±æ§ã¨ãã¦ç¾ããã ä¾ãã°ãããã¹ãããã¯ã¹ã®å ¥åå¤ã¨scope.nameãç´ä»ããå ´åãAngularã§ã¯htmlã«ä¸è¨ãè¨è¿°ããã ãã§ãã¦ã¼ã¶ã®å ¥åå¤ãscopeã¸å³æåæ ãããã ä¸è¨ã³ã¼ãã®"ng-model"ã¯Angularã«ããã©ã«ãã§çµã¿è¾¼ã¾ãããã£ã¬ã¯ãã£ãã§ããã ãã¡ãããhtmlã®ææ³ä¸ã¯ãng-modelã¨ããå称ã®å±æ§ã¯inputã¿ã°ã«ã¯åå¨ããªããAngularãç¬èªã«ng-modelå±æ§ã解éãã¦ãåæ¹åãã¤ã³ãã£ã³ã°ã®æ©è½ãå®ç¾ãã¦ããã®ã§ãã(Angularã§ã¯ãããããhtmlææ³ã®æ¡å¼µãã¨å¼ãã§ãã)ã ãã£ã¬ã¯ãã£ãã«ã¯ãng-repeatã{{...}}çãæ§
社å åãè³æãèªåãæ¸ããã³ã¼ãã説æããããã«è³æä½ãç¾½ç®ã«ãªã£ãã æã®ãã¨ã¯ããè¦ãã§é°å²æ°ã§æ¸ãã¦ãé¨åãããã®ã§ããããã¸ãåå¼ã å¤ã®æ代(~2010) åæã¨ãã¦JavaScriptã¯åå空éãwindowã®ä¸ã¤ãããªãã æPrototype.jsããã£ããããã¿ããªå¿ãããã©ãã®ææã¯ããªããã£ããªãªãã¸ã§ã¯ãã®prototypeãçããã¾ãã£ã¦ããããè¡çªãã¾ãã£ã¦prototypeè¯ããªãçãªé°å²æ°ãçã¾ãããçã¾ããªãã£ããããã ãã®åçããã£ã¦ã(æ´å²çã«è¥å¹²å¾®å¦ãªæ°ãããã) jQueryã¯åå空éãä¸ã¤ã«éç´ããããããã jQueryPlugin ã¯ãjQueryã®ãããã¿ã¤ãã«ãã«ããçããã¾ãã£ã¦ãããã°ãã¼ãã«ãæ±ãã®ã¯é§ç®ã ãã©jQueryã®åå空éãæ±ãã®ã¯ããããããããã®èãã jQueryéä¾åãªã©ã¤ãã©ãªã¯ããGoodPartsãã¨ãã¦ã
2015å¹´02æ05æ¥16:34 ã«ãã´ãª ä»ãã¯ã©ã¤ã¢ã³ããµã¤ãã®JavaScriptãæ¸ãåã«ç¥ã£ã¦ããããã㨠~ 2014å¹´ãã¬ã³ãç·ã¾ã¨ã çããããã«ã¡ã¯ãadingoã«ã¦Fluctã¨ããåºåé ä¿¡ã·ã¹ãã ã®ç®¡çç»é¢ãä¸å¿ã«ã¯ã©ã¤ã¢ã³ããµã¤ãã®éçºãè¡ã£ã¦ããã¾ãã大é¢ã§ãã ä»åã¯ãå æ¥ã社å ã®ã¨ã³ã¸ãã¢åãã«éå¬ããã2014å¹´ã®JavaScriptã®ãã¬ã³ãç·ã¾ã¨ããã¨ããã³ã³ã»ããã®åå¼·ä¼ã®å 容ã«ã¤ãã¦ç´¹ä»ãã¾ãã JavaScriptãã¬ã³ããç·æ¬ï¼2014ï¼ from Tetsuharu OHZEKI ããã§ã¯ãã¹ã©ã¤ãã«æ¸ããããªãã£ãåæäºé ã«ã¤ãã¦ãä½ç¹ãè£è¶³ã¨è§£èª¬ããã¾ãã è£è¶³ã¨è§£èª¬ åæ: ãªãã2014å¹´ããªã®ã JavaScriptãç¨ããéçºãç¹ã«Webããã³ãã¨ã³ãã¨ãå¼ç§°ãããã¯ã©ã¤ã¢ã³ããµã¤ãJSã®ãã¬ã³ãã¯ãé常ã«éããµã¤ã¯ã«ã§ã®é²åãè¦ãã¦
æè¿ããã©ã¤ãã¼ãã®ãããã¯ãã§Angular.jsãåå¼·ãã¦ã使ã£ã¦ããã Yeomanã§generator-angularã使ãæ¹æ³ã§ãã£ã¦ããã ã§ãçµæ§æ©ãã§èª¿ã¹ããã¨ããã£ãã®ã§ãã¡ã¢ã â»ä½¿ãå§ãã¦éããªãã®ã§ãééãããã£ãããææãã ããã ãµã¼ãã¹ãä½ãããæ¹ãAngular.jsã ã¨è²ã ããã¾ãã yeoman-generatorã®READMEãåèã«æãã㨠https://github.com/yeoman/generator-angular#service service, factory, provider, value, constant ã¨ãå®ã«ããããã providerã¨valueã¨constantã¯ãååãããªãã¨ãªã使ãåããå¤ããã ãã©ã serviceã¨factoryã®éãã£ã¦ä½ãï¼ã£ã¦çµæ§æ©ãã ã ç°¡åãªå®è£ ä¾ã ã¨ããçµå±ã©ã£ã¡ãæ¸ãæ¹ãéãã
ããã«ã¡ã¯ä¼å¡äºæ¥é¨ã®ä¸¸å±±@h13i32maruã§ãã æè¿ã®Webããã³ãã¨ã³ãã®å¤åã¯é常ã«æ¿ãããã¡ãã£ã¨ç®ãé¢ããéã«ã©ãã©ãæ°ãããã®ãåºã¦ãã¾ãããããããªæ¿ããå¤åã®ä¸ã¤ã¨ãã¦ES6ã¨ãã次æJavaScriptã®ä»æ§ãããã¾ãããã®ES6ã¯ç¾å¨çå®ä¸ã§ãå·çæç¹ã§ã¯Draft Rev31ãå ¬éããã¦ãã¾ãã JavaScriptã¯ECMAScript(ECMA262)ã¨ããä»æ§ããã¨ã«å®è£ ããã¦ãã¾ãã ç¾å¨ã®ã¢ãã³ãªWebãã©ã¦ã¶ã¯ECMAScript 5.1th Editionããã¨ã«ããJavaScriptå®è¡ã¨ã³ã¸ã³ãæè¼ãã¦ãã¾ãã ããã¦æ¬¡ã®ãã¼ã¸ã§ã³ã§ããECMAScript 6th Editionãç¾å¨çå®ä¸ã§ãç¥ç§°ã¨ãã¦ES6ã¨ããååããã使ããã¾ãã ä»åã¯ãä»ã®è¨èªã«ã¯ãã£ã¦JavaScriptã«ã欲ãããªã¨æã£ã¦ããæ©è½ããJavaScriptã§ã
ã¿ãªããã¯æ®æ®µNode.jsãã©ã®ããã«ä½¿ã£ã¦ãã¾ããï¼Â ãµã¼ãã¼ãµã¤ãã§åãJavaScriptã§ããNode.jsã¯ãSocket.IOã¨é£æºãã¦ãªã¢ã«ã¿ã¤ã ãªã¦ã§ãã³ã³ãã³ããä½ã£ãããwebpackãgulpã®ãããªããã³ãã¨ã³ãã¨ã³ã¸ãã¢ã®ãã¼ã«ã¨ãã¦ä½¿ããããã¨ãã¾ãã¾ãªå ´é¢ã§æ´»ç¨ããã¦ãã¾ãã Node.jsã§å¤§è¦æ¨¡ãªéçºãããå ´åãTypeScriptãæ¡ç¨ãã¦éçºã®çç£å¹çæ§ã»ä¿å®æ§ãä¸ããã®ããªã¹ã¹ã¡ã§ããWebStormãVisual Studio Codeã使ãã°ã³ã¼ãè£å®ãå¹ãããããã°ã©ãã³ã°ã®å¹çãåçã«åä¸ããTypeScriptã®éçåä»ãã«ãã£ã¦ã³ã³ãã¤ã«æåãã§ãã¯ãè¡ãããã®ã§å®å ¨æ§ãå¢ãã¾ããNode.jsã使ã£ã¦ä¸ã»å¤§è¦æ¨¡ãªã·ã¹ãã ãæ§ç¯ããã¨ãã¯TypeScriptãæ¤è¨ããã¨ããã§ãããã ä»åã¯Node.jsãTypeScriptã§è¨è¿°ãã
JavaScriptã¯ç§»ãå¤ããã®æ©ãè¨èªã§ãã ãã1年以ä¸çµã£ã¦ãã¾ãããè¨äºã®ã¡ã³ããã¡ããã¨ã§ãã¦ããªãã®ã§ãæ¶ãç·ãå ¥ãããã¨ã«ãã¾ããã åèç¨åº¦ã®ããã«è¨äºã¯ä¸å¿æ®ãã¾ãããããæ°ããæ å ±ãèªã¾ãããã¨ããå§ããããã¾ãã ã¯ããã« --- æè¿ã§ã¯ JavaScript ã®å®è¡ç°å¢ã¯ãã©ã¦ã¶ã«éãã¾ãããï¼node.js, Web Workersï¼ ã¾ããæ§æ¥ã®ãã㪠<script> çµç±ã§ã®ãã¼ããã¨ãã«å¤ããªã£ã¦ãã¾ããä»ã¯ CommonJS ã¹ã¿ã¤ã«ã§ãrequire ãç¨ããã¢ã¸ã¥ã¼ã«ã®ãã¼ããè¡ãªããã¨ãããè¯ãã¨ããã¦ãã¾ãã ã§ãããã次ã®ãããªãã¨ã¯æ¹ããå¿ è¦ãããã¾ãã - var YourModule = {}; ãªã©ã¨ãã¦ãå¤é¨ãã YourModule.hoge(); ãªã©ã¨å¼ã³åºãæ¸ãæ¹ - this === window ã ã¨æãã㨠ä»åã¯ã
HTML ã® DOM æä½ãè¯ãæãã§é è½ãã¦ããã Ractive.js ã¨ããã©ã¤ãã©ãªãç´¹ä»ãã¾ãã æ¬è¨äºã¯ VirtualDOM Advent Calendar 2014 ã®13æ¥ç®ã®è¨äºã§ãã VirtualDOM ã¨ããã° React ã ãã¨è¨ããã°ããã®æµãã§ãããæ¬è¨äºã§ã¯æ¢ã㦠Ractive.js ãåãä¸ãã¾ããRactive.js ã VirtualDOM ãã£ã¦? 確ããã¦ã¿ã¾ãããã è¯ãã大ä¸å¤«ãVirtualDOMã§ãã Ractive.js ã¨ã¯? Ractive.js ã¯æ¬å®¶ãµã¤ãã®èª¬æãåããã°ããã³ãã¬ã¼ãããªãã³ãªUIã©ã¤ãã©ãªã§ãããªãã®ãã£ã¡ãããããªãã§ããããã ã¾ãVirtualDOMã®ã¡ãªããã¨ã¯ çã®DOMãç´æ¥æä½ããªãã¦ããJavaScriptã®ãªãã¸ã§ã¯ãã ããæä½ããã°ãä¸æããã¨èªåçã«æ¸ãæãã¦ããã ãã¨ã ã¨è¨ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}