Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Node.js for writing webservers?

 
Akhilesh Trivedi
Ranch Hand
Posts: 1599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was following this Node.js entry in wikipedia :

http://en.wikipedia.org/wiki/Node.js


designed for writing... web servers. Programs are written in JavaScript.


Is it possible to write a webserver using javascript???
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A web server is a process that accepts HTTP requests and sends HTTP responses. The language it's written in is irrelevant to fulfilling this function.
 
Akhilesh Trivedi
Ranch Hand
Posts: 1599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you get an exe out of of javascript?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you need an exe for? Something that can interpret (or compile) JavaScript would do nicely. Note that Node.js isn't written entirely in JavaScript - it just allows you to run server-side code written in JavaScript.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic