Development

How To Use Contexts in Go — step-by-step Programming tutorial on Progressive Robot

How To Use Contexts in Go

When developing a large application, it can be helpful for a function to know more about the environment it’s being executed in aside from the information needed for a function to work on its own. To help with this, Go includes a context package in its standard library. Learn to create a Go program that uses a context within a function. You’ll also store additional data in the context and retrieve it from another function. Finally, you’ll explore methods for ending a context.

Read more
How To Use Indexes in MySQL — step-by-step Databases tutorial on Progressive Robot

How To Use Indexes in MySQL

As the data in a database increases, search performance can suffer. The larger the dataset, the harder it is for the database engine to find the documents that match the query quickly. Database administrators can use indexes to aid the database engine and improve its performance. In this tutorial, you’ll learn what indexes are, how to create them, and confirm whether they’re used to query the database.

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

How To Use Namespaces in TypeScript

In TypeScript, you can use namespaces to organize your code. Previously known as internal modules, namespaces in TypeScript are based on an early draft of ECMAScript modules. In this tutorial, you will create and use namespaces to illustrate the syntax and what they can be used for. It will lead you through code samples of declaring and merging namespaces, how namespaces work as JavaScript code under the hood, and how they can be used to declare types for external libraries without typing.

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

How To Use Primary Keys in SQL

In SQL, primary keys serve as identifiers for individual rows in a table. In this tutorial, you’ll learn about primary keys and use a few different kinds to identify unique rows in database tables. Using some sample datasets, you’ll create primary keys on single columns and multiple columns, and use autoincrementing sequential keys.

Read more
How To Use Templates in Go — step-by-step Programming tutorial on Progressive Robot

How To Use Templates in Go

Do you need to present some data in well-formatted output, textual reports, or HTML pages? You can do that with Go templates. Any Go program can use the `text/template` or `html/template` package—both included in the Go standard library—to present data neatly. This tutorial will show you how to use both template packages.

Read more
CHAT