Nodejs is what?

Given the name, it’s easy to think of it as a development language. At heart, it’s more of a WEB server, a tool. Nodejs is designed to interpret and run javascript on the server side. Node.js is not a development language; in Node.js, the language is javascript.

Of course, the system is full of tools, including CoffeeScript, which is also a development language, but CoffeeScript will eventually be compiled into javascript. CoffeeScript is just a way to make javascript easier to write, because it’s much simpler and doesn’t require as much code, supposedly borrowing from Ruby and Phyon. I’ve never used Ruby, but judging from CoffeeScript, it’s probably true since the code is only a little over half of compiled javascript. CoffeeScript is overly simplified and hard to understand at first, but you get used to it.

Here are some tools or languages associated with NodeJS:

NPM: NodeJs package manager Express: a popular MVC framework on the server side, handling service requests, routing and forwarding, logical processing Mongoose: mongodb packaging, more convenient to use the database socket. IO: Backbone: MVC framework of the client, writing the client application coffeescript: development language for JavaScript development. Browser subset, write HTML parser, lightweight javascript client test \