Development

How To Navigate Between Views with Vue Router — step-by-step Javascript tutorial on Progressive Robot

How To Navigate Between Views with Vue Router

With single-page applications, every page or view is rendered within one HTML page. User interface (UI) frameworks like Vue.js render these pages and components when needed through the use of a Virtual DOM. In Vue.js, you can create several views using the first-party library Vue Router. This router makes an association with a view to a URL. In this tutorial, you are going to learn how to add the Vue Router library, integrate it into your project, and create dynamically generated routes.

Read more
How To Use Foreign Keys in SQL — step-by-step Linux tutorial on Progressive Robot

How To Use Foreign Keys in SQL

When working on a large SQL project, you must maintain the accuracy and consistency of data across all tables using foreign keys. This is where referential integrity comes into play. Referential integrity ensures all data references are valid in SQL and prevents inconsistent entries or orphaned records. In this tutorial, you’ll enforce referential integrity with foreign keys on your database.

Read more
Cómo usar .map() para iterar elementos de matriz en JavaScript — step-by-step Javascript tutorial on Progressive Robot

Cómo usar .map() para iterar elementos de matriz en JavaScript

Uno de los métodos más populares de iterar conjuntos de datos en JavaScript es el método `.map()`. `.map()` crea una matriz a partir de la invocación de una función específica sobre cada elemento en la matriz principal. `.map()` es un método sin mutación que crea una nueva matriz en vez de cambiar la original. En este tutorial, veremos cuatro usos notales de `.map()` en JavaScript: invocar una función de elementos de matriz, convertir cadenas a matrices, renderizar listas en bibliotecas y cambia

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

How To Use Enums in TypeScript

In TypeScript, enums, or enumerated types, are data structures of constant length that hold a set of constant values. Each of these constant values is known as a member of the enum. Enums are useful when setting properties or values that can only be a certain number of possible values. This tutorial will explain the syntax used to create enum types, the JavaScript code that the TypeScript compiler creates under the hood, and a use case for enums in game development.

Read more
CHAT