Chapter 1. What is Node.js?
Node isnât always the solution, but it does solve some important problems.
Learning Node might take a little effort, but itâs going to pay off. Why? Because youâre afforded solutions to your web application problems that require only JavaScript to solve.
Node.js. Itâs the latest in a long line of âAre you cool enough to use me?â programming languages, APIs, and toolkits. In that sense, it lands squarely in the tradition of Rails, and Ajax, and Hadoop, and even to some degree iPhone programming and HTML5. Go to a big technical conference, and youâll almost certainly find a few talks on Node.js, although most will fly far over the head of the common mortal programmer.
Dig a little deeper, and youâll hear that Node.js (or, as itâs more briefly called by many, simply âNodeâ) is a server-side solution for JavaScript, and in particular, for receiving and responding to HTTP requests. If that doesnât completely boggle your mind, by the time the conversation heats up with discussion of ports, sockets, and threads, youâll tend to glaze over. Is this really JavaScript? In fact, why in the world would anyone want to run JavaScript outside of a browser, let alone ...
Get What Is Node? now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.