Development

How To Call Web APIs with the useEffect Hook in React — step-by-step Javascript tutorial on Progressive Robot

How To Call Web APIs with the useEffect Hook in React

In this tutorial, you’ll use the useEffect and useState React Hooks to fetch and display information in a sample application, using JSON server as a local API for testing purposes. You’ll load information when a component first mounts and save customer inputs with an API. You’ll also refresh data when a user makes a change and learn how to ignore API requests when a component unmounts.

Read more
How To Add Stimulus to a Ruby on Rails Application — step-by-step Javascript tutorial on Progressive Robot

How To Add Stimulus to a Ruby on Rails Application

In this tutorial, you will install and use Stimulus to build on an existing Rails application that offers readers information about sharks. The application already has a model for handling shark data, but you will add a nested resource for posts about individual sharks, allowing users to build out a body of thoughts and opinions about sharks. You will use Stimulus to manipulate the position and appearance of posts on the page.

Read more
How To Use Vue.js Environment Modes with a Node.js Mock Data Layer — step-by-step Javascript tutorial on Progressive Robot

How To Use Vue.js Environment Modes with a Node.js Mock Data Layer

In web development with the JavaScript framework Vue.js, developers often create the frontend of their application before the backend is ready. For a temporary backend, you can use Node.js to create a mock data layer for your application. This tutorial shows how to use environment variables to provide data for different modes of your Vue.js project.

Read more
Handling Panics in Go — step-by-step Programming tutorial on Progressive Robot

Handling Panics in Go

Panics are unforeseeable errors that will spontaneously terminate and exit a running Go program. Common mistakes are often responsible for creating panics. In this tutorial, we’ll examine a few ways that common operations can produce panics in Go, and we’ll also see ways to avoid those panics. We’ll also use defer statements along with the recover function to capture panics before they have a chance to unexpectedly terminate our running Go programs.

Read more
Обработка ошибок в Go — step-by-step Programming tutorial on Progressive Robot

Обработка ошибок в Go

Хороший код должен правильно реагировать на непредвиденные обстоятельства, такие как ввод некорректных данных пользователем, разрыв сетевого подключения или отказ дисков. Обработка ошибок — это процесс обнаружения ситуаций, когда ваша программа находится в неожиданном состоянии, а также…

Read more
How To Set Up the Eclipse Theia Cloud IDE Platform on Debian 10 — step-by-step Linux tutorial on Progressive Robot

How To Set Up the Eclipse Theia Cloud IDE Platform on Debian 10

Eclipse Theia is an extensible cloud IDE running on a remote server and accessible from a web browser. In this tutorial, you’ll deploy Eclipse Theia to your Debian 10 server using Docker Compose, a container orchestration tool. You’ll expose it at your domain using nginx-proxy, an automated system for Docker that simplifies the process of configuring Nginx to serve as a reverse proxy for a container.

Read more
Erste Schritte mit der Requests-Bibliothek in Python — step-by-step Python tutorial on Progressive Robot

Erste Schritte mit der Requests-Bibliothek in Python

In vielen Webanwendungen ist es normal, sich über APIs mit verschiedenen Diensten von Drittanbietern zu verbinden. Wenn Sie diese APIs verwenden, können Sie auf Daten wie Wetterinformationen, Sportergebnisse, Filmlisten, Tweets, Suchmaschinenergebnisse und Bilder zugreifen. Sie…

Read more
CHAT