Node.js

How to use JavaScript on your local computer and have a universal function library.

Use JavaScript at the command prompt
JavaScript can become a scripting language on the local computer.

Node.js, first steps
A description of the features of this JavaScript framework and why it is important to developers.

How to create a page or application server using Node.js
How to create a base server.

System for creating applications online or offline
Node.js is the basis of a 5-component environment for building web applications or local applications .

First steps with WebSocket and Node.js
Creating an interaction between a server and an HTML page, online or locally, is very easy with socket.io .

readLine function for Node.js
The file system module has a space: Cannot read text file by lines. Here is a simple function to complete this module.

Include JavaScript file in another file with Node.js
Three methods are considered for enabling a JS file, two of which are with functions provided by Node.js .

PHP и Node.js

Local execution of a PHP program from a browser
Node.js is a link between the browser and the file system. Thus, an HTML page can trigger the execution of a local script.

HTML 5 as local script interface with Node.js
Transfer data to a local script (PHP or other) after entering it into an HTML form. This data becomes script parameters, and the result is sent to the browser as a web page.

PHP script used locally with HTML interface 5 via WebSocket
In addition, this demonstration allows a local script, after receiving data from the HTML interface, to send the results to the same interface, which can then process and display them.

From PHP to server-side JavaScript

Why switch from PHP to JavaScript on the server?
What else does JavaScript offer?

The second part: CMS in JavaScript on the server.