Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  15] [ 6]  / answers: 1 / hits: 35018  / 9 Years ago, tue, december 29, 2015, 12:00:00

Is it not a Javascript engine hosted by the browser on the client machine itself?


More From » node.js

 Answers
6

No, it isn't.



Server generally has two meanings:




  1. A piece of software that listens for network requests and then responds to them

  2. A computer running such a piece of software



A Node.JS server can be either of those.



In web programming, a Node.JS server takes the place of Perl, Python, Ruby, PHP, Scala, etc. (And like those other languages, Node.JS lets you use JavaScript for non-server and non-web purposes).



Generally the server itself is run directly from Node (e.g. with this library) rather than being embedded in another server like Apache (as is most common for PHP).



A browser doesn't need to be involved at all. If one is, then it will probably be one acting as a client and making a request to the server. That said, tools like PhantomJS can allow a browser to be driven from Node (and other programming languages).


[#63909] Saturday, December 26, 2015, 9 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
paola

Total Points: 675
Total Questions: 115
Total Answers: 95

Location: Laos
Member since Tue, Jul 7, 2020
4 Years ago
;