https://gyakky.herokuapp.com/capture/twitter/1030059159431999488#.png
Double O ã¨ãããµã¼ãã¹ãä½ãã¾ããã ããã³ãã¨ã³ãã¯ãã¥ã¢ãª Web Components ãæ¡ç¨ãã¦ãã¦ãããã¯ã¨ã³ã㯠Lambda 㨠DynamoDB ã®ã¿ã§æ§æãã¾ããã (å³å¯ã«ã¯ CloudFront ã¨ã API Gateway ã¨ãããããã©ããã¯çãã¦ããããï¼) REST API 以å¤ã® Util 系㮠Lambda é¢æ°ã¯ãã¹ã¦ AWS Cloud9 ã§ç®¡çãããã¨ã§ç°å¢æ§ç¯ãä¸è¦ãª Lambda ãã§ãã¦æ¥½ã§ããã TL;DR ãµã¼ãã¼ã¬ã¹ã«ã¤ãã¦ã¯ããæ®éã®ãã¨ãããã¦ããªãã®ã§ã詳ããã¯è§¦ããªãã§ããã¾ãã ãã¥ã¢ãª Web Components ã ãã§ãµã¼ãã¹ãæç«ããããã¨ãã§ããã HTMLElement ã¯ã©ã¹ãç¶æ¿ããã ããªã®ã§ã¡ã¸ã£ã¼ã©ã¤ãã©ãªã¯ä¸è¦ã«ãªã£ãã Web Components ã® Custom Elements ã¯æ¨æºä»æ§
2018å¹´2æ6æ¥ ãªããããã¯ãã« Vue.js ãæ¡ç¨ããã®ã? éç¨ãã¦ã¿ã¦ã©ãã£ã ã£ã? ã¨ãã話 ä½ãç¥ããã¦ãã¾ããã Nagisa ã§ã¯ã¢ããªã ãã§ãªã Web ã®ãããã¯ãããµã¼ãã¹ãããã¾ãããã³ã¬ZERO ã UPTOON! ã æåã³ããã¯ã¸ã㳠辺ããããã§ãã ä½ãã Vue.js ã§ä½ããã¦ãã SPA ã§ã社å ã»å¤ä¸¡æ¹ãã âãªã㧠Vue.js ãªã®?â ã¨ãããèããã¾ããããã§ãä»åã¯ã©ãã㦠Vue.js ãé¸æããã®ããVue.js ã®ä½ãããã®ããVue.js ã§éç¨ãã¦ã¿ã¦ã©ãã ã£ããã®è©±ããããã¨æãã¾ãã ã¯ããã« Vue.js ãå°å ¥ããåã®ãã³ã¬ ZERO Web 㯠2.0系㮠Riot ã§ä½ããã¦ãã¾ãããä»ãã SPA ã®ãããªå½¢ã§ã¯ãªããµã¼ããµã¤ã (Go) ã«ã¦ã¡ã¿ã¿ã°ãçæã空ã®ãã¦ã³ããã¤ã³ã <div id="app"><
PySpaçµ±åæ念ä½ã§ããããããJavaScriptãè¦ãããªããããã®æ¸ãæ¹ã¯ããè¦ããªãã¦ãããï¼ãããã代æ¿ãããï¼ã¨ãããã®ãéãã¦ã¿ã¾ããã ES6以éã®é£ããã¯ãæ§æ¥ã®æ¸ãæ¹ã«ãã©ã¹ãå¢ããã ãã§ã¯ãªãã大éã®ãæ§æ¥ã®æ¸ãæ¹ã¯ééããèªçºããããããéæ¨å¥¨ãã¨ãããã®ãä½ãåºããç¹ã«ããã¾ãã5å¹´åã10å¹´åã®æ¬ãã¦ã§ãããã¾ãå½¹ã«ç«ãã¡ã¾ããããªããæ¸ãæ¹ãè¤æ°ãããã®ã¯ã好ãå«ãã¯å½ç¶ããã¨æãã¾ãããããã¦éæ¿ã«1ã¤ã«çµã£ã¦ããã¨ãããããã¾ãããªããããã¯ããããæ°è¦ã«å¦ã¶äººããéå»ã®ããã¥ã¡ã³ããã³ã¼ããè¦ãæã«å¤ãæ å ±ãé¸å¥ããããã®ã¾ã¨ãã§ããæ®å¿µãªãããä»æã®æ¸ãæ¹ã®ã¿ã§æ§æãããæ¸ç±ãªã©ãåå¨ããªãããã§ãã ãã¶ãæ示çã«æ¸ãã¦ãã¦ãèªã¿é£ã°ã人ã¯ããã¨æãã¾ããããã§ã«æ¸ãã¦ãã人åãã§ã¯ããã¾ãããããããæ¸ãã³ã¼ãããã®ã¹ã¿ã¤ã«ã«ãã¦ããã®ã¯å¥ã«ãã
ã¿ã¤ãã«éãã«ãã使ãæ£è¦è¡¨ç¾ãæ¯åã°ã°ãã®ãå¹çæªãã®ã§ã¾ã¨ãã¦ã¿ã¾ãããåè¨èªã§æ£è¦è¡¨ç¾ã®ãµã³ãã«ãæ¸ãã¦ã¿ã¾ããã æ£è¦è¡¨ç¾å¼ Emailã¢ãã¬ã¹ ^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$ ãã¡ã¤ã³å ^[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]\.[a-zA-Z]{2,}$ ã¤ã³ã¿ãããURL ^(http|https)://([\w-]+\.)+[\w-]+(/[\w-./?%&=]*)?$ ã¦ã¼ã¶ã¼å (Twitter username) ^[a-zA-Z0-9_\-.]{3,15}$ åºå®é»è©± ^0\d-\d{4}-\d{4}$ æºå¸¯é»è©± ^(070|080|090)-\d{4}-\d{4}$ IPé»è©± ^050-\d{4}-\d{4}$ ããªã¼ãã¤ã¤ã« ^0120-\d{3}-\d{3}
Ayo.js ã¨ã¯ ãNode.js ã® fork ã§ãããã¨è¨ã£ã¦ãã¾ã ã§ããã°ããã§æ£ç´ãã®ã¿ã¤ãã³ã°ã§è¨äºã«ãã¦ãã¾ã èªããã¨ã¯ãããªã«å¤ããªãã§ãã ãã ããJavaScriptçéãé¨ãã«ãªãããã¦ãããã¨ã¯ç¢ºãã§ããæ¥æ¬ã§ãçºè¨ãå¢ãã¦ããã®ã§èªåãªãã«ã¾ã¨ãã¦ä»æç¹ã§ã®è©±ããããã¨æãã¾ãã ã¡ãªã¿ã«èªã¿æ¹ã¯å¥½ãã«èªãã§ãããã¨è¨ããã¦ã¾ãã ãã¢ã¤ã»ãªã¼ãã§ããããããã¨ã¤ã»ã¨ã¼ãã§ãè¯ãã¨ã®ãã¨ã§ãããã¼ãã³ã°çã«ã¯æãã£ã io.js forké¨åãæ³èµ·ããããã¼ãã³ã°ã«ãªã£ã¦ã¾ããããã io.js ã«ã¤ãã¦ãåããªãæ¹ãããã®ã§ããã°ããã¡ãããåç §ãã ããã yosuke-furukawa.hatenablog.com Ayo.js ã®ç®ç https://github.com/ayojs/ayo/blob/zkat/values/VALUES.md ãããè¦ãã¨
ãã®ä¸ãæåã®å¦ç¿ææãæ´çãããªãã¸ããªãä½ã£ãã®ã§ããã®ææã«ã¤ãã¦ã¾ã¨ãã¦ããã ä½ã£ããµã³ãã«ããã¸ã§ã¯ãã ããæ軽ã«æ¬²ãããã°ããã®ãªãã¸ããªã clone ãã¦ã»ããã taichi/js-boilerplatemaster ãã©ã³ãã«ã¯ããããã 㪠JavaScript éçºç°å¢ããµã³ãã«ã³ã¼ãä»ãã§å ¥ã£ã¦ããfrontend ãã©ã³ãã«ã¯ãReact/Redux/webpackãªã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ç¨ã®éçºç°å¢ãå ¥ã£ã¦ããããã©ã«ããã©ã³ãã«ãã¦ãã electron ãã©ã³ãã«ã¯ãfrontend ãã©ã³ãã®å 容ã«å ãã¦Electronã§ã¢ããªã±ã¼ã·ã§ã³ãéçºããããã®ç°å¢ãå ¥ã£ã¦ããã¯ããã«#æè¿ã® JavaScript ã«ã¤ãã¦#åã¯ä»äºã¨ã㦠JavaScript ãæ¸ãã¦ãã訳ã§ã¯ãªããã©ãããã®åå¹´ãããã®éã«ã¡ãã£ã¨ãããã¼ã«ãªãããã¤ãä½ã£ããã©ã¡ãã便å©
JavaScript ã§éåæå¦çãå®ç¾ãã Promise ã¨ããæ©æ§ã¯ãåç¥ã§ããããï¼ ä»åã¯ãPromise ã®èãæ¹ã PHP ã§å®è£ ãã Guzzle Promiseãã使ã£ã¦ã大éã® API ã³ã¼ã«ãé«éåããã¨ãã®çµé¨ã«ã¤ãã¦ã話ãã¦ã¿ããã¨æãã¾ãã Talked: - â¦
jQueryã¯ä¾¿å©ããã¦ãã¤ãã¤ãä»ã®ãã¬ã¼ã ã¯ã¼ã¯ã使ããªãããä¸ç·ã«çµã¿åããã¦ä½¿ã£ã¦ãã¾ã£ãããã¾ãããã®çµæã¨ãã¦èªã¿è¾¼ããµã¤ãºãè¥å¤§åããããåä½ãéãããªã£ãããã¾ããç¹ã«ã¹ãã¼ããã©ã³ã®ããã«ãªã½ã¼ã¹ããã¹ã¯ãããã»ã©æ½¤æ²¢ã§ãªãå ´åã¯é¡èã§ãã ããã§jQueryããé¢ãã¦ä»£æ¿ã©ã¤ãã©ãªã使ã£ã¦ã¿ã¾ããããå¤ãã®ã©ã¤ãã©ãªã¯jQueryãè¸è¥²ãã¦ä¼¼ããããªä½¿ãæ¹ãã§ããããã«ãªã£ã¦ãã¾ãã Minified.js jQueryã®ããã«DOMæä½ãã¢ãã¡ã¼ã·ã§ã³ãã¤ãã³ããHTTPãªã¯ã¨ã¹ãããµãã¼ããã¦ãã¾ããã¾ããã³ã¬ã¯ã·ã§ã³ãæ¥ä»ãæ°åã®ãã©ã¼ãããããã³ãã¬ã¼ãã¨ãã£ã便å©ã¦ã¼ãã£ãªãã£ãåãã¦ãã¾ãã ãµã¤ãºã¯4KBï¼ãããã¡ã¤&Gzipï¼ã§ãjQuery 2.1.4ã®29KBã«æ¯ã¹ã¦å¤§å¹ ã«è»½éã§ãã Minified.js - A Truly Lightweight
ã¯ããã« ããã«ã¡ã¯ãæè¡é¨ã®åè°·ã§ãã ç¾å¨ãç§ã¯2015å¹´4æã«ç·åè·ã®æ°å社å¡ã¨ãã¦å ¥ç¤¾ããã®ã§ãããèªãå¸æãã¦ã¨ã³ã¸ãã¢ã«è»¢åããããã«6ã¶æéã®æè¡æè²(ãã¬ã¼ãã³ã°)ãåãã¦ãã¾ãã ãã®è¨äºã§ã¯ãç§ãåãã¦ãããã¬ã¼ãã³ã°ã®å 容ã«é¢ãã¦ãç´¹ä»ãããã¨æãã¾ãã ãªããã£ã¦ããã®ã ãã¬ã¼ãã³ã°ã®ã´ã¼ã«ã¯ãã¯ãã¯ãããã§ä¸äººåã®ã¨ã³ã¸ãã¢ã¨ãã¦åããæè¡åã身ã«ã¤ããããã¨ã§ãã ã¯ãã¯ãããã§ã¯ããã£ã¬ã¯ã¿ã¼ãå¶æ¥è·ã§ãã£ã¦ããµã¼ãã¹ã«é¢ããã¹ã¿ããã¯å ¨ã¦æä½éã®æè¡çãªç¥èãæã£ã¦ããã¹ãã¨èãããã¦ãã¾ãã ãã®ããç·åè·ã®æ°å ¥ç¤¾å¡ç ä¿®ã«ããã¯ãã¯ãããã§åãä¸ã§æä½éã®æè¡çãªç¥èãæã¤ããã«æè¡ç ä¿®ãçµã¿è¾¼ã¾ãã¦ãã¾ãã ãã ãç§èªèº«ãç·åè·ã§å å®ãããã£ããã®ã®ããèªåã§ãã®ã¥ããããããããããããæãåããã¦ç´å¾ã®ãããã®ãã¤ãããããã¨ããæããæã£ã¦ãã¦ã
æè¿JavaScriptãã¬ã¼ã ã¯ã¼ã¯ã«ã¤ãã¦è²ã ææ¨ã®ãããªãã®ãæ示ããããã°ãæµè¡ã£ã¦ããããã ãé©æé©æã®ãã¨ãããã¯å¤§è¦æ¨¡åãã¨ãå°è¦æ¨¡åãã¨ãæ©ãã ã®é ãã ã®ãå ããgitãªããè¦ããªããã£ã¦æ»ãªãªããã¨ããUXãããï¼ã¿ãããªè©±ã ã¨æãããå 容ãUIã«éã£ããã¨ã¨ãã ä¸ä½æè¿ã®ããã³ãã¨ã³ãã¯ã©ããªã£ã¦ããã ï¼ã¨ããé°å²æ°ã«ãªã£ã¦ãã¾ããã®ã§ãå°ãã¡ã¢çã«æ¸ãã¾ããã JavaScriptãã¬ã¼ã ã¯ã¼ã¯ã«ã¤ã㦠JavaScriptãã¬ã¼ã ã¯ã¼ã¯ã®ç¶æ³ãè¦ãã¨ï¼ãã¬ã¼ã ã¯ã¼ã¯ãã©ã¤ãã©ãªãã®è°è«ã¯ç½®ãã¦ããï¼ DOM Web Components Virtual DOM ã«åããã¾ããJavaScriptãã¬ã¼ã ã¯ã¼ã¯åæã®é ã¯DOMãç´æ¥æä½ãããã®ãå¤ãåºç¾ãã¦ãã¾ããããã¬ã¹ãã³ã¹ãªã©æ±ãã«é£ããé¢ããããä»ã®ã¢ããã¼ããèæ¡ããã¾ããããããWeb Compoent
ãã®è¨äºã®ãªãªã¸ãã«ã¯ voxxed ã«æ稿ããããã®ã§ãã JavaScripté¢é£ã®åé¡ãæ±ãããã¼ã ããµãã¼ãããä»äºãéãã¦ãããã¤ãå ±éã®åé¡ç¹ããããã¨ã«æ°ã¥ãã¾ãããããããªããJavaScriptã«å¯¾ããã¤ã©ã¤ã©ãæãã¦ããã®ã§ããã°ããã®è¨äºã¯ä½ããã®å©ãã«ãªãããããã¾ãããããã¨ããï¼ç§ããæããããã³ãã¯ãã§ã«ãåç¥ã®ãã®ãããã¨ã¯æãã¾ããããã¾ãããã°ãå¤å°ãªãã¨ãæç¨ãªæ å ±ãããããããã¾ãããç¹ã«ã¨ã³ã¿ã¼ãã©ã¤ãºã¢ããªã±ã¼ã·ã§ã³ãCMSã½ãªã¥ã¼ã·ã§ã³ãæ§ç¯ããéã«æå¹ãªãã³ãã§ãããã¼ã ã®èª°ãã話ãããããªãCMSã®ã³ã¼ãã«ã¤ãã¦ã話ããã¾ããããããå¿ è¦ã«å¿ãã¦æ¡ç¨ã§ãããã®ã§ãã debuggerã¹ãã¼ãã¡ã³ã 大åã®ãã©ã¦ã¶ã§ãµãã¼ãããã¦ããã«ãããããããJavaScriptãæ¸ãéã«æãæ´»ç¨ãããã¦ããªãæ©è½ã®1ã¤ã§ããdebuggerã¹ãã¼ãã¡
ãããªãããã®éãã¸ã§è¨ããã¦ããã ããã§ããã©ãç¥ã£ã¦ããç¥ããªããåããã¾ãããä¸ã®ä¸ã«ã¯ãããé »åº¦ã§å¼ã°ãããDOMã¤ãã³ãã£ã¦è¨ãã®ãããã¤ãããããã§ãã ä¾ãã° scroll mousemove, touchmove devicemotion 辺ãã§ããã ã§ãé«é »åº¦ã§å¼ã°ããã£ã¦è¨ããã¨ã¯å¿ ç¶çã«å¦çéãå¢ããã£ã¦åããã¾ãããï¼ï¼ï¼ï¼ï¼while(1) {}ãããªãã¨ã¯ããUIã¹ã¬ããã«ååå½±é¿ãä¸ãããé »åº¦ã§å¼ã°ãã訳ã§ããåããã¾ãããï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ ãããªãã¨å½ç¶ãã®ã¤ãã³ãå ã§éãå¦çãè¡ãã°äººéãèªèã§ããã¬ãã«ã§ã®ã¬ã¹ãã³ã¹é 延ãèµ·ããã£ã¦ããã®ã¯ãç解ã§ãã¾ãããï¼ éãå¦çã£ã¦ããã®ã¯ã¾ãæ³ååºæ¥ãã¨ã¯æããã§ããä¾ãã°ããããã®ã DOMã®ã¬ã¤ã¢ã¦ãããããã£ã¸ã®ã¢ã¯ã»ã¹ offsetTopãoffsetLeftãoffsetWidthãoffsetHe
ã¯ããã¾ãã¦ã ã¬ã¼ã«ãã¬ã³ã(ä»®)ã§ã¢ãã¡ã¼ã·ã§ã³ãæ å½ãã¦ãã¾ãã峯岸ã¨ç³ãã¾ãã æ¬æ¥ã¯ã¬ã¼ã«ãã¬ã³ã(ä»®)ã®ã·ã¡ã¬ã¼ã«ã¢ãã¡ã¼ã·ã§ã³ã®å¶ä½ã«é¢ãã¦ãç´¹ä»ãããã¨æãã¾ãã ã·ã¡ã¬ã¼ã«ã¡ããã¨ã¯ï¼ ã¬ã¼ã«ãã¬ã³ã(ä»®)ã§ã¯ã·ã¡ã¬ã¼ã«ã¡ããã¨ããæ©è½ããããã²ã¼ã å ã§ããã«ããããã¤ãã³ãã«åå ãããããã¨ãã«å¿æ´ãã¦ãããå°ããªã¬ã¼ã«ããã¾ãã "ä¼ãã«è¡ã"æ©è½ã§ã¯ãã·ã¡ã¬ã¼ã«ã¡ããã«ã¢ãã¡ã¼ã·ã§ã³ãã¤ãã¦å¯æãåãããå®è£ ããã¦ãã¾ãã ãã¼ã³ã¢ãã¡ã¼ã·ã§ã³ã¨ã¯ï¼ ä½ã«ãã¼ã³ãé層çã«è¨ç½®ãã¦ããããã®éª¨æ ¼ã®ã¤ãªãç®ãåºæºã«ãã¼ãã¬ã¼ã ã§åããã¤ãã¦ã¢ãã¡ã¼ã·ã§ã³ãã¤ãã¦ããææ³ã®ãã¨ã§ãã ã¹ã±ã«ã¿ã«ã¢ãã¡ã¼ã·ã§ã³ããã¹ãã³ãã¡ãã·ã¥ã¢ãã¡ã¼ã·ã§ã³ã¨ãå¼ã°ãã¦ãã¾ãã ã¬ã¼ã«ãã¬ã³ãã§ã¯ãã¢ãã¡ã¼ã·ã§ã³å¶ä½ã«Flashã使ç¨ãã¦ãããããã¬ã¼ã«ã®åãã¼ããé¢ç¯ãã¨ã«ã ã¼ãã¼ã¯ãª
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}