Posted on 2014-08-05
Last Modified: 2014-08-06
I want to try to use Node.js

Is this a browser language or a general scripting language

Where can I download a copy

Question by:Anthony Lucia
    LVL 30

    Accepted Solution

    NodeJS official website:

    Now, NodeJS is commonly referred as JavaScript on the Server.
    This means that the same JavaScript you run on a browser will work on the server. Everything except of course, anything that is related to DOM manipulation, mainly because in NodeJS the "container" is no longer the window object but the NodeJS process.

    A bit more in detail, Google created the V8 that is the engine responsible for executing the JavaScript in Chrome.
    This engine was revolutionary because it was the first to actually compile JavaScript instead of just interpret it.
    With compilation comes all the execution optimizations that we all (should) know and this made Chrome "magically" put to shame every other browser at the time.
    So NodeJS uses the same V8 engine but instead of being embedded in a browser it stands alone treating JavaScript like any other compilation-aware language.

    So this is a short introduction to what NodeJS is. From here I advise you to get your hands dirty :)

    Be aware that although it works seamlessly on Linux and Windows,  this is mainly a Terminal/Console world.

    Also make sure you master JavaScript. It's very simple as a language but very powerful.
    It's a Functional language at it's core so if you don't master it (but really) you'll end up making a mess and throwing the same flames a lot of people do.

    Still, it's a very pleasant road to drive... Have fun!!
    LVL 81

    Assisted Solution

    All your question are well answered here :

    Node.js® is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

    Basically it's Javascript on the server side.
    That sound stupid at the first look but once you start working with json object with a database like MongoDB which accept Javascript Object to insert, add, delete data a new world is open to you.
    LVL 82

    Expert Comment

    by:Dave Baldwin
    Note that you have to be able to install it on the server.  If you are using shared hosting, you will not be allowed to do that because it requires access to the operating system.
    LVL 30

    Expert Comment

    by:Alexandre Simões
    @Dave: unless the share hosting provider supports it of course.
    Heroku for example is not exactly the "Shared Hosting" you were speaking about but as a PaaS provider kind of matches the same concept.
    LVL 58

    Expert Comment

    I want to try to use Node.js
    Is this a browser language or a general scripting language
    If you don't know what it is then why do you want to try it? For what purpose?

    Author Closing Comment

    by:Anthony Lucia
    Purposes are educational

    Featured Post

    Course: HTML5 Mobile App Development with PhoneGap

    PhoneGap can help you leverage your already existing HTML5, JavaScript, and CSS skills in order to create and deploy cross-platform mobile apps.This program comprehensively covers HTML5 mobile app development from top to bottom.

    Join & Write a Comment

    Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit ( and similar technologies have enjoyed wide adoption, making it possib…
    The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now