Knowledge Base

  • How To Use Enums in TypeScript

    The author selected the COVID-19 Relief Fund to receive a donation as part of the Write for DOnations program. Introduction 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. One common example is the suit value of a single card in a deck of playing cards. Every...

  • Using Alpine.js to Enhance Your JavaScript

    How to Join This Tech Talk is free and open to everyone. Register below to get a link to join the live stream or receive the video recording after it airs. Date Time RSVP June 16, 2021 11:00 a.m.–12:00 p.m. ET / 3:00–4:00 p.m. GMT Register About the Talk Alpine.js is a minimal but powerful framework for building smart JavaScript applications. What You’ll Learn How to use Alpine.js How Alpine.js is different than React or Vue How to build a JavaScript application with le...

  • How To Install the Windows Subsystem for Linux 2 on Microsoft Windows 10

    Introduction The Windows Subsystem for Linux 2, WSL 2 or WSL for short, is a tool on Microsoft Windows 10 that allows developers to run a Linux environment directly on Windows without any modifications, secondary Virtual Machine software, or dual-boot setups. The WSL natively integrates with most applications on your workstation, allowing for a Linux-like development experience on Windows. The WSL accomplishes this by using Microsoft’s built in virtualization software called Hyper-V to ru...

  • How To Set Up Visual Studio Code (VS Code) for PHP Development

    Introduction Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be customized to serve a wide variety of development needs. In this guide, you’ll learn how to set up Visual Studio Code for working on PHP projects. Prerequisites To follow this guide, you’ll need to download and install the a...

  • How To Create User Interactions with Events in Vue

    The author selected Open Sourcing Mental Illness to receive a donation as part of the Write for DOnations program. Introduction In Vue.js development, a client’s web browser reads HTML and JavaScript and renders web pages based off of the instructions that the developer writes for it. But the web page or application not only needs to process data; it also needs to process user interactions. To do this, developers use events in JavaScript that execute code when the user interacts with HTM...