JavaScript

How To Use Classes in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Classes in TypeScript

Classes are a common abstraction used in object-oriented programming (OOP) languages to describe data structures known as objects. TypeScript has full support for class syntax and also adds features on top of it, like member visibility, abstract classes, generic classes, arrow function methods, and a few others. This tutorial will go through the syntax used to create classes, the different features available, and how classes are treated in TypeScript during the compile-time type-check.

Read more
Понимание понятия классов в JavaScript — step-by-step Javascript tutorial on Progressive Robot

Понимание понятия классов в JavaScript

JavaScript — это язык на базе прототипов, и каждый объект JavaScript имеет скрытое внутреннее свойство [[Prototype]], которое можно использовать для расширения свойств и методов объекта. Вы можете узнать больше о прототипах из нашего обучающего модуля [Понимание принципов…

Read more
Next.js Authentication — step-by-step Databases tutorial on Progressive Robot

Next.js Authentication

Learn how to authenticate your Next.js apps using NextAuth.js, an open source authentication tool that’s flexible, easy to use, and secure, while using Postgres as your database.

Read more
Usando buffers no Node.js — step-by-step Javascript tutorial on Progressive Robot

Usando buffers no Node.js

O autor selecionou a COVID-19 Relief Fund​​​​​ para receber uma doação como parte do programa Write for DOnations. Um buffer é um espaço de memória (tipicamente RAM)…

Read more
How To Test a React App with Jest and React Testing Library — step-by-step Javascript tutorial on Progressive Robot

How To Test a React App with Jest and React Testing Library

Obtaining solid test coverage is imperative for building confidence in your web application. In this tutorial, you will test asynchronous code and interactions in a sample project containing various UI elements. You will use Jest to write and run unit tests, and you will implement React Testing Library as a helper DOM library to handle interacting with components.

Read more
How To Scale Node.js Applications with Clustering — step-by-step Javascript tutorial on Progressive Robot

How To Scale Node.js Applications with Clustering

In this tutorial, you will scale a Node.js application using the cluster module on a machine with four or more CPUs. You’ll create an application that does not use clustering, then modify the app to use clustering. You’ll also use the pm2 module to scale the application across multiple CPUs. You’ll use a load testing tool to compare the performance of the app that uses clustering and the one that doesn’t, as well as assess the pm2 module.

Read more
CHAT