Articles by: Pavel Bragin

9. Node.js Lessons. Events, EventEmitter and Memory Leaks

13.09.2016

The next object we are interested in is EventEmitter, or, as it is sometimes called, EE. EventEmitter is a basic object that executes work with events in Node.js. A...

Category: Programming

8. Node.js Lessons. Inheritance from Errors, Error

12.09.2016

Inheritance of a built object from Error is quite different in Node.js. Here is an example that will help me to explain you first why we may need this thing, and then...

Category: Programming

7. Node.js. Lessons. Console Module.

12.09.2016

Now let us talk on another built-in module named console. As far as we know, it uses util.format and util.inspect for activation. Console, unlike util, is a global...

Category: Programming

6. Node.js. Lessons. Util and Inheritance

9.09.2016

Hey all! Our upcoming articles will be devoted to the most frequently used Node.js modules. The first method that we will study is the util inspect of a module built...

Category: Programming

5. Node.js. Lessons. Global modules.

8.09.2016

The next NPM opportunity that we will study with you is global modules. Every module can be globally installed using a –g flag: npm –g i express. As you can...

Category: Programming

4. Node.js. Lessons. NPM Package Structure

7.09.2016

Let us continue our conversation about NPM. To look at a real package.json install an express module. Enter in the console: npm i express@3.0 We will use this...

Category: Programming

3. Node.js Lessons. Package Manager for Node.js

7.09.2016

This article is devoted to NPM – a package manager for Node.JS. NPM goes with a standard Node installation. If you’ve already installed Node, it means that NPM is...

Category: Programming

2. Node.js Lessons. Modules Part 2

6.09.2016

Let us start our lesson with understanding what a module object is. It contains a great variety of important properties, which will be needed in more complex and...

Category: Programming

React Lessons. Lesson 3

6.09.2016

Now for your coding to be supportable we need to specify what types of props our component can...

Category: Programming

1. Node.js Lessons. Modules.

5.09.2016

Let us create your first project with Node.js. Our primary aim will be to get familiar with modules – the way offered by Node to organize your...

Category: Programming