Does Running Node Locally Differ From Installing Node on the Web Server?What is the Haskell response to Node.js?How to decide when to use Node.js?Where does npm install packages?Using node.js as a simple web servernpm install locallyHow do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)How the single threaded non blocking IO model works in Node.jscan't install node-sass for Ionicangular-in-memory-web-api page not found in Angular 4.2.2 CLI web-apihaving trouble running node js on server
Is it right to use the ideas of non-winning designers in a design contest?
Laptop failure due to constant fluctuation of AC frequency and voltage
Owner keeps cutting corners and poaching workers for his other company
What exactly is Apple Cider
How do we create our own symbolisms?
Supervisor wants me to support a diploma-thesis SW tool after I graduated
Infinitely many primes
Why is Western European music harmonically driven?
Why is it that I have to play this note on the piano as A sharp?
Is Sanskrit really the mother of all languages?
Why does low tire pressure decrease fuel economy?
Is every sentence we write or utter either true or false?
What is the delta-v required to get a mass in Earth orbit into the sun using a SINGLE transfer?
Compiler optimization of bitwise not operation
Why do the Brexit opposition parties not want a new election?
Features seen on the Space Shuttle's solid booster; what does "LOADED" mean exactly?
Are professors obligated to accept supervisory role? If not, how does it work?
The meaning of "offing" in "an agreement in the offing"
Is there a "right" way to interpret a novel, if not, how do we make sure our novel is interpreted correctly?
Is future tense in English really a myth?
Why are there no wireless switches?
Protecting programs on external drives with the same priviledges as in Program Files
How do English-speaking kids loudly request something?
What is the highest velocity a spacecraft has left Earth?
Does Running Node Locally Differ From Installing Node on the Web Server?
What is the Haskell response to Node.js?How to decide when to use Node.js?Where does npm install packages?Using node.js as a simple web servernpm install locallyHow do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)How the single threaded non blocking IO model works in Node.jscan't install node-sass for Ionicangular-in-memory-web-api page not found in Angular 4.2.2 CLI web-apihaving trouble running node js on server
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm wondering in principle how node.js works on a website that's running node code. I'm new to programming but I did manage to get node installed to practice with Angular and some Nodeschool stuff, however I don't think this is actually the whole story because the web server needs to have node and npm (maybe nvm) all installed in order to actually use any node code. Or am I misunderstanding how node works?
I guess I'm really looking for an understanding of the whole application of the node framework; what am I actually doing by running a practice program like the "Tour of Heros" Angular tutorial on my local machine, just testing it locally right? Because if I actually wanted it on my website I'd need to install node there and then run the framework on the server, from what I can gather...
Thanks for your time! I hope I made my confusion clear enough.
Angular tutorial by Google "Tour of Heroes"
javascript node.js server
add a comment |
I'm wondering in principle how node.js works on a website that's running node code. I'm new to programming but I did manage to get node installed to practice with Angular and some Nodeschool stuff, however I don't think this is actually the whole story because the web server needs to have node and npm (maybe nvm) all installed in order to actually use any node code. Or am I misunderstanding how node works?
I guess I'm really looking for an understanding of the whole application of the node framework; what am I actually doing by running a practice program like the "Tour of Heros" Angular tutorial on my local machine, just testing it locally right? Because if I actually wanted it on my website I'd need to install node there and then run the framework on the server, from what I can gather...
Thanks for your time! I hope I made my confusion clear enough.
Angular tutorial by Google "Tour of Heroes"
javascript node.js server
4
to answer the question in the title ... there is no difference ... to answer only question in the body ... yes, you misundertand node.js if you think you need to compile anything ... node doesn't create javascript code ... node IS javascript code - do you know any other server side languages, such as PHP? Think of node.js as being a server side language, because ... it is
– Jaromanda X
Mar 28 at 4:53
I think this question is too broad. I suggest you look up how web applications, and client-server architecture works in general, because this is a vastly bigger topic than what could be reasonably put in an answer. This will be the background to NodeJS itself - once you understand the theory, then NodeJS is not too complex to understand the idea of. It does what other normal server languages do but it has it's own pros and cons to consider.
– VLAZ
Mar 28 at 5:08
add a comment |
I'm wondering in principle how node.js works on a website that's running node code. I'm new to programming but I did manage to get node installed to practice with Angular and some Nodeschool stuff, however I don't think this is actually the whole story because the web server needs to have node and npm (maybe nvm) all installed in order to actually use any node code. Or am I misunderstanding how node works?
I guess I'm really looking for an understanding of the whole application of the node framework; what am I actually doing by running a practice program like the "Tour of Heros" Angular tutorial on my local machine, just testing it locally right? Because if I actually wanted it on my website I'd need to install node there and then run the framework on the server, from what I can gather...
Thanks for your time! I hope I made my confusion clear enough.
Angular tutorial by Google "Tour of Heroes"
javascript node.js server
I'm wondering in principle how node.js works on a website that's running node code. I'm new to programming but I did manage to get node installed to practice with Angular and some Nodeschool stuff, however I don't think this is actually the whole story because the web server needs to have node and npm (maybe nvm) all installed in order to actually use any node code. Or am I misunderstanding how node works?
I guess I'm really looking for an understanding of the whole application of the node framework; what am I actually doing by running a practice program like the "Tour of Heros" Angular tutorial on my local machine, just testing it locally right? Because if I actually wanted it on my website I'd need to install node there and then run the framework on the server, from what I can gather...
Thanks for your time! I hope I made my confusion clear enough.
Angular tutorial by Google "Tour of Heroes"
javascript node.js server
javascript node.js server
edited Mar 28 at 18:44
powsimian
asked Mar 28 at 4:51
powsimianpowsimian
194 bronze badges
194 bronze badges
4
to answer the question in the title ... there is no difference ... to answer only question in the body ... yes, you misundertand node.js if you think you need to compile anything ... node doesn't create javascript code ... node IS javascript code - do you know any other server side languages, such as PHP? Think of node.js as being a server side language, because ... it is
– Jaromanda X
Mar 28 at 4:53
I think this question is too broad. I suggest you look up how web applications, and client-server architecture works in general, because this is a vastly bigger topic than what could be reasonably put in an answer. This will be the background to NodeJS itself - once you understand the theory, then NodeJS is not too complex to understand the idea of. It does what other normal server languages do but it has it's own pros and cons to consider.
– VLAZ
Mar 28 at 5:08
add a comment |
4
to answer the question in the title ... there is no difference ... to answer only question in the body ... yes, you misundertand node.js if you think you need to compile anything ... node doesn't create javascript code ... node IS javascript code - do you know any other server side languages, such as PHP? Think of node.js as being a server side language, because ... it is
– Jaromanda X
Mar 28 at 4:53
I think this question is too broad. I suggest you look up how web applications, and client-server architecture works in general, because this is a vastly bigger topic than what could be reasonably put in an answer. This will be the background to NodeJS itself - once you understand the theory, then NodeJS is not too complex to understand the idea of. It does what other normal server languages do but it has it's own pros and cons to consider.
– VLAZ
Mar 28 at 5:08
4
4
to answer the question in the title ... there is no difference ... to answer only question in the body ... yes, you misundertand node.js if you think you need to compile anything ... node doesn't create javascript code ... node IS javascript code - do you know any other server side languages, such as PHP? Think of node.js as being a server side language, because ... it is
– Jaromanda X
Mar 28 at 4:53
to answer the question in the title ... there is no difference ... to answer only question in the body ... yes, you misundertand node.js if you think you need to compile anything ... node doesn't create javascript code ... node IS javascript code - do you know any other server side languages, such as PHP? Think of node.js as being a server side language, because ... it is
– Jaromanda X
Mar 28 at 4:53
I think this question is too broad. I suggest you look up how web applications, and client-server architecture works in general, because this is a vastly bigger topic than what could be reasonably put in an answer. This will be the background to NodeJS itself - once you understand the theory, then NodeJS is not too complex to understand the idea of. It does what other normal server languages do but it has it's own pros and cons to consider.
– VLAZ
Mar 28 at 5:08
I think this question is too broad. I suggest you look up how web applications, and client-server architecture works in general, because this is a vastly bigger topic than what could be reasonably put in an answer. This will be the background to NodeJS itself - once you understand the theory, then NodeJS is not too complex to understand the idea of. It does what other normal server languages do but it has it's own pros and cons to consider.
– VLAZ
Mar 28 at 5:08
add a comment |
1 Answer
1
active
oldest
votes
Node and JavaScript are different. Node provides a runtime environment enables JavaScript code to be executed outside browser. It provides various native libraries and event loop allowing main thread of execution to perform asynchronous operations.
Thanks, the context I've been missing while taking the beginning steps learning this framework is that the work I've done installing Node and updating the version using npm and nvm, running stuff on the command line... that's all just for the machine I'm on and if I actually use this—as in praxis, not in a tutorial—it's got to be installed on the web server machine.
– powsimian
Mar 28 at 18:41
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390387%2fdoes-running-node-locally-differ-from-installing-node-on-the-web-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Node and JavaScript are different. Node provides a runtime environment enables JavaScript code to be executed outside browser. It provides various native libraries and event loop allowing main thread of execution to perform asynchronous operations.
Thanks, the context I've been missing while taking the beginning steps learning this framework is that the work I've done installing Node and updating the version using npm and nvm, running stuff on the command line... that's all just for the machine I'm on and if I actually use this—as in praxis, not in a tutorial—it's got to be installed on the web server machine.
– powsimian
Mar 28 at 18:41
add a comment |
Node and JavaScript are different. Node provides a runtime environment enables JavaScript code to be executed outside browser. It provides various native libraries and event loop allowing main thread of execution to perform asynchronous operations.
Thanks, the context I've been missing while taking the beginning steps learning this framework is that the work I've done installing Node and updating the version using npm and nvm, running stuff on the command line... that's all just for the machine I'm on and if I actually use this—as in praxis, not in a tutorial—it's got to be installed on the web server machine.
– powsimian
Mar 28 at 18:41
add a comment |
Node and JavaScript are different. Node provides a runtime environment enables JavaScript code to be executed outside browser. It provides various native libraries and event loop allowing main thread of execution to perform asynchronous operations.
Node and JavaScript are different. Node provides a runtime environment enables JavaScript code to be executed outside browser. It provides various native libraries and event loop allowing main thread of execution to perform asynchronous operations.
answered Mar 28 at 6:33
dannyjeedannyjee
4423 silver badges7 bronze badges
4423 silver badges7 bronze badges
Thanks, the context I've been missing while taking the beginning steps learning this framework is that the work I've done installing Node and updating the version using npm and nvm, running stuff on the command line... that's all just for the machine I'm on and if I actually use this—as in praxis, not in a tutorial—it's got to be installed on the web server machine.
– powsimian
Mar 28 at 18:41
add a comment |
Thanks, the context I've been missing while taking the beginning steps learning this framework is that the work I've done installing Node and updating the version using npm and nvm, running stuff on the command line... that's all just for the machine I'm on and if I actually use this—as in praxis, not in a tutorial—it's got to be installed on the web server machine.
– powsimian
Mar 28 at 18:41
Thanks, the context I've been missing while taking the beginning steps learning this framework is that the work I've done installing Node and updating the version using npm and nvm, running stuff on the command line... that's all just for the machine I'm on and if I actually use this—as in praxis, not in a tutorial—it's got to be installed on the web server machine.
– powsimian
Mar 28 at 18:41
Thanks, the context I've been missing while taking the beginning steps learning this framework is that the work I've done installing Node and updating the version using npm and nvm, running stuff on the command line... that's all just for the machine I'm on and if I actually use this—as in praxis, not in a tutorial—it's got to be installed on the web server machine.
– powsimian
Mar 28 at 18:41
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390387%2fdoes-running-node-locally-differ-from-installing-node-on-the-web-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
4
to answer the question in the title ... there is no difference ... to answer only question in the body ... yes, you misundertand node.js if you think you need to compile anything ... node doesn't create javascript code ... node IS javascript code - do you know any other server side languages, such as PHP? Think of node.js as being a server side language, because ... it is
– Jaromanda X
Mar 28 at 4:53
I think this question is too broad. I suggest you look up how web applications, and client-server architecture works in general, because this is a vastly bigger topic than what could be reasonably put in an answer. This will be the background to NodeJS itself - once you understand the theory, then NodeJS is not too complex to understand the idea of. It does what other normal server languages do but it has it's own pros and cons to consider.
– VLAZ
Mar 28 at 5:08