Development

How To Make Your Vue.js Application DRY with Slots, Mixins, and Composition API — step-by-step Javascript tutorial on Progressive Robot

How To Make Your Vue.js Application DRY with Slots, Mixins, and Composition API

DRY is a programming strategy that stands for “Don’t Repeat Yourself”. It encourages code re-usability through modular architecture. Vue.js includes several strategies to modularize and re-use repeated snippets of code. In this tutorial, you will try out layout components with slots, mixins, and the new Composition API to implement the DRY strategy in an example app.

Read more
Использование интерфейсов в Go — step-by-step Programming tutorial on Progressive Robot

Использование интерфейсов в Go

Для разработки гибких и универсальных программ очень важно создавать гибкий, модульный и многоразовый код. Такая модель работы упрощает обслуживание кода, устраняя необходимость вносить одинаковые изменения в разных местах. Конкретный способ достижения цели зависит от языка….

Read more
How To Query Tables and Paginate Data in Flask-SQLAlchemy — step-by-step Python tutorial on Progressive Robot

How To Query Tables and Paginate Data in Flask-SQLAlchemy

In this tutorial, you’ll use Flask and Flask-SQLAlchemy to create an employee management system with a database that has a table for employees. You’ll use the Flask shell to query a table, and get table records based on a column value. You’ll retrieve records on certain conditions. You’ll order the results by a column value, and count and limit query results. Finally, you’ll use pagination to display a certain number of records per page in a web application.

Read more
How To Obtain a pandas DataFrame from an Unordered API Endpoint — step-by-step Python tutorial on Progressive Robot

How To Obtain a pandas DataFrame from an Unordered API Endpoint

A DataFrame is a two-dimensional data structure with data presented in rows and columns. Using Python, one common method is to convert data from CSV, Excel, or API endpoints into a Pandas DataFrame. However, some API endpoints do not represent column names and their values in a clear context, which can present a challenge for converting the data into a DataFrame. In this tutorial, you will obtain data from an unordered endpoint and present it in a suitable format to Pandas DataFrame.

Read more
How To Use Basic Types in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Basic Types in TypeScript

TypeScript is an extension of the JavaScript language that uses JavaScript’s runtime with a compile-time type checker. This combination allows developers to use the full JavaScript ecosystem and language features, while also adding optional static type-checking, enum data types, classes, and interfaces. This tutorial will go through type declaration and all the basic types used in TypeScript.

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

Using Event Emitters in Node.js

Event emitters are objects in Node.js that trigger an event by sending a message to signal that an action was completed. In this article, you will create an event listener for a TicketManager JavaScript class that allows a user to buy tickets. You will set up listeners for the buy event, which will trigger every time a ticket is bought. This process will also teach you how to manage erroneous events from the emitter and how to manage event subscribers.

Read more
How To Write Your First Program in Java — step-by-step Programming tutorial on Progressive Robot

How To Write Your First Program in Java

In this tutorial, you’ll create a simple “Hello, World!” program in [Java](https://www.java.com/en/). The “Hello, World!” program is a simple and complete first program for beginners, and it’s a good way to make sure your environment is properly configured. By creating a “Hello, World” program, you’ll start learning Java’s basic syntax as well as the compilation and execution process of a Java program. Once you’re finished, you’ll be able to write and run basic Java code.

Read more
CHAT