Hi everyone, I'm a beginner in JavaScript.
I've just finished learning HTML and CSS.
I see some people talking about JavaScript, while others mention Node.js.
I've also heard of Next.js, Ruby, React.js, and more.
I don't really understand the differences between them.
Is it true that if I have a good grip on JavaScript, the rest will be easier to pick up since they only have minor differences?
I welcome all kinds of answers and advice in my JavaScript learning journey.
Thanks in advance!
So I am quite confused about this. I have seen a lot of people recommending to learn Javascript and then Node.js. I was not sure what Node.js is and after some research I have learned that it is a Runtime Environment to run Javascript outside of the browser.
So why do people say to "learn" node.js? Aren't you automatically able to "use" it once you can code Javascript?
As far as I can see the only difference is where you run your code...
Seems very confusing.
Videos
As I understand it, you can write javascript in a text editor like sublime or atom but to use node you need to actually download it from the internet. What are you downloading and what is it allowing you to do that you can not do with vanilla js?
Javascript is an abstract concept, not something that can do anything on its own (like any other language).
To run JavaScript you need some place to run it. If you are programming something for a website with javascript, the javascript-code will be the delivered to the users browser and the browser will run it.
Node.js is basically a place where you can run your javascript code, that (I assume) has some extra features like APIs to interact with the system etc...
JavaScript is an interpreted language. That means a program (an interpreter) is started and then you feed it some JavaScript code which it executes.
node.js is a JavaScript interpreter that runs as a normal command line program. i.e. you write node somescript.js and it will be executed there.
The other common use of JavaScript is by browsers. Chrome, Safari, Firefox etc all have their own implementations of JavaScript interpreters that run JavaScript code. Chrome uses the V8 interpreter, Safari uses JavaScriptCore, Edge uses Chakra.
So we are really looking at a bunch of JS interpreters: node, Chakra, V8 etc. node runs as an independent program and V8 Chakra etc are (most commonly) embedded in web browsers.
Want to go all in with either flask (Python) or Express (NodeJS), I have got the basics and made a simple projects with both. Need to know which one you guys prefer
I have seen many development teams preferred choice is Java with React.Js for building e-commerce, SAAS web apps. Wanted to understand if there's any advantage of Java over Node.JS in terms of development process
Hey everyone,
I could really use some advice. I've been working as a frontend developer for almost 2 years now, mainly with React, React Native, and Redux. I want to level up and become a fullstack developer, so I'm diving into backend development.
Initially, I thought of learning Node.js since it uses JavaScript, which I’m already comfortable with. But one of my seniors suggested I should consider Java because it’s more powerful and could lead to better job opportunities.
Here's where I’m stuck:
-
Familiarity: I know JavaScript pretty well, so picking up Node.js might be easier and faster for me.
-
Learning Curve: I’m a bit of a slow learner, and Java would be completely new territory, meaning I’d have to start from scratch.
-
Career Prospects: While Node.js seems like the easier path, Java supposedly offers more robust capabilities and better job prospects.
For those of you who have experience with both or have made the transition from frontend to fullstack, what would you advise? Should I go with Node.js for a smoother learning experience, or should I tackle Java for potentially better career opportunities?
Thanks a ton for your help!
So I am having a hard time actually understanding the importance of nodeJS and how it actually works.
From my research here’s what I have found and understood.
Basically, when you type in a website name, The server sends the HTML, CSS, and JavaScript code to your browser. To understand the example better let’s just say the browser is Google Chrome. Google Chrome uses V8 as the runtime environment. V8 essentially converts the code into machine code so that the machine aka my laptop in this case can interpret it and display it. This is what we called client-side.
nodeJS is server-side essentially. Meaning, when I want to access things on the back end. I send the code to the server. It converts code into machine code which it interprets and sends back machine code again, which nodeJS converts to JavaScript?
The reason it’s important it because nodeJS uses V8’s efficient methods of turning JavaScript to machine code and machine code to JavaScript, but without having a browser do it.
However, my confusion is, would this mean, actually servers would have to have nodeJS installed on the server to receive Javascript, turn it into machine code which the server can interpret and send back machine code to my laptop, which nodeJS will change to JS. Isn’t this how Java or PHP works. They have an interpreter on the server to change it from Java/PHP to machine code?
Can someone provide a step example, like I did above for client and server side using nodeJS so I can understand this correctly please. I am confusing myself.
Should i choose nodejs?
I recently started learning MERN. I can create crud websites. As a newbie i am confused with choosing a backend. Heard most companies prefer dotnet or Java springboot . These are my concerns:
Is this a fact or a rumour?
Why is nodejs that not much popular popular?
Will the scenario ever change in future?
Give me facts and figures to support your claim
Incase you support nodejs, provide some good resources.📚
I have never met a java developer unless he/she talks badly about node and javascript in general, they see that javascript should only be inside browser , why they don't face the truth that javascript with the amazing Typescript..we can now build amazing web frontend and fabulous backend(nodejs) and even fantastic mobile apps(react native)? Javascript is moving so fast !
Hi, so I was wondering why a lot of people use node as a backend runtime?
I've started with PHP , and I've seen that php is declining in popularity and some say it's harder to scale your web app using php or it's unsafe language to write in.
Then I searched for PHP alternatives I stumbled on a JavaScript run time called "NodeJS", at first I've liked how's it's non-blocking and it's JavaScript but on the server, but after playing around a bit with it, I didn't understand why people use it for production, I'm not a fan of downloading other people code and run it or every time i need to learn a small syntax to use a package, and it's very hard for people who don't want to use frameworks or npm packages to learn the NodeJS core because of the horrible documentation, you can't search for a function, some of node functions isn't clear what they do and what arguments they take and the type of data a function or a method takes.
I just don't get why node is so popular, is it because people don't want to learn other backend languages, or the quick plug and play concept of npm packages?
Hey everyone!
I wonder, when coding with node.js are you prefer JavaScript or Typescript?
And which one your job/company's choice?
Hey guys, I apologize if this is a simple question, I am just pretty uneducated regarding all this. I am trying to teach myself how to code and am using a coding book as well as the Odin Project. The Odin project suggests I download VScode which is a code editor while my book suggests I download node.js to try out Javascript code. Are they both not the same thing? I am mainly just looking for something to test my code on, but it seems like these two are different things and I'm a bit confused in regards to what each focuses on. Any explanation would be appreciated, thank you.
To give some context, I am a beginner to programming and keen on learning web development. Since the time I began to search for tutorials and languages to learn, I was bombarded with all these different languages. I know a fair bit of C, HTML, CSS, and javascript. During the same time I also came across people advising me to learn Python for web dev. All this has left me in a mind block and everytime i try to understand them Im left more confused. Which amongst 'React, React native, Node.js, vanilla.js, angular.js, javascript, python' should i learn and whats the basic difference ? This confusion has been a bit of a demotivator and I'm not able to focus on anything. Any help is appreciated. Thanks :)
I know basics of both, Node.js and Java. I want to learn in depth to start career in it.
I'm more interested in Node.js but I feel that I need to learn Java for the jobs. I had a quick look on a popular job search engine. Typing "Java" will fetch a thousands of job results while typing "Node.js" or "Node" will fetch very few compared to it.
Is it true that Java developers are a lot more in demand compared to the Node.js?
In demand by different folks. The biggest tech companies and the biggest non-tech companies probably use a lot more Java than Node.js, and Java will probably still be around when Node's gone. A gajillion big, boring, corporate enterprise apps run on Java. Also all of the Android apps.
Node's popular, though. You can absolutely get a job in it, and even if it ever stopped being popular, it's JavaScript plus some other stuff, and the JavaScript part will probably be employable all by itself for way longer than anyone would like.
Anyway, either's fine. If you become a real expert at either, you'll be able to pick up the other.
Where? There isn't a single location or company that hires all the programmers in the world and demand varies hugely between cities, countries and continents.
Im trying to gain a deeper understanding of how JavasScript interacts with Node.js, Next.js, and React. What does Node.js, being a runtime for JavaScript, do on a lower level? What does Next.js do? How are they incorporated when using React?