LoginSignup
11
11

More than 5 years have passed since last update.

Node.jsについて

Last updated at Posted at 2014-10-21

■ 概要

 いまアツいJavaScript。

 サーバーサイドで動作するJavaScript。

 Nodejsの特徴.png

※引用元:ITpro
http://itpro.nikkeibp.co.jp/article/COLUMN/20120725/411441/?SS=imgview&FD=55062768&ST=system

 "軽量で効率よく"を実現するための2つのモデル。

 ・ノンブロッキングI/O

  データの送受信(I/O)が完了を待たず(ブロックせず)に、
  次の処理をうけつけ、それぞれを並列に実行できる。

 ・イベントループ
 
  1つしかないスレッドで大量アクセスに耐える。

■ オフィシャルサイト

 http://nodejs.org/

■ インストールから「helloworld」まで(Windows)

 ①オフィシャルサイトからインストール
 (自動的にOSに対応してくれる)

 ②任意のディレクトリに「helloworld.js」を用意する。

     helloworldjs.png

     中身.png

 ③コマンドプロンプトを開いて実行

        コマンドプロンプト.png

11
11
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
11