Monday, 12 June 2017

29.05.2017

Monday.



⟹Nodejs

➡Node.js is an open source server framework.

➡Node.js allows you to run JavaScript on the server.

➡Node.js runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)


⟹Here is how Node.js handles a file request

 ➡Sends the task to the computer's file system.

 ➡Ready to handle the next request.

 ➡When the file system has opened and read the file, the server returns the   content  to the client.

 

 

Node.js eliminates the waiting, and simply continues with the next request.
Node.js runs single-threaded, non-blocking, asynchronously programming, which is very memory efficient.



⟹what can nodejs do?

 ➡Node.js can generate dynamic page content

 ➡Node.js can create, open, read, write, delete, and close files on the server

 ➡Node.js can collect form data

 ➡Node.js can add, delete, modify data in your database




⟹What is a Node.js File?

 ➡Node.js files contain tasks that will be executed on certain events

 ➡A typical event is someone trying to access a port on the server

 ➡Node.js files must be initiated on the server before having any effect
 Node.js files have extension ".js"

 

No comments:

Post a Comment

Machine Learning Annotation Introduction

Data annotation in Machine Learning is the process of annotating/ labeling data to categorize the dataset to identify by ML models. It can b...