Reputation: 13487
According to codeschool.com node.js is a web server, not a web framework. If this is true- does it mean we can run Rails on it? Rails is a web framework, Node is a web server. Seems to make sense that we could run Rails on Node.
Upvotes: 2
Views: 368
Reputation: 13487
If CodeSchool stated that node is a web server then they would be very wrong. Node is nothing but a JavaScript interpreter built on the V8 engine. Node has the capacity to use libraries and frameworks to be used as a web server; although Node itself is NOT a web server.
Rails cannot be run on Node because Rails is a Ruby framework and Node is meant specifically for JavaScript.
Upvotes: 3