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
Click on the HTML tag which creates an horizontal line in web page.
<br /> <em> <hr />Some content ...
<hr />
Content under line ...
Which CSS property defines the text color?
font-style font-variant colorh2 {
color: #cbdafb;
}
Click on the function which searches if a character, or text exists in a string.
indexOf() toString() split()var str = "Web courses - http://CoursesWeb.net/";
if(str.indexOf("http://") == -1) alert("http:// isn`t in string");
else alert("http:// is in string");
Which function splits a string into an array of strings based on a separator?
array_merge() explode() implode()$str = "apple,banana,melon,pear";
$arr = explode(",", $str);
var_export($arr); // array (0=>"apple", 1=>"banana", 2=>"melon", 3=>"pear")