convertball avatar

NodeJs for Dummies

convertball

Published: 30 Oct 2017 › Updated: 30 Oct 2017NodeJs for Dummies

NodeJs for Dummies

nodejs.png
NodeJs is a server side technology to create websites and web services using JavaScript and TypeScript programming languages

TypeScript is basically more advanced JavaScript

the 2 breakthrough concepts of NodeJs are :

  1. its JavaScript
    till nodejs arrived, js was only client programming language that run on browser and not on the server

  2. its pure Asynchronous
    this is the main big thing that nodejs bring

Synchronous - i do something and if it not finished then i keep waiting
Asynchronous - i do something and then i move do the next thing and when i get the result from the first then i handling him

Example of Asynchronous - i make Query to database, and i dont need to wait for the result, i move to do something else and when the result of the query is back i handle it

the benifit of Asynchronous in web servers
is that the server has the ability to receive and handle more requests then
synchronous server, a lot more

Leave NodeJs for Dummies to:

Written by

Read more #nodejs posts


Best Posts From convertball

We have not curated any of convertball's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From convertball