Download computer tutorials in PDF

NodeJS PDF course

Learn how Node.js works, its strengths and weaknesses. Discover also Node modules.

Improvement offered on the island of Montreal. Priority given to people in employment. With the financial participation of Quebec.

What is Node.js?

Node.js is a platform built on Chrome's V8 JavaScript engine that allows you to develop applications using JavaScript. It is distinguished from other platforms by a non-blocking approach to perform input / output (I / O) asynchronously.

Notice to members of professional orders in Quebec

To the extent that they relate to your professional activities, our training activities are eligible under the Regulation respecting mandatory continuing education.

The objectives of the training

Understand how Node.js works, its strengths and weaknesses.
Discover modules of Node.
Know how to create a Node.js application by following good development practices.
Being able to choose the right npm modules.
Packager their applications into publishable modules.
Deal with the most common issues.

contents

Javascript and NodeJS

Before going into the technical details, let's take a moment to talk about you and your relationship with JavaScript. This chapter will help you determine if it is helpful to continue reading this book.

If you're like me, you started web development a few years ago by writing HTML pages. You started using this strange thing called JavaScript, but just to add a bit of interactivity here and there.

What you wanted was mostly learning to create complex web pages; you have learned languages like PHP, Ruby, Java to write server code.

Still, you've kept an eye on JavaScript and discovered, with the appearance of jQuery, Prototype, or other libraries, that JavaScript could do advanced things well beyond simple window.open ().

However, all this remained customer-side technology and although it is nice to be able to rely on jQuery to enhance its site, in the end, you were ultimately only a JavaScript user, not a JavaScript developer .

Then came Node.js: server-side JavaScript! That's promising.

So you have decided to take a look at what's new in this old JavaScript. But if writing applications with Node.js is what matters to you, understanding how to do it correctly means understanding JavaScript and therefore learning it; and this time for real!

The problem is there: JavaScript had two, maybe even three lives (the DHTML of the mid-90s to have fun, the most mature creator of client-side interfaces, helped by jQuery and others, now the language server). It is not easy to find information to learn JavaScript properly in a way that allows you to write Node.js applications that give you the feeling of developing in JavaScript and not just using it.

Because this is the key point: you are already an experienced developer and you do not want to learn a new technology by fiddling and using it badly, you want to be sure to approach it from the right angle.

There are, of course, excellent documentation here and there. But documentation alone is not always enough. What you need most is to be guided.