Design REST and GraphQL Content Delivery APIs to connect to any frontend.
â programming, open source, os, and a handful of tips hylom.netã§ã¯Node.jsãã¼ã¹ã®CMSï¼nodeweblogï¼ã§éç¨ããã¦ãããã以åã¯WordPressã使ç¨ãã¦éç¨ãã¦ããããã®ãããªCMSã®åãæ¿ãã®éãéå»ã³ã³ãã³ãã¸ã®ã¢ã¯ã»ã¹ãã©ãå¦çããããã¨ãããã¨ãèããªããã°ãªããªããæ¬æ¥ãªãã°æ§ã·ã¹ãã ã§ãã¼ã¿ãã¨ã¯ã¹ãã¼ãããä¸ã§é©åã«æ°ã·ã¹ãã ã«ã¤ã³ãã¼ãããã¹ãã ããä»åã¯ãã¹ãçãªéç¨ã¨è¨ããã¨ã§ãå¥ãã¼ãã§Apacheï¼WordPressãèµ·åããnodeweblogå ã«åå¨ããªãURLã«å¯¾ãããªã¯ã¨ã¹ãã¯ãªãã¼ã¹ããã¯ã·ã使ã£ã¦WordPressã«è»¢éããã¨ããæ¹æ³ã§æ§ã³ã³ãã³ãã¸ã®ã¢ã¯ã»ã¹ãå¯è½ã«ãã¦ããã Node.jsã使ã£ã¦ãªãã¼ã¹ããã¯ã·ãæ§ç¯ããå ´åãnode-http-proxyã¨ãã£ãã¢
ããã¯ãNode.js Advent Calendar 2015ãã®17æ¥ç®ã®ã¨ã³ããªã§ãã qiita.com é·ãã®ã§ä¸è¡ã¾ã¨ã npmã®Local Paths + linklocalã使ã£ã¦ã¢ã¸ã¥ã¼ã«ç®¡çããã¨(dev)dependenciesãã¹ãã㪠ãã¦ã以ä¸æ¬é¡ã§ãã (dev)dependenciesã®è¥æºååé¡ çªç¶ã§ãããWebãµã¼ãã¹ãã¯ã©ã¤ã¢ã³ãããµã¼ããJavaScriptã§æ¸ãå ´é¢ãæ³åãã¦ãã ããã æè¿ã ã¨ãã¯ã©ã¤ã¢ã³ãå´ã®ã³ã¼ããBrowserifyãWebpackã使ã£ã¦ãpackage.jsonã§ã¢ã¸ã¥ã¼ã«ç®¡çããã®ãä¸è¬çã§ã¯ãªããã¨æãã¾ãã ããã¦ããµã¼ãå´ãNode.jsã§æ¸ããã¦ããã®ã§package.jsonã§ã¢ã¸ã¥ã¼ã«ç®¡çãã¾ãã ããã¨ãpackage.jsonãâã¿ãããªãã¨ã«ãªãã¾ã(wp-calypsoã®package.json)
ç¾å¨JavaScriptã¯ããã©ã¦ã¶ã§ä½¿ç¨ãããã®ã¯ãã¡ããã®ãã¨ããµã¼ãã¼ãµã¤ãã§Webãµã¼ãã¼ã¨ãã¦åä½ããããã¯ãã¾ãéçºè ã®PCã§å種éçºãã¼ã«ã¨ãã¦åä½ããããã¦ãããæ§ã ãªå ´é¢ã§å©ç¨ããã¦ãã¾ãã ããã§ä»åã¯ããã®ã©ã¡ãã§ã使ãããNode.jsã¨ãã©ã¦ã¶JavaScriptã®ä¸¡æ¹ã«å¯¾å¿ããç»åå¦çã©ã¤ãã©ãªãJimpããç´¹ä»ãããã¨æãã¾ãã ãJimpãã¨ã¯Jimpã¯ãå¤é¨ã¾ãã¯ãã¤ãã£ãã®ä¾åé¢ä¿ãå ¨ããªããå®å ¨ã«JavaScriptã§è¨è¿°ãããNode.jsç¨ã®ç»åå¦çã©ã¤ãã©ãªã§ããã©ã¤ã»ã³ã¹ã¯MITã©ã¤ã»ã³ã¹ã§ããªã¼ãã³ã½ã¼ã¹ã§éçºããã¦ãã¾ãã 以ä¸ã®npmã³ãã³ãã§ã¤ã³ã¹ãã¼ã«ã§ãã¾ãã var Jimp = require("jimp"); // "lenna.png"ãéã Jimp.read("lenna.png", function (err, len
éçºãCIã§ãDockerã¤ã¡ã¼ã¸ãbuildããéã«npm installããã¨ãcacheããªãããæéããããã ããã¯packageã®æ°ãå¤ããªãã¨çµæ§è¾ããã¨ã«ãªãã®ã§ããªãã¨ãã§ããªããã¨è©¦ãã¦ã¿ãã 以ä¸ã®ãããªé©å½ãªpackageã使ã£ã¦è©¦ãã¦ã¿ãã { "name": "example-project", "version": "0.0.1", "description": "example", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "kazu69", "license": "MIT", "dependencies": { "express": "^4.13.4", "react": "^15.0.1" }, "
Vagrantã®å ±æãã©ã«ãä¸ã§npm iããã¨ã³ã±ããã¨ãããããã®è§£æ±ºçã¨ãã¦npmã®ãªãã·ã§ã³ã«--no-bin-linksãä»ä¸ããã£ã¦ã®ãå®è·¡ãããã æ¥æ¬èªã®æç®ã ã¨ããã®è§£æ±ºçãè¨ããè¨äºã°ããã§ãåå ã®èª¬æããããããããããããªããã©ããã§åãã¾ãããã§æ¸ã¾ãã¦ããã ãããªè¨³ã§ãvagrantã®å ±æãã©ã«ãä¸ã§npm iããã¨ãã³ã±ãçç±ã¨ã--no-bin-linksãªãã·ã§ã³ãã¤ããã¨éãçç±ã«ã¤ãã¦èª¿æ»åã³æ¤è¨¼ãã¦ã¿ã¾ãã ç¥ããããã¨vagrantã®å ±æãã©ã«ãä¸ã§npm iããã¨ãã³ã±ãçç±ã¨ã--no-bin-linksãªãã·ã§ã³ãã¤ããã¨éãçç±ã åå ã®åè£ã°ã°ã£ã¦ããã£ã½ãã®ãåæããã Virtual Boxä¸ã§ã¯ã»ãã¥ãªãã£ã®é¢ä¿ä¸ãå ±æãã©ã«ãã«ã·ã³ããªãã¯ãªã³ã¯ãå¼µããã¨ãç¦æ¢ãã¦ãããbin package moduleãã¤ã³ã¹ãã¼ã«ããéã
Node.jsã®ãã¼ã¸ã§ã³ã¢ããã®é度ã¯åããéããã§ãããããã«ãã¦èªåã®ç°å¢ã®Node.jsã®ãã¼ã¸ã§ã³ã§ã¯ã¤ã³ã¹ãã¼ã«ã§ããªãnpmã®ããã±ã¼ã¸ãªã©ãåºå§ãã¦ãã¾ãããæ°ãåããã¨ãã«ãã¼ã¸ã§ã³ã¢ãããªã©ãã¦ãã¾ããããç¹ã«ä½ãèµ·ããªãéããã¼ã¸ã§ã³ã¢ãããããããã«ããã¡ã§ã¯ããã¾ããããããæ©ã«ãä»æ´ã§ããNode.jsã®ãã¼ã¸ã§ã³ç®¡çãã¼ã«ã§ããnodebrewã使ã£ã¦ã¿ããã¨ã«ãã¾ãããå°å ¥æ¹æ³ã使ãæ¹ãªã©ãã¾ã¨ãã¦ããã¾ãã nodebrewã¨ã¯nodebrewã¯Node.jsã®ãã¼ã¸ã§ã³ç®¡çãã¼ã«ã§ãããåãã®æ¹ãå¤ããã¨æãã¾ãããæ¥æ¬äººã¨ã³ã¸ãã¢ã®@hokacchaããã«ãã£ã¦Perlã§éçºããã¦ãã¾ããåããããªãã¼ã«ã¨ãã¦nvmãWindowsç¨ã¨ãã¦Nodistã¨ãã£ããã®ãããã¾ãããããã®ãã¼ã«ã«é¢ãã¦ã¯å¥½ã¿ã®ã使ãã°ããã¨æãã¾ãããnvmã«ã¤ãã¦ã¯zsh
以ä¸ã«ç´¹ä»ããã®ã¯ã Docker ã使ã£ã¦ node.js ç¨ã®Webã¢ããªã±ã¼ã·ã§ã³ãéçºãããã³ãããã¤ããéã«ãç§ãåè¦å «è¦ããªããå¦ãã ç§è¨£ãã³ãã§ãã ãã®ãã¥ã¼ããªã¢ã«è¨äºã§ã¯ãDocker㧠socket.ioã®ãã£ãããµã³ãã« ãç½ç´ã®ç¶æ ããæ¬çªç¶æ ã¸ã¨ã»ããã¢ãããã¦ããã¾ãããã®ããã»ã¹ãéãã¦ãããããç§è¨£ãªã©ãç°¡åã«ç¿å¾ãã¦ããã ããã°å¹¸ãã§ããç¹ã«ã以ä¸ã®ãããªå 容ã«ã¤ãã¦è¦ã¦ããã¾ãã å®éã«Dockerã§Nodeã¢ããªã±ã¼ã·ã§ã³ãèµ·åããã ãã¹ã¦ãrootã¨ãã¦å®è¡ãããªãï¼æªãããæ¹ã§ãï¼ã éçºæã®ãã¹ã-ç·¨é-ãªãã¼ããµã¤ã¯ã«ãçãããããããã¤ã³ãã使ç¨ããã åæ§ç¯ãé«éã«ããããã node_modules ãã³ã³ããã§ç®¡çããï¼ããã«ã¯ç§è¨£ãããã¾ãï¼ã npm shrinkwrap ã§ããã«ããå復å¯è½ã«ããã éçºç°å¢ã¨æ¬çªç°å¢ã§ Do
ããæãã«ã¹ã¯ãªã¼ã³ã·ã§ãããæ®ãã Gyazoã¯ãã¹ã¯ãªã¼ã³ã·ã§ãããå ±æããããã®ãã¼ã«ã Gyazo - Gyazoã¸ãããã : ã¹ã¯ãªã¼ã³ã·ã§ããã®ç¬éå ±æ æ®å½±ããã¹ã¯ãªã¼ã³ã·ã§ããã¯èªåçã«gyazo.comä¸ã¸ã¢ãããã¼ãããããã©ãURLã¯128bitã®ããã·ã¥å¤(MD5)ã§å ¬éããããããURLãç¥ã£ã¦ãã人ã«ããã¾ãè¦ãã¾ããããã¨ãããã¨ã«ãªã£ã¦ããã ãã®Gyazoãã½ã¼ã¹ãå ¬éããã¦ããããµã¼ããè¨ç½®ãã¦ãã©ã¤ãã¼ãGyazoãµã¼ããæ§ç¯ãããã¨ãåºæ¥ãã ãã£ãããªã®ã§ãä»åã¯æè¿ä½¿ã£ã¦ããTypeScript(0.9.5) + Node.js + expressã®æ§æã§èªä½ãã¦ã¿ããã¨ã«ããã shidasan/gyazo-server-typescript · GitHub 以ä¸ãã½ã¼ã¹ã ///<reference path='./d.ts/node/n
ããã³ãã¨ã³ãã®ãã©ãã¤ã ãåèã«ããã¯ã¨ã³ãéçºãåèãã / TypeScript ã«ãã GraphQL ããã¯ã¨ã³ãéçº
Node.jsï¼Socket.IOï¼MongoDB ããã«ã¡ã¯ï¼ èè ã¯ããã¤ã³ãããªã¼ã¨ããä¼ç¤¾ã§Node.jsã使ã£ã¦Webã¢ããªãªã©ãä½æãã¦ããããã®é£è¼ã§ã¯ãææ°Webãã¯ããã¸ã使ã£ãç 究éçºã®äºä¾ãå®ç¸¾ãçºä¿¡ããå¼ç¤¾ã®ãµã¤ãâTech Releaseâã®ãªãã¥ã¼ã¢ã«ã§å¹ã£ãNode.jsã«é¢ããç¥èãåããããããä¼ãããã Tech Releaseã¯ä¸è¦ãæ®éã®ããã°ã«è¦ããããå®ã¯è¨äºã®æ´æ°å 容ããªã¢ã«ã¿ã¤ã ã«Viewç»é¢ã«åæ ããã¦ããã管çè ããè¨äºã®æç« ï¼ãã¼ã¿ï¼ã«å¤æ´ãå ããã¨ããã®è¨äºãè¦ã¦ãã人ã«ããã¼ã¸ããªãã¼ãããã«ããªã¢ã«ã¿ã¤ã ã«æç« ï¼ãã¼ã¿ï¼ãå¤åãã¦ããã ãã®UXãå®ç¾ããããã«éçºããã·ã¹ãã ããREALTIME BLOG ENGINEãREABLOãã¨ããã¨ã³ã¸ã³ã ããREABLOãã¯Node.jsã¨Socket.IOãMongoDBã使ç¨ãã¦
Cloud9ã¯ãã¯ã©ã¦ãä¸ã§æ§ã ãªæä½ãã§ãã¾ããç¡æã§ã¨ãã£ã¿ããããã°ããã¼ã¸ã§ã³ç®¡çetcãããä½ã£ãããã¿ã³ã²ã¨ã¤ã§å ¬éã¾ã§ã§ãã¦ãã¾ãã¾ããææã«ããã°ããã¼ã éçºç°å¢ããã©ã¤ãã¼ãéçºç°å¢ãæ§ç¯ã§ãã¾ãã Cloud9 IDEã¯ãã½ã¼ã¹ã³ã¼ãã§å ¬éããã¦ãã¾ãããã£ããã§ããããã®é«æ©è½ã§ç¾ããCloud9 IDEããã¼ã«ã«ç°å¢ã«æ§ç¯ãã¦ã¿ã¾ãããã ã·ã¹ãã ç°å¢ Mac OS X Lion ã¤ã³ã¹ãã¼ã«æé gitãããã¦ã³ãã¼ããã¾ãã $ git clone git://github.com/ajaxorg/cloud9.git Cloning into cloud9... remote: Counting objects: 30583, done. remote: Compressing objects: 100% (10271/10271), done. remote
node.jsã«é¢ããåºç¤ããã¥ã¼ããªã¢ã«ã®ã¾ã¨ãã ãªã¢ã«ã¿ã¤ã ãªWEBãå®ç¾ããã«ã¯å¿ é ã®ãµã¼ããµã¤ãJSãnode.jsã«ã¤ãã¦è²ã ã¨ã¾ã¨ãã¦ã¿ã¾ããã node.js node.jsã«ã¤ã㦠node.js ãªãã¨ãªãåããã ãã©ããåãããªãã¨ããæ¹ãå¤ããããããªãã®ã§ç°¡åã«è§£èª¬ã ä¸çªæåè¦ãæã¯ä½ãã®JavaScript ã©ã¤ãã©ãªãã¨æã£ãã®ã§ãããå ¨ãéã£ã¦ãV8ã¨ããChromeã«ãã®ã£ã¦ããé«éJavaScriptã¨ã³ã¸ã³ä¸ã§åããµã¼ããåãããä»çµã¿ã ãµã¼ãèªä½ãå ·ä½çã«è¨ãã¨æ¬¡ã®ãããªã³ã¼ãã§å®ç¾ãã¾ãã var http = require('http'); http.createServer(function (request, response) { response.writeHead(200, {'Content-Type': 'text/plain
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}