Muhammad Harits Syaifulloh

Wednesday, December 21, 2016

NodeJS #1 - Introduction To Node JS

Hi guys welcome back to Ask MHS and this time is for the first lesson of Node JS tutorial series. In this Node JS tutorial I'll introduce to what exactly Node is all about, why we'd use it and the technologies you'll need to be familiar with to get started. In a nutshell, Node JS lets us run JavaScript on a computer / server, so with it we can create dynamic web applications in JavaScript from start to finish, without the need to learn another language.

What's Node JS?

Node JS is a javascript runtime built on Chrome's v8 javascript engine. Node JS uses an event-driven, non-blocking model that makes it lightweight and efficient. And Node JS uses a package manager that's called npm or node package manager that's the largest open-source javascript package manager in the world.

So, to break it down Node JS actually is a platform which allows us to run javascript on a computer or server and it immensely cool because if we want to create a full web application ourselves, we no longer have to learn additional programming language to run on the server like PHP or Ruby. We can just do it all in javascript via Node JS.

So that means Node JS gives us ability to read, delete object files and also easily communicate with the database plus all the other things you would expect of a server side language, and we're going to take a look at those in this tutorial.

Why Node JS So Popular?

  • It uses javascript
  • Very fast (runs on the Chrome's V8 Javascript Engine and uses non-blocking code)
  • Huge ecosystem of open source package (npm)
  • Great for real-time service (like chats)

What You Need To Know?

  • Javascript
  • HTML (optional)
  • A tiny bit about the command line

Actually we are going to start with the basics - no prior Node.js knowledge is needed. The goal of this series is to get you started with Node.js and make sure you understand how to write an application using it, so don't hesitate to ask us if anything is unclear!

So, that all about introduction to Node JS and I hope that you're all enjoy this tutorial. See you next time in the next tutorial and don't forget to share this tutorial if you like this tutorial. Thank you very much for visit and bye.

1 comment: