IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
å人製ä½ã®ã·ã¹ãã ã®jsãcoffeeã«å®å ¨ç§»è¡ããã®ã§ãã®éæãæ¸ãã¾ããããã¾ã§ãå人çãªææ³ã§ããæãæ¹ã¯äººããããã§ãã ã¡ãªã¿ã«åã¯åå¼·ãå ¼ãã¦æã§ç§»è¡ããã¾ããããjs2coffeeã¨ãããã¼ã«ã使ãã¨èªåã§å¤æãã¦ããããããã§ãã #å ã«çµè« coffeeã®æ¹ãããã¨æãã ããããæ¹å¤ã«ãjsæ¸ãã°ããããããã¨ããã®ããããã©ã極端ãªè©±ããã¢ã»ã³ãã©æ¸ãã°ããããããã¨é«ç´è¨èªãåºã¦ããé ã«è¨ã£ã¦ã人ã¨ä¸»å¼µã®æ¹åæ§ã¯ä¼¼ã¦ãã¨æãã極端ããããã©ã jsã«ã¯è½ã¨ãç©´ããã£ã±ããããæ £ãã¦ããã¾ã«ã¯ã¾ããvarãå¿ããããé¢æ°ã®é ã§å ¨é¨ã®varãåæãããã¨ãããã©ã¯ãã£ã¹ã«å¾ã£ã¦ãããåé·ã«ãªã£ã¦ç®¡çããã³ã¹ãé«ããªã£ããã coffeeã使ãã¨ããããä½è¨ãªåé¡ãæèããªãã¦ãããªãã®ã¯ã¨ã¦ã大ããã ãããjsã§ã§ãããã¨ã®å ¨ã¦ãcoffeeã§ã§ããã工夫ãå¿ è¦ã«ãªã
æè¿CoffeeScriptçéã®ããã´ã¹ãã£ã¢(æ»èª)ãè³ããã¦ãããCoffeeScriptã使ãã¹ããã使ãããã¹ããï¼ãã¨ãã話é¡ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ãã 以ä¸ã®è¨äºç´¹ä»ã¯è¶ 訳ãã¤è¦ç´ãªã®ã§è©³ããç¥ããã人ã¯å è¨äºãåç §ã®ãã¨ã ãã¨ã®çºç«¯ã¯ãã®è¨äºã SnackJSã®ä½è ãCoffeeScriptããã£ã¹ãã A Case Against Using CoffeeScript by Ryan Florence ãããã°ã®åé¡ CoffeeScriptãçæããJavaScriptã¯ãã¡ãã¨ãã¦ãããã©ãçµå±ã¯èªåãæ¸ããã³ã¼ããããªãããèªã¿ã«ãããèªåã§ç´æ¥æ¸ããã»ããè¦ãããã ããã«CoffeeScriptããããã°ããã¯ã¼ã¯ããã¼ã¯å¤§å¤ã ã ã¾ãåé¡ãJavaScriptå ã®ã©ãã§çºçããã®ããçªãæ¢ãã(CoffeeScriptã®ã³ã¼ãã¨è¡åä½ã§å¯¾å¿ãã¦ãªããã大å¤ã )
ããã«ã¡ã¯ã2011年度æ°åã¨ã³ã¸ãã¢ã®å¤ç®ã§ãï¼çªç¶ã§ããã¿ãªããJavaScriptæ¸ãã¦ã¾ããï¼ æè¿ã¯jQuery Mobileãªã©ãå©ç¨ããã¹ãã¼ããã©ã³åãã¢ããªéçºã«ããã¦ãã¯ã©ã¤ã¢ã³ããµã¤ãã§ãããã¼ãªJavaScriptã®ã³ã¼ãã£ã³ã°ãããæ©ä¼ãããã¨æãã¾ãããã®ãããªã¨ãã³ã¼ãã®ãããã¨ããã«HTMLãæ··å ¥ããããã©ãã§ã©ã®ãã¼ã¿ãæ±ã£ã¦ããã®ãåãããªããªãã¨ãããã¨ã«ãªããã¡ã§ãã ä»åã¯ãããªæªå¤¢ã®ãããªã³ã¼ãã£ã³ã°çæ´»ã«ä¸çã®å¸æã®å ãç §ããBackbone.jsãç´¹ä»ãããã¨æãã¾ãã 対象èªè JavaScriptã§ã®éçºçµé¨ãããæ¹ Backbone.jsã¨ã¯ Backbone.jsã¯DocumentCloudãéçºããã¦ãããã¯ã©ã¤ã¢ã³ããµã¤ãã®JavaScriptã³ã¼ããModelãViewãControllerã§æ§ç¯ããããã®ãã¬ã¼ã ã¯ã¼ã¯ã§ããb
Drupalã»DjangoããNode.jsã«ç§»ã£ããéçºè ãnpmã¢ã¸ã¥ã¼ã«ã®æ°¾æ¿«åé¡ãææãã¦ããï¼ http://mikkel.hoegh.org/blog/2011/12/20/trouble-in-node-dot-js-paradise-the-mess-that-is-npm/ CSSãJavaScriptãªã©ã®ã¢ã»ãããå§ç¸®ãã¦ãããã¢ã¸ã¥ã¼ã«ãå¿ è¦ã ã£ãã®ã§èª¿ã¹ã¦ã¿ããã(æ¨å®)100ãè¶ããåè£ãåºã¦ããã 管çããã¦ããªããã®ãé¤å¤ãããªã©ã®ä¸æ¬¡é¸æã®ãµããã«ããã¦ã26ã®åè£ã(ãªã¹ãã¯å è¨äºåç §) Djangoãªãæããªåè£(asset-managers)ãããã®ã«Node.jsã ã¨æ°åã®åè£ãæ¤è¨¼ããªããã°ãããªãããã®ãããªæéãããããããªããèªåã§æ¸ããæ¹ãéãã¨å°æãã¦ããã ã¢ã»ãã管çã ãã§ãªããroutingããã³ãã¬ã¼ãããã¹ããªã©ãNode.j
ãµã¼ããµã¤ãJavaScriptã«ã¯Node.js以åã«ãããã¤ãã®å®è£ ããããã¡ãã£ã¨åã«æ³¨ç®ããããããã®ã ã¨ãç¾å¨ã¯Appcelerater社ã«è²·åãããAptana社ãåºãã¦ããJaxerãªã©ããããããã¡ãã¨èª¿ã¹ãã¨RingoJsãnarwhalãv8cgiãªã©é¸æè¢ã®ä¸ã¤ã¨ãã¦æ°ãããããµã¼ããµã¤ãJavaScriptå®è£ ãããã¤ãããããã ããããã¯Node.jsã®ããã«æ³¨ç®ãæµ´ã³ã¦ããããã§ã¯ãªãã Node.jsã¨ãããã®æ¢åã®ãµã¼ããµã¤ãJavaScriptã®éãã¯ãä»ã®ãµã¼ããµã¤ãJSã®åä½ã¢ãã«ãæ¢åã®ãµã¼ããµã¤ãã®ãã®ã¨å¤ãããªãã®ã«å¯¾ãã¦ãNode.jsã®å ´åã¯ããã§ã¯ãªããããå ·ä½çã«ã¯ãHTTPã³ãã¯ã·ã§ã³ã®ãã³ããªã³ã°æ¦ç¥ãéã£ã¦ãã¦ãæ¢åã®åä½ã¢ãã«ã1ã³ãã¯ã·ã§ã³ã«å¯¾ãã¦1ããã»ã¹/ã¹ã¬ããæ¶è²»ããã®ã«å¯¾ãã¦ãNode.jsã®å ´åã¯éåæI/Oãç¨ãã¦
æãããã¦ä¹ ã ã®æ´æ°ã«ãªã£ã¦ãã¾ã£ããããã°ãæ¸ãæ°ããªããªã£ãã¨ãããããã®ã§ã¯ãªãã¦ãã åã«å¿ããã£ãã ãããã®éãã¾ãä»äºãäºæãã¬æ¹åããçä¸ãã¦ã¿ãããäºæ ãããã£ã¦æè»ãå ¨æãããï¼ããã³ãã¬ã©ã¹ãå ¨é¢ç±ç·å ¥ããªãã¦ããå¤ãªãªãã·ã§ã³ãªã©ã諸ã ä»ãã¦ãããããæ°ã«å ¥ãã ã£ãã®ã«ï¼ã¨æ±ºãã¦è¯ããã¨ã°ããã§å¿ããã£ãããã§ã¯ãªããã©ãï¼ ã§ãä»å㯠node.js ã®ã話ãç°æ§ãªçãä¸ãããè¦ãã¦ãããã®ã®ããããããã£ã¦ãã£ããä½ãã¨ããã¨ãJavaScriptãç¨ããNon-blocking I/Oç°å¢ãã¨ããé常ã«ã·ã³ãã«ãªãã®ã ã ãã®æ ¹åºã«ã¯ããã¾ãã¹ã±ã¼ã«ã§ãããã¨ãã¨ãåä½ãéããã¨ãã¨ããç念ãè¦åããããã ã¾ãããã¾ãã¹ã±ã¼ã«ã§ãããã¨ï¼å¤éã®ã¢ã¯ã»ã¹ãæãããã¨ï¼ãã解決ããã«ããããã¾ãã¯ã¹ã¬ããã¢ãã«ããã¤ãã³ãã«ã¼ããã¨ããåé¡ããã£ãããã㧠auth
The document contains results from various benchmark tests measuring the performance of different programming languages and implementations like Node.js, Java, Python, and others. It includes graphs showing the time taken to complete tasks like string concatenation and list operations. The benchmarks also compare just-in-time compilers and tracing JIT performance for some languages.Read less
HTMLï¼JavaScriptã§ä½ãããWindows 7ãã¹ã¯ãããã¢ããªã®åºç¤ç¥èï¼æ¥½ããWindows 7ã¢ããªä½æå ¥éï¼3ï¼ ããããªãã¨ãããªããã§ããããããªãã¨ããã¢ã¤ãã¢ãWindows 7ã®è¡¨ç¾åã§å ·ä½çãªâã¢ããªâã¨ããå½¢ã«ããã«ã¯ãã©ãããã°ããã®ã ãããï¼ å ·ä½çãªã³ã¼ãããã¢ã¨ã¨ãã«ä¸ããæãã¾ã
 WWW::Mechanize for JavaScript WWW::Mechanizeã©ã¤ã¯ãªIEã®é éæä½ã©ã¤ãã©ãªã§ã å ¬é : 2006-07-12 License : BSD License ãã¦ã³ãã¼ã mechanize.js mechanize.hta(使ç¨ä¾)
â» ç»åã¯å ¬å¼ãµã¤ããã¢ãã æè¿ã¯ç°¡åã«ä½¿ããã°ã©ãã©ã¤ãã©ãªãå¢ãã¦ãããFlashã®ãã®ã¯è¦ãç®ãå¥éºã§ãç»ååºåã®ãã®ãè¦ãããã§ã¯ã²ããåããªããã ãããããã°ã©ãã¯ä¸åº¦è¡¨ç¤ºãããæå¾ããªãã¼ãããªãã¨å¤åããªããã®ãå¤ãã£ãã ãã¤ãã£ã¼ã ããã§ã¯ãªãããã£ã¨ãã¤ãããã¯ã«å¤åããã°ã©ããæãããå ´åã¯ããã使ã£ã¦ã¿ããã ä»åç´¹ä»ãããªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ã¯ProtoChartãJavaScriptã ãã§æãã°ã©ãã©ã¤ãã©ãªã ã ProtoChartã¯Canvasã使ã£ã¦ãJavaScriptã®ã¿ã§ã°ã©ããçæãã¦ãããCanvasã¯æ¬æ¥ãIE6ã«ã¯å¯¾å¿ãã¦ããªãããå¤é¨ã©ã¤ãã©ãªãèªã¿è¾¼ããã¨ã§æç»ã§ããããã«ãã¦ãããããã«ãã対å¿ãã©ã¦ã¶ã¯IE6/7ãFirefox2/3ãSafariã¨ãªã£ã¦ãããã¾ãSafariã«å¯¾å¿ãã¦ããã¨ãã£ã¦ãiPhone/iPod
ãã¨ãã¨ã¯åå¨ããªãã£ãã¿ã°è¦ç´ ãæ°ãã«è¿½å ããããå¤æ´ãåé¤ãããã¯ããã¯ãå¦ã¶ãããããå¦çãã§ããã®ã¯DOMãªãã§ã¯ã®é åã ã æ§æ¥ã®DHTMLã®ææ³ã§ã¯ãJavaScriptããæä½ã§ããHTMLè¦ç´ ã«ã¯éããããã¾ããããDOMã§ã¯ãHTMLä¸ã®ããã¨ããããè¦ç´ ãèªç±èªå¨ã«èªã¿åã£ãããæ¸ãæãããã¨ãã§ããããã«ãªãã¾ããæ¬é£è¼ã§ã¯ã主ã«DOM Level 1ã§è¦å®ããã¦ããææ³ã使ããJavaScriptã§ã©ã®ããã«HTMLä¸ã®è¦ç´ ã¸ã¢ã¯ã»ã¹ããã®ããããã¦ããããã©ããã£ã¦æ¸ãæããã®ãã詳ãã解説ãã¾ããããã«ãããJavaScriptããHTMLè¦ç´ ãæã«åãããã«æããããã«ãªãã¾ãã DOMã¹ã¯ãªããã£ã³ã°ã§ã¯ãHTMLãJavaScriptããèªç±èªå¨ã«æ¸ãæããããç¹ã大ããªé åã§ããããã¾ã§ãHTMLã«åå¨ããè¦ç´ ã®åç §æ¹æ³ãå±æ§ã®æ±ãæ¹ãå¦ãã§ãã¾ãããã
ååæ¸ãã¦ãã ä¸æ¬ã®ããã°ã©ã ã ããèµ°ã£ã¦ãã¦ããã£ããã®ã¡ãã»ã¼ã¸ãç£è¦ããæ¡ä»¶ã«åã£ãã¡ãã»ã¼ã¸ãè¦ã¤ããã決ããããã¹ã¯ãªãããå¼ã³åºããããªã®ãä½ãããã ã¤ã¾ããèªåå¿çã®ã³ã¢ã«ãªããããªãã¤ããã¨ã¯å®éã®å¿çãã¸ãã¯ã¯ãã©ã°ã¤ã³å¼ã«æ軽ã«æ¸ãã Skypeã®ãã£ããã«èªåå¿çããJavaScript - ä»æ¥è¦ããã㨠ã¨ããã®ãä½ã£ãã autoreply.js ã¾ãã¯ã¡ã¤ã³ã¨ãªãã¹ã¯ãªããããã®ã¹ã¯ãªããã¯ãè¨å®ãèªã¿è¾¼ãã ãç¡éã«ã¼ãããã¦ãSkypeã®ãã£ãããç£è¦ãããããã¦ä½ãçºè¨ãåä¿¡ããããè¨å®ã«å¾ã£ã¦å¤é¨ã¹ã¯ãªãããå¼ã³åºãããã®å¦ççµæãèªåçã«çºè¨ãããã®ã // config var conf = eval_file('autoreply.config.json'); // attach Skype var skype = new ActiveXObj
ã¯ããã«ãAjaxï¼ã¨ã¤ã¸ã£ãã¯ã¹ï¼Asynchronous JavaScriptï¼XMLã®ç¥ç§°ï¼ã¯ã¦ã§ãä¸ã®ãµã¼ãã¹ãä¸å¿ã«æ®åãã¦ãã¾ããããçããã®éçºç¾å ´ã§Ajaxã¯æ´»ç¨ããã¦ããã§ããããï¼ãæè¿ã¯ãããããªJavaScriptãã¬ã¼ã ã¯ã¼ã¯ãåºã¦ãã¦ãããããAjaxã®ãµã³ãã«ãã¦ã§ãä¸ã«å¤ãæ²è¼ããã¦ãã¾ããããããç¹å®ã®JavaScriptãã¬ã¼ã ã¯ã¼ã¯ãWebã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ã«ä¾åãããµã³ãã«ã¯å¶ç´ãå¤ããããæ´»ç¨ãèºèºãã¦ããITã¨ã³ã¸ãã¢ãå¤ãã®ã§ã¯ãªãã§ããããï¼ããã®è¨äºã§ã¯ãç¹å®ã®ãã¬ã¼ã ã¯ã¼ã¯ãå©ç¨ããã«Ajaxã«ããã¤ã³ã¯ãªã¡ã³ã¿ã«æ¤ç´¢ãå®è£ ãã¦ã¿ããã¨ã§ãWebã¢ããªã±ã¼ã·ã§ã³ã®åºç¤ãæ¯ãè¿ã£ã¦ã¿ããã¨æãã¾ãããä»åä½æããã¤ã³ã¯ãªã¡ã³ã¿ã«æ¤ç´¢ã¢ããªã¯ãèµæ¸ã®æ¤ç´¢ã§ããå®æã¤ã¡ã¼ã¸ã以ä¸ã«ç¤ºãã¾ãã æ¬è¨äºã¯ã以ä¸ã®é åºã§é²ã¿ã¾ãã å ¨ä½ã®
PHPã§ATOMãRSS1/2ãã©ã¼ãããã®ãã£ã¼ããè¶ ç°¡åã«åãåºãããFeedWriter... 次ã®è¨äº â«ï¼åªé ãªWebå¶ä½ã®ããã®JavaScriptãyuga.jsã Taffy DB : A JavaScript database for your browser Taffy DB is a free and opensource JavaScript library that acts as thin data layer inside Web 2.0 and Ajax applications. ãã©ã¦ã¶ä¸ã§ä½¿ããJavaScriptã«ãããã¼ã¿ãã¼ã¹ãTraffy DBã. Ajaxã¢ããªã±ã¼ã·ã§ã³ãªã©ã§ããã©ã¦ã¶å ã§å¤ãã®ãã¼ã¿ãæ±ãå ´åã«ä½¿ããã©ã¤ãã©ãªã®ããã§ãã ä¾ãã°ã次ã®ããã«ãã¼ã¿ãæ¤ç´¢ãããã¨ãåºæ¥ãããã§ã products.find({price:{
JavaScriptã®ãããã°ç°å¢ã¨ãã¦ã¯ãFirefoxã§ããã°Firebugã§åé¡ãªãã ãããã ããä»ã®ãã©ã¦ã¶ã®å ´åã¯ã©ãã ãããåãã©ã¦ã¶ãã¨ã«ãããã°ç°å¢ãä½ãã®ã¯é常ã«å´åããããã ããã ããã§è©¦ãã¦ã¿ããã®ããã®ã½ããã¦ã§ã¢ã ãããã§ããã°ã©ã®ãã©ã¦ã¶ã§ãå©ç¨ã§ããå¯è½æ§ãããã ä»åç´¹ä»ãããªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ã¯JackalãJavaScriptãããã°ãããã·ã ã Jackalã¯Windowsåãã®ã½ããã¦ã§ã¢ã§ãMirageã¨ããHTTPãããã·ã½ããã¦ã§ã¢ã使ã£ã¦ãããã¤ã³ã¹ãã¼ã«ãããããã·ã®ã¢ãã¬ã¹ãlocalhost:9889ã«è¨å®ããã°æºåå®äºã ã ãã®ç¶æ ã§Webãµã¤ããè¦ãã¨ãå·¦ä¸ã«Jackalã®ã¢ã¤ã³ã³ã表示ãããããããã¯ãªãã¯ããã¨ãããã°ã¦ã£ã³ãã¦ã表示ããããJavaScriptã®å®è¡ã¯ãã¡ãããã¨ã¬ã¡ã³ãã®æ§é ãé²è¦§ãããã¨ãã§ããã
This file is part of the first edition of Eloquent JavaScript. Consider reading the third edition instead.
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}