170 reputation
7
bio website
location
age
visits member for 3 years, 9 months
seen Jul 10 at 14:31

Jul
20
awarded  Popular Question
Jul
10
awarded  Scholar
Jul
10
accepted confusion on using nodejs within an actual web application or ide
Jul
10
awarded  Commentator
Jul
10
comment confusion on using nodejs within an actual web application or ide
I've done some more research and discovered this: github.com/petkaantonov/bluebird - this is the first time I've seen a library that had different instructions for node.js and browsers. This actually answers a lot of things, and I honestly feel the node.js documentation is unclear about this. If it had come out and said it more clearly, I would have probably grasped it sooner. Though I may have just missed that part of the docs.
Jul
10
comment confusion on using nodejs within an actual web application or ide
Your claim is reinforced by something I discovered today. github.com/petkaantonov/bluebird - if you look at this repository, it has different install instructions for node, and for browsers. This suggest to me that you are correct, it is an entirely different process. What I am taking from that is that node.js is more like a compiler than an actual runtime for some things. It looks like you would use node to get the library, and all of the files associated with it, to create something you could use elsewhere.
Jul
7
awarded  Teacher
Jul
7
comment Is reading+modifying existing code better than making your own?
Using other people's code where allowed is also helpful in learning the patterns in the industry. You'll frequently come across things that you don't like, or like a great deal. Using existing code is one way of learning how to identify these, and also giving you a ground to step on to start digging backwards through them. I am a firm believer that the role of a programmer is to solve problems, not just write code.
Jul
7
comment confusion on using nodejs within an actual web application or ide
To quote myself 12 years ago, "I didn't learn JavaScript because it's not really needed.", I'm not going to make that mistake again.
Jul
7
answered Is reading+modifying existing code better than making your own?
Jul
7
comment confusion on using nodejs within an actual web application or ide
I don't necessarily think you are wrong, as you are accurate in saying it is an un-needed stress that just adds to my work load. However I continuously keep running into JavaScript libraries I want to use, and many of them seem to require node.js. While I inevitably may not need, or even use it - I think that there is merit in at least understanding it so I can be prepared for more things.
Jun
29
comment confusion on using nodejs within an actual web application or ide
That's really the crux of the problem, this is not the only library like this, just the one I chose for the example. There is some mysterious, assumed 'step' between there that I cannot seem to find an answer to.
Jun
29
comment confusion on using nodejs within an actual web application or ide
Hey @Oded, I have updated again to try and be more specific about what is causing me trouble. I understand a bit of what you're saying, but I'm still having a tough time getting over the way to implement this.
Jun
29
revised confusion on using nodejs within an actual web application or ide
Attempting to explain the problem more.
Jun
28
awarded  Editor
Jun
28
comment confusion on using nodejs within an actual web application or ide
Hey @Oded, I updated my question with a more verbose example. The fact that you're not shooting me down outright means I'm at least asking a question to the right audience, I feel. Believe it or not, your small little text answered more than all three of those books I read already.
Jun
28
revised confusion on using nodejs within an actual web application or ide
added 1587 characters in body
Jun
28
comment confusion on using nodejs within an actual web application or ide
So essentially, it's no different than running csc [filename].cs and pulling a file through the C# compiler? It's simply intended to be compiled and then the output hosted in any other manner?
Jun
28
asked confusion on using nodejs within an actual web application or ide
Mar
22
awarded  Student