This documWeb Hostingent explains the very basics on how to create a website with node JS. This tutorial will show you how to set a node project with Netbeans and will explain the basics of creating a web server with node.js Please feel free to leave any comment to improve this tutorial.

You can copy, redistribute, share, modify this content – even for commercial purposes – as long as the name of the author is respected. Thank you for your understanding.

Node – My First steps

What is node?

Node is a platform: is a JavaScript runtime machine. The platform -Node – allows you to run stand alone JavaScript applications outside a web browser. This gives you the possibility to run JavaScript on server side.

Node is:

Event-driven: the flow of the program is determined by events such as user actions (mouse clicks, key presses), sensor outputs, or messages from other programs/threads.

Non-blocking I/O model: an operation does not need to be completed in order for node to execute another other operation. Therefore node can run code asynchronously.

Blocking refers to operations that block further execution until that operation finishes. Non-blocking refers to code that doesn’t block execution even if an operation is not done yet.

Synchronous execution usually refers to code executing in sequence. Asynchronous execution refers to execution that doesn’t run in the sequence it appears in the code.

Continue reading about node js

Web Hosting