Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Advanced JavaScript

You're reading from   Advanced JavaScript Speed up web development with the powerful features and benefits of JavaScript

Arrow left icon
Product type Book
Published in Jan 2019
Publisher
ISBN-13 9781789800104
Pages 330 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Zachary Shute Zachary Shute
Author Profile Icon Zachary Shute
Zachary Shute
Arrow right icon
View More author details
Toc

Node.js


Node.js (Node for short), which was developed in 2009 by Ryan Dahl, is the most popular out-of-browser JavaScript engine. Node is an open source, cross-platform JavaScript runtime environment that was based on Chrome's V8 JavaScript engine. It is used to run JavaScript code outside of the browser for non-client, side applications.

Like Google's V8 JavaScript engine in Chrome, Node.js uses a singly-threaded, event-driven, asynchronous architecture. It allows developers to use JavaScript's event-driven programming style to build web servers, services, and CLI tools. As discussed in Chapter 2, Asynchronous JavaScript, JavaScript is a non-blocking and event-driven programming language. JavaScript's asynchronous nature (a single-threaded event loop), along with Node's lightweight design, allows us to build very scalable network applications without worrying about threading.

Note

As discussed in Chapter 2, Asynchronous JavaScript, JavaScript is single-threaded. Synchronous code running on...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime