Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ãã®ä¸ãæåã®å¦ç¿ææãæ´çãããªãã¸ããªãä½ã£ãã®ã§ããã®ææã«ã¤ãã¦ã¾ã¨ãã¦ããã ä½ã£ããµã³ãã«ããã¸ã§ã¯ãã ããæ軽ã«æ¬²ãããã°ããã®ãªãã¸ããªã clone ãã¦ã»ããã taichi/js-boilerplatemaster ãã©ã³ãã«ã¯ããããã 㪠JavaScript éçºç°å¢ããµã³ãã«ã³ã¼ãä»ãã§å ¥ã£ã¦ããfrontend ãã©ã³ãã«ã¯ãReact/Redux/webpackãªã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ç¨ã®éçºç°å¢ãå ¥ã£ã¦ããããã©ã«ããã©ã³ãã«ãã¦ãã electron ãã©ã³ãã«ã¯ãfrontend ãã©ã³ãã®å 容ã«å ãã¦Electronã§ã¢ããªã±ã¼ã·ã§ã³ãéçºããããã®ç°å¢ãå ¥ã£ã¦ããã¯ããã«#æè¿ã® JavaScript ã«ã¤ãã¦#åã¯ä»äºã¨ã㦠JavaScript ãæ¸ãã¦ãã訳ã§ã¯ãªããã©ãããã®åå¹´ãããã®éã«ã¡ãã£ã¨ãããã¼ã«ãªãããã¤ãä½ã£ããã©ã¡ãã便å©
èªåã¨åããããªããã¯ã°ã©ã¦ã³ãã§ãæ©æ¢°å¦ç¿å¨è¾ºã®æ°å¦ã¾ããã®åå¼·ãããããã¨ãã人ã®å©ãã«å°ãã§ããªããã°ã¨æããåå¹´éã®åå¼·ã®è»è·¡ãå ¬éãããã¨ã«ããã â åæ ã»æ°å¦ã®åå¼·ã¨è¨ããåå¼·ã¯é«æ ¡æ°å¦ã§è¨ãæã®æ°IIã»Bã¾ã§ãããã£ã¦ããªãã£ãã ã»æ°å¦ãè¶ å¾æã ã£ããã¨ããã¨ããããããã§ã¯ãªããã¾ãæ®éãªã©ã¤ã³ã ã»å¤§å¦ã¯æ å ±ç³»ã§æçä¸ç·ã ãã©ãæ£ç´å¤§å¦æ°å¦ãããæ°å¦ã¯ãã¾ããã£ã¦ããªãã£ãã ã»ç¤¾ä¼äººã«ãªã£ã¦ä»¥æ¥ãã£ã¨æ°å¦ã³ã³ãã¬ãã¯ã¹ã§ã大å¦ã®æãã£ã¨çç³»ã®åå¼·ããã¦ããã°ããã£ããã¨å¾æããæ¥ã ã ã£ãã ã»ãã¨ã«ãããã¼ã«ã¨ã沢山触ãã¾ãã£ã¦æ £ããæ¹ãè¯ããã¨ããæè¦ã沢山é ãã¦ããã®ã ãã©ã â ãã¯ãå°éã®æç®ãèªãã¨ãã¯ã¼ãã¨æ°å¼ãåºã¦æ¥ã¦ããã£ãã¨ãªãèªåãæ ããªãæããçµé¨ããã â ãã®ã¾ã¾åå¼·ããªãã§å¹´ãã¨ã£ãå¾ã«ããã®æãã£ã¦ããã°ãã¨ããå¾æã¯ããããªãã£ã
å°ãåã«Mochaããã©ã¦ã¶ä¸ã§åããã¦ã¿ãã®ã§ããããã®æã¯Firefoxã使ã£ã¦ãã¾ããã ã¨ã¯ããããã©ã¦ã¶ãèµ·åãã¦ç¢ºèªããã ãã§ãªãããããã¬ã¹ãã©ã¦ã¶ã¨ãããã®ã試ãã¦ã¿ããã¦ãPhantomJSã使ã£ã¦ã¿ããã¨ã«ãã¾ããã PhantomJS - Scriptable Headless Browser WebKitã使ã£ã¦ããããã§ãã ã¨ããããã使ã£ã¦ã¿ã ã¤ã³ã¹ãã¼ã« ã¾ãã¯ããã¦ã³ãã¼ããã¼ã¸ããPhantomJSãåå¾ãã¾ãã Download PhantomJS ä»åã®PhantomJSã®ãã¼ã¸ã§ã³ã¯ã2.1.1ã§ããã¢ã¼ã«ã¤ããå±éãããããã¹ãéãã¦ããã¾ãã $ wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 $ tar -jx
PhantomJSã¨ã¯ HP: PhantomJS åèã¾ã§ã«: Googleã¨AppleãäºããWebKitãã£ã¦ã©ããã¦éè¦ï¼ ä¸è¨ã§è¨ãã¨ãWebkitãã¼ã¹ã®Headlessãã©ã¦ã¶ãWebkitã¨ã¯ä¸»ã«Webãã©ã¦ã¶ã¼ã§ç¨ãããã¦ããã¬ã³ããªã³ã°ã¨ã³ã¸ã³ã®ãã¨ãPhantomJSã¯webkitã«built-inããã¦ããJavaScriptCore (safariã¨ããããã使ã£ã¦ãã) ã¨ããjavascriptã¨ã³ã¸ã³ãæ¡ç¨ãã¦ãããã¹ã¯ã¬ã¤ãã³ã°ãã¹ã¯ãªã¼ã³ãã£ããã£ãªã©ã«ãæ´»ç¨å¯è½ã PhantomJSã«åºä¼ãã¾ã§ã®çµç·¯ Python3.4ã§ã¹ã¯ã¬ã¤ãã³ã°ã試ãã¦ãããJavaScriptã®ã¬ã³ããªã³ã°ãããã£ã¦ãããµã¤ãã«ã¶ã¤ãã£ããPythonã§ããã£ã¨Webã¹ã¯ã¬ã¤ãã³ã°ãã (JavaScriptèªã¿è¾¼ã¿ã«ã対å¿ãã¤ã¤)ã¨ãããµã¤ããåèã«è¾¿ã£ã¦è¡ããã¨ã«ãã I
Webãã¼ã¸ã®è¡¨ç¤ºé度ã£ã¦å¤§äºã§ããããGoogleã®æ¤ç´¢é ä½ã«ãå½±é¿ãåºãã£ã¦ãããããªã«ããã¦ã¼ã¶ãè¦ããã¨æã£ãæã«ãé ãã¦ãªããªãè¦ãããªãã¨ããã®ã¯åç´ã«æ©ä¼æ失ã«ãªãã¾ããããã表示é度ãæ©ããããã¨ãªãããã§ããããããã¸ãã¯ããã¨ãã¹ããã©ã¯ãã£ã¹ã¿ãããªã®ãèªããã¾ãã£ã¦ã¾ããã ã¡ãã£ã¨å¤ãã§ããåãæãæ¸ããWebããã³ãã¨ã³ã表示é度ãæéåææ³ã¾ã¨ãã¿ãããªã®ã¨ãã ã§ãæ©ãããæå·¥çãªãã®ã¯è¯ããã§ãããä¸çªå¤§äºãªã®ã¯è¨æ¸¬ãããã¨ãããã§ãããæ®æ®µãã©ããããã®è¡¨ç¤ºé度ã§ãæºãããããã®ããªãã®ããã©ããã®æç¹ã§é ããªã£ã¦ããªãããªã©ãææ¡ããå¿ è¦ãããã¾ãã ãµã¤ã表示é度ã®ç£è¦ ãµã¤ãã®è¡¨ç¤ºé度ãè¨æ¸¬ãã¦ããããã¤ã¹ãªãµã¼ãã¹ãããã¤ãããã¾ãã pingdom newrelic ruxit HAPPY APPS ALERT BOT Status Cake
ããããã¦ãç¡é§ã«ãªããã¨ãããã®ã§ãå¿ è¦ååãªãã©ã³ã¹ãè¦æ¥µãã¦å®æ½ããã主ã«ç¤¾å ã®ããã°ã©ãåãã®ã¾ã¨ãè³æãä»ã«ãããã°è¿½è¨ãã¦ããäºå®ã ãã¼ã¸ã®ç¶æ ã調ã¹ã ã¾ã対象ã®ãã¼ã¸ããã©ããã£ãç¶æ ãªã®ãã調ã¹ãã Google PageSpeed Insights ããã100ç¹æºç¹ã«ããå¿ è¦ã¯ãªããã赤ããªã£ã¦ããé ç®ã«é¢ãã¦ã¯ããªãã¹ã対å¿ããã»ããè¯ããã¢ãã¤ã«ãµã¤ãã«ã対å¿ãã¦ããã®ã§ä¾¿å©ã https://developers.google.com/speed/pagespeed/insights/?hl=ja pingdom å®éã«ãã¼ã¸ã«ã¢ã¯ã»ã¹ãã¦ã¹ãã¼ããè¨æ¸¬ã§ãããæµ·å¤ãµã¼ããªã®ã§ããã£ããé ãâ¦ãæé©ååã¨æé©åå¾ã§æ¯è¼ããã®ã«ä½¿ãã¨ããã http://tools.pingdom.com/fpt/ Chromeãããããã¼ãã¼ã« ã³ã³ãã³ãã®èªã¿è¾¼ã¿é åºï¼é度
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}