You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Get Started Install Swig npm install swig Create Your Template <h1>{{ pagename|title }}</h1> <ul> {% for author in authors %} <li{% if loop.first%} class="first"{% endif %}> {{ author }} </li> {% else %} <li>There are no authors.</li> {% endfor %} </ul> Render Your Template var template = require('swig'); var tmpl = template.compileFile('/path/to/template.html'); tmpl.render({ pagename: 'awesome p
IntroductionKoa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. By leveraging async functions, Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware within its core, and it provides an elegant suite of methods that make writing serve
node.jsã®Expressã使ã£ããµã¤ãã®response headerããX-Powered-Byããããåãé¤ãæ¹æ³ãæ¸ãã¾ããããexpressã«èå¼±æ§ããã£ãå ´åãªã©ã«ãå®ç´ã«ãExpress使ã£ã¦ã¾ããã¨ãã¨ããã¦æ»ããããªãããã®å¯¾çã§ãã expressã使ç¨ãããµã¤ãã®ã¬ã¹ãã³ã¹ãããã¯ä¾ãã°æ¬¡ã®ããã«ãªã£ã¦ãã¾ããConnection:keep-alive Content-Length:8 Content-Type:text/plain X-Powered-By:ExpressX-Powered-By:Expressã¨æ¸ããã¦ããããã®ãµã¼ãã¼ãExpressã使ç¨ãã¦ãããã¨ãå¤ãã¾ãããã®X-Powered-By:Expressã¯ãexpressã®lib/http.jsã®ä¸ã§ãã¼ãã³ã¼ãããã¦ããããããªãããã®ãªãã·ã§ã³æå®ã§æ¶ãããã®ã§ã¯ããã¾ããï¼https
ãããªçµã¿åããã使ãæ©ä¼ã«æµã¾ããã®ã§ãã£ããã ããã¡ã¢ã websocketã¨ããããã人ã¯ããããã®ãµã³ãã«ããã£ã±ãããã¨æãã®ã§ãã£ã¡ãè¦ãã»ããããã§ãã mongodb ã¯æ¢ã«ã¤ã³ã¹ãã¼ã«ããã¦ãããã¨ãåæã¨ãã¦æ¸ãã¾ãã # node.js ã®ã¤ã³ã¹ãã¼ã« $ git clone git://github.com/ry/node.git $ cd node $ ./configure $ make $ sudo make install node.js ãã¤ã³ã¹ãã¼ã«ã§ããããruby ã§ããã¨ããã® gem ã®ãã㪠npm ãã¤ã³ã¹ãã¼ã«ãã¦ä¾¿å©ãªãã®ã追å ãã¦ããã¾ãã # npm ã®ã¤ã³ã¹ãã¼ã« $ curl http://npmjs.org/install.sh | sudo sh # node.js ç¨ãã¬ã¼ã ã¯ã¼ã¯ express ã®ã¤ã³ã¹ãã¼ã« $ sud
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}