Machines | Should you Learn Node js in 2017
videos | at work | information | view | construction
Node.js has a lot of buzz ... but should you learn Node.js in 2017?
Comments
-
what are the unique advantages of node js over the rest?
-
have you used python and Node ? would be great to know from a programming point of how does it feel to write code in two different languages - node vs python. Since node is JS primarily is it easy to structure your thoughts while coding in node, ' cause you don't have to think about syntax and Business logic at the same time ? I have heard eclectic views on this topic so people actually preferring two languages as they feel they it keep them thinking server side and client side
-
Isn't PHP 7 high performance enough?
-
I would say if you want to any kind of modern web development learning node.js is essential. If you want to do React, the only sane way to do it is using a bundler (webpack), which pulls in lots more dependencies such as babel and of course node. If you want to stay in the dark ages of web development, don't learn node.js. It's that simple
-
Good advice! Node is awesome, but unless you need a blazingly fast server-side for some type of Twitter application, there are more mature frameworks like Django, Rails, Laravel, which give you a lot more out-of-the-box functionality. But I must say, the future of Node looks promising, software is becoming more and more CPU demanding, and Node fits right into that paradigm.
-
The only negative of node at this point that I have heard is less support than others: everything else is a positive. If you are planning on learning something new, then I would say do so with node and as you become a pro at it, there will be a lot more support and structure.
He uses the processing power example... There is a reason why processing power increases every year. Industry standard needs of clients increases every year. The performance we need now may be drastically different next year or the year after. Why invest your time learning into a server that seems has less "performance". It is just another tool in your developer belt. Never stop learning people. -
Hey man, great video, but a I'd like to clarify a few things for those who may not choose to learn node on a few of the points.
Regardless of whether you want to write your entire back end on node, chances are you will encounter it at some point for acquiring front end libraries (npm/bower) or leveraging tools like gulp/grunt for build automation, so whether you want to completely invest in it, it's good to at least know a little bit about it since most modern web development depends on it.
Also, performance is good for asynchronous requests, however, not so great for CPU intensive tasks since javascript is single threaded. While you could use multiple processes, you would come out much further ahead by choosing a multithreaded language to handle long running processes and CPU intensive tasks. Node is very performant when discussing sheer volume of requests since the event driven architecture does not block new requests and does not spin up new threads on your web server, however, if any thread blocks due to CPU intensive tasks, it will block new requests. Also, new benchmarks for C# on the Kestrel web server are much higher and other frameworks are closing the gap, as well..
Also, through tools like Electron and Ionic, node can be utilized for far more than just high performance web apps. Electron allows you to write cross platform desktop applications. Slack, Visual Studio Code, Atom editor (and many more) use this. Ionic is a framework built on node and angular that allows web developers to develop mobile applications without having to learn an entirely new skill set (i.e. Java, Objective-C, Swift, etc)
Also, if you want to do real-time applications, then node has very good support for websockets (as do other frameworks) and is a great choice.
While I don't agree that it is the "go to" platform for new developers looking to find work, it definitely has more to offer than just quick request i/o. -
In passing, you mentioned that Node is more performant than Java. In almost all circumstances, that isn't true, Java will be considerably faster. I realise, of course, you were mainly comparing Node to php, ruby and python.
-
I already know Laravel(php)......should i go for node.js ? or advance to functional programming language.
-
Stefan I appreciate your videos a lot. I just started watching them, and you have a new subscriber. I'm currently a student at a technical college for Web & Software Development. I have not yet reached the advanced classes yet, but they seemed heavily focused on enterprise work centered around the .NET framework using and ASP.NET and SQL server, and their is also a class centered around PHP. These classes are a ways off still, but currently I do online classes oriented around full-stuck development that uses Node.JS with mongoDB. I would also be interested in learning Python's framework, but do you think I'm setting unrealistic goals for myself? I'm a very determined and dedicated person when it comes to programming, I've already had a decent amount of experience with HTML5, CSS, JavaScript, C#, Visual Basic, Java, and Python. I would also like to start learning how to host and maintain my own servers by mastering a linux distro like CentOS. I would really appreciate your opinion on my goals because you sound like a very experienced individual.
-
Another great video! Thank you.
-
Thank you for the insight, Stef!
-
Hi Stef, I am following a couple of channels like yours and I wonder why C# with ASP.Net and MVC never gets mentioned when it comes to backend programming. Why doesn't it compete with JavaScript, Pyhton, Ruby or PHP? Is it overkill for smaller sites?
I am a beginner and I just can't help thinking that C# might be the perfect choice. Next to ASP.net you can develop mobile apps (Xamarin) or VR/AR (Unity3D) with C#. And there are much more ASP.net jobs than for Django or Rails in my region. But still confused why it is ignored so often... -
I think learning Node is important for the PHP freelancer because Node has inherent async principles. Learning these principles in Node can make it much clearer how to improve PHP apps with more recent advances in the language. In addition, Async/Await Python in 3.5+ is seriously going to improve speeds for Python sites/apps. But I like that Node and even PHP now are deeply async. It's still too hard to think Python asynchronously. But at least they're finally at the party. Anyhow, learning Node can help learn async principles given that there's so much documentation on how to write asynchronously in Node that can be applied to learning such principles in other languages.
-
I served the same website with both Node.js and PHP on web faction and I noticed a difference in the time it took to serve the page. Node was noticeable faster. By a small margin, but I could still tell the difference.
-
Node is definitely popular here in Europe and I will continue learn it as much as I can.
-
I know HTML, CSS, little JQuery, was going to start learning Node but now I'm not sure. Should I go React? Or maybe Python? Or Ruby?
-
Love all ur uploads Stefan! Cant wait to see more.
-
It's your dark clothing plus the dim lighting plus your facial hair — you look like a tough guy! I'm more apt to think you're here to collect the "protection" money than to school me on Node. Stay bold.