JavaScript

Putting the 'A' in JAMStack With Headless CMS — step-by-step Javascript tutorial on Progressive Robot

Putting the ‘A’ in JAMStack With Headless CMS

Learn JAMStack (Javacscript, APIs, and Markup) best practices, and how to set up your API layer by running headless CMS on cloud servers. Get a brief overview of three the most popular free, open source CMS platforms – Wordpress, Ghost, and Strapi – and how to use them for your backend APIs.

Read more
Understanding Classes in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding Classes in JavaScript

Understanding prototypical inheritance is paramount to being an effective JavaScript developer. Being familiar with classes is extremely helpful, as popular JavaScript libraries such as React make frequent use of the class syntax.

Read more
Understanding Destructuring, Rest Parameters, and Spread Syntax in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding Destructuring, Rest Parameters, and Spread Syntax in JavaScript

Introduced in ECMAScript 2015 (ES6), destructuring, rest parameters, and spread syntax provide more direct ways of accessing the members of an array or an object, and can make working with data structures quicker and more succinct. In this article, you will learn how to destructure objects and arrays in JavaScript, how to use the spread operator to unpack objects and arrays, and how to use rest parameters in function calls.

Read more
Understanding Objects in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding Objects in JavaScript

Objects are an integral and foundational aspect of most JavaScript programs. For example, a user account object may contain such data as usernames, passwords, and e-mail addresses. Another common use case is a web shopping platform’s shopping cart that could consist of an array of many objects containing all the pertinent information for each item, such as name, price, and weight for shipping information. A to-do list is another common application that might consist of objects.

Read more
Using Buffers in Node.js — step-by-step Javascript tutorial on Progressive Robot

Using Buffers in Node.js

A buffer is a space in memory (typically RAM) that stores binary data. In Node.js, we can access these spaces of memory with the built-in Buffer class. Buffers are useful when using JavaScript to interacting with binary data, usually at lower networking levels. In this tutorial, you will use the Node.js REPL to create buffers, read from buffers, write to and copy from buffers, and use buffers to convert between binary data and data encoded with ASCII and UTF-8.

Read more
How To Use JavaScript Maps - .map() — step-by-step Javascript tutorial on Progressive Robot

How To Use JavaScript Maps – .map()

One of the most popular methods of iterating through datasets in JavaScript is the `.map()` method. `.map()` creates an array from calling a specific function on each item in the parent array. `.map()` is a non-mutating method that creates a new array instead of changing the original. In this tutorial, we’ll look at four noteworthy uses of `.map()` in JavaScript: calling a function of array elements, converting strings to arrays, rendering lists in libraries, and reformatting array objects.

Read more
CHAT