Node.js is a free, open source server framework that can run on various platforms (Windows, Linux, Unix, Mac OS X, etc.), and allows you to run JavaScript on the server. It uses asynchronous programming.
- In this course I add tutorials with the things I learn about Node JS from various resources I find on the internet.
What Can Node.js Do?
- Node.js can generate dynamic page content.
- It can create, open, read, write, delete, and close files on the server.
- Node.js can collect form data.
- It can add, delete, modify data in a database.
References:
-
Node.js Full Documentation
-
Pure JavaScript Client implementing the MySql protocol
-
Node.js w3schools Tutorial
Daily Test with Code Example
HTML
CSS
JavaScript
PHP-MySQL
Which tag is used in <table> to create table header cell?
<thead> <th> <td><table><tr>
<th>Title 1</th>
<th>Title 2</th>
</tr></table>
Which CSS property sets the distance between lines?
line-height word-spacing margin.some_class {
line-height: 150%;
}
Which function opens a new browser window.
alert() confirm() open()document.getElementById("id_button").onclick = function(){
window.open("http://coursesweb.net/");
}
Indicate the PHP function that returns an array with names of the files and folders inside a directory.
mkdir() scandir() readdir()$ar_dir = scandir("dir_name");
var_export($ar_dir);