Written By Robert Bunch
Course Report strives to create the most trust-worthy content about coding bootcamps. Read more about Course Report’s Editorial Policy and How We Make Money.
Course Report strives to create the most trust-worthy content about coding bootcamps. Read more about Course Report’s Editorial Policy and How We Make Money.
You may have heard developers talk about Node or Node.js when discussing full-stack JavaScript. But what is Node and should you learn it? We asked DigitalCrafts Lead Instructor, Rob Bunch, to give us an in-depth overview of Node (with beginners in mind)! Rob looks at the origins of Node and how it works with JavaScript, what Node can be useful for, the advantages and disadvantages of learning Node, and why DigitalCrafts teaches Node. At the end of the article, find out how to get started learning Node.js for free. You’ll learn:
For the last 10 to 15 years, programming languages have fought for dominance. There's C, PHP, Ruby, Python, Go, R, and so on. You could ask 10 developers what they used and get 10 different answers. The one exception to this is JavaScript. Anyone who has developed for the web has no choice but to use JavaScript because it's the only language the browser understands and JSON is the primary means of passing data around the Internet. JavaScript has become the lone ubiquitous language amidst all the back-end languages. This is the dichotomy of back-end vs. front-end; back-end had always been off limits to JavaScript because it lives in the browser, meanwhile, there are zounds of back-end languages, none of which are an option for the browser. So in the past, front-end devs had to learn one of any number of nasty server languages to make the jump, and back-end devs had to learn JavaScript (if they don’t know it already).
In September of 2008, Google launched their V8 engine for Chrome. It took JavaScript and compiled it down to machine code before running it rather than having the browser interpret it on the fly. This meant that suddenly JavaScript became 1. crazy-fast, and 2. machine code (even though it’s still running in the browser), the same as all the other backend languages.
This presented an opportunity to Ryan Dahl, the creator of Node. What if you could bridge the gap? What if you could take the language that everyone knows and make it work outside of the browser with this new V8 machine?
It's a JavaScript runtime; which means it is a way to run JavaScript outside of the browser. Now, it's not the JavaScript that front-end developers are used to because there is no longer a browser to work with. But, all the core parts of JavaScript remain: arrays, objects, loops, conditionals, asynchronous architecture, etc. This means, if you can write JavaScript in the browser, you just need to cross the bridge of letting go of the browser and you can write code for anything. Just like PHP, ASP, and so on.
It’s important to note that Node is not actually JavaScript. It’s C. It reads JavaScript (born out of Google’s V8 engine designed for the Chrome browser). Because it’s written in C, it has access to the bowels of your operating system, something that browser JavaScript by itself cannot have. It’s also not a web server. It doesn’t have config files like Apache or NGINX. It can easily function as one, but Node.js is just another way to execute code on your computer. Node is a program that you feed JavaScript. That's it. The big win here is that you don't have to learn C, or about sockets or network protocols, or reach into the dungeons of Linux to write ultra powerful things... you can use JavaScript because Node runs JS.
So you can run JavaScript outside of the browser thanks to this new tool, but when is Node actually better than a traditional back-end language? It’s not the perfect language, but it has some huge perks:
These are just a few examples, but it’s not really limited in its application, certainly not to the web. It’s a general-purpose language that can do pretty much anything any other language can do.
Node is now competing with PHP, Python, and all the other back-end languages. They can work together if organized correctly, but it’s really a matter of choice.
ASP and PHP are particularly effective web languages because the learning curve is next to nothing for a beginner.
We chose to teach JavaScript at DigitalCrafts for many of the positives listed above, plus:
I don’t think JavaScript is the best “first” language for a beginner (DigitalCrafts teaches Python for the first two weeks of its bootcamp), but I think it’s a cinch learning anything after JavaScript because all its nuances make other languages seem fairly simple. It’s very common for our graduates to get jobs in other languages, and this has held true. We make everything from an instant message client, to a voting app, to several APIs, even a full-blown e-commerce site.
Follow the free 4-part tutorial by DigitalCrafts below:
Find out more and read DigitalCrafts reviews on Course Report. Check out the DigitalCrafts website.
Robert Bunch is the Lead Full Stack Immersive Instructor at DigitalCrafts in Atlanta. Before joining DigitalCrafts Rob worked as a web developer for 11 years at companies like Turner Broadcasting, Two Rivers Marketing, and WebFilings.
Our guide to finding out if a cybersecurity bootcamp is worth it for you!
7 Tips for Updating Your UX Design Resume for AI Roles!
These are 3 AI tools you want to know before your first tech interview!
A TripleTen career coach answers what to do in the first 90 days after bootcamp graduation!
Learn how to launch a career as a technical writer!
Find out the fundamentals of cloud engineering and how to launch a career in the Cloud!
Follow our tips to help you choose between these two, in-demand tech careers!
Hack Reactor's Zubair Desai shares how bootcampers should (and shouldn't!) use GenAI...
Lighthouse Labs walks us through cybersecurity jobs across 6 different industries!
Why You Should Learn CSS If You’re Not a Software Engineer
Sign up for our newsletter and receive our free guide to paying for a bootcamp.
Just tell us who you are and what you’re searching for, we’ll handle the rest.
Match Me