[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

Node.js

I want to try to use Node.js

Is this a browser language or a general scripting language

Where can I download a copy

Thanks
0
Anthony Lucia
Asked:
Anthony Lucia
2 Solutions
 
Alexandre SimõesManager / Technology SpecialistCommented:
NodeJS official website: http://nodejs.org/

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!!
0
 
leakim971PluritechnicianCommented:
All your question are well answered here : http://nodejs.org/

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.
0
 
Dave BaldwinFixer of ProblemsCommented:
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.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Alexandre SimõesManager / Technology SpecialistCommented:
@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.
0
 
GaryCommented:
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?
0
 
Anthony LuciaAuthor Commented:
Purposes are educational
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now