æ°è¦äºæ¥ã®ã·ã¹ãã ã§ãnode.jsã使ããã¨ã«ãªã£ãã®ã§ (ã¾ããæè¡å ¨è¬ã¯ã¾ãããã¦ãã®ã§ãåæã«node.js使ããããçãªã®ãã§ä½¿ã£ã¦ããã ãã©ã) node.js + express ã¨ãã§ããã£ã¦ãããã調æ»ãã¦ãµã¤ãä½ã£ã¦ã¿ã¦ããã node.jsã®FWã§ã¯expressãã¡ã¸ã£ã¼ãããªã®ã§ã¨ããããexpressã使ã£ã¦ã¿ãäºã«ã expressã§ã¯ãã³ãã¬ã¼ãã¨ã³ã¸ã³ããããã種é¡ãããããã®ã ãã© Jadeãããã©ã«ãã§ã¯(expressã³ãã³ãã§ä½ãæå®ããªãã¨Jadeã«ãªã)使ããã¦ãã¾ããããHTMLã®å½¢ã«è¿ãejsã使ã£ã¦ã¿ãäºã«ã ãã®éã«ãejsã®partialã使ãæ¹æ³ããã¾ãWEBã«æ å ±ãä¹ã£ã¦ããªãã£ãã®ã§ã¡ã¢ãã¦ããã æé ubuntu10.4ä¸ã§è©¦ããã node.js, express ã®ã¤ã³ã¹ã³ã¯ãã®ããããåèã«ããã $ mkdir sa
2012.3.13è¿½è¨ ç¾å¨ã®ææ°çã§åä½ããããã¨ã³ããªãä¿®æ£ãã¾ããã 2011.5.25è¿½è¨ ç¾å¨ã®ææ°çã§åä½ããããã¨ã³ããªãä¿®æ£ãã¾ããã ã¯ããã« ãã®ã¨ã³ããªã§ã¯ãnode.jsåããã¬ã¼ã ã¯ã¼ã¯ã§ããexpressã使ã£ã¦ã¢ããªã±ã¼ã·ã§ã³ã®ã²ãªå½¢ãä½æããæé ã«ã¤ãã¦æ¸ãã¦ãã¾ãã Express - node web framework OSã¨ã½ããã¦ã§ã¢ã®ãã¼ã¸ã§ã³ Mac OS X Lion 10.7.3 node.js v0.6.12 npm 1.1.6 express 2.5.8 expressã®ã¤ã³ã¹ãã¼ã« expressãã¤ã³ã¹ãã¼ã«ããåã«ãnpmãã¤ã³ã¹ãã¼ã«ãã¾ãã curl http://npmjs.org/install.sh | sudo shnpmãã¤ã³ã¹ãã¼ã«ãããã¨ã§ãnpmã³ãã³ãã§expressãã¬ã¼ã ã¯ã¼ã¯ãã¤ã³ã¹ãã¼ã«ãã¾ãããã®ã¨
ããããNode.jsãããã£ã¦ã¿ãã ã¤ã³ã¹ãã¼ã«å¤§å¤ãããªã¤ã¡ã¼ã¸ãåæã«æã£ã¦ãããã©ãå ¨ç¶ãããªãã¨ã¯ãªã $ wget http://nodejs.org/dist/node-v0.2.5.tar.gz $ tar zxvf node-v0.2.5.tar.gz $ cd node-v0.2.5 $ ./configure --prefix=$HOME/local $ make $ make installã§æ®éã«è¡ãããmake testã§ãªããã¨ã©ã¼åºã¦ãæ°ããããã©ããã·ã㤠ãã¨ã¯npmãæ¸ãã¦ããéã npm $ curl http://npmjs.org/install.sh | shã§ãkã 試ãã«å¹¾ã¤ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã Express - Node.js web application framework EJS - JavaScript Templates
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}