Systems | Development | Analytics | API | Testing

October 2024

A practical GitHub Actions pipeline example with Rails

Continuous integration (CI) pipelines are an important part of building and deploying reliable software. Whether it's building a Docker image, running tests, or even just doing code linting, CI pipelines help you automate repetitive tasks and ship better code even faster. GitHub Actions lets you create pipelines to build containers, test source code, and publish software.

Building A SOLID foundation for Laravel API integrations

All developers will eventually need to integrate an app with a third-party REST API when doing web development. However, the RESTful APIs that we are trying to make sense of often do not provide a lot of flexibility. This article addresses this issue within your codebase, showing you how to seamlessly implement any Laravel API integration.

The ultimate guide to Sidekiq scheduled jobs

Sidekiq is one of the most popular open-source background job libraries for Ruby. As one of ActiveJob's most popular backends, it's often used to run asynchronous jobs in Rails applications. It leans on Redis to manage queues and jobs, which makes it fast. Developers can run background jobs using Sidekiq with or without ActiveJob, and we'll explore both in this article. Just as useful - Sidekiq scheduled jobs allow you to run a job after a given amount of time or at a given time.

Subdomain takeover: ignore this vulnerability at your peril

The Domain Name System (DNS) is often described as the address book of the Internet. A and AAAA records map a human-friendly hostname like honeybadger.io to some machine-friendly IP address like 104.198.14.52. Other types of DNS records also exist; in particular, CNAME records are records that map a hostname to some other hostname, thereby delegating IP resolution to the latter.

A friendly introduction to PHP testing

In the last few years, there has been a lot of movement around new and exciting PHP testing tools. While this is great news, stepping back a little and understanding the underlying concepts before jumping in is vital to writing great PHP tests. When we talk about testing tools and methodologies, we're referring to automated testing tools. Writing code that tests your PHP apps is a great way to build confidence that your application will behave as you expect.

Building Livewire Components with Volt

In the past, when building Livewire components for our Laravel applications, we needed to keep our backend and frontend code split up into separate files. This can sometimes get a little confusing, especially with larger projects. But with Volt, we can now build single-file Livewire components where the backend and frontend code coexist in the same file. In this article, we'll look at what Volt is and how Volt components differ from traditional Livewire components.

The ultimate guide to Node.js testing

As a Node.js developer, you probably already know that testing code and maintaining its quality are essential aspects of software development, arguably just as important as writing code in the first place. Good tests raise confidence that changes won't cause problems, and the time invested eventually helps you ship faster.

How Solid Queue works under the hood

Whether or not you're active in the Rails ecosystem, you might already have heard some of the buzz around Solid Queue, a new database-backed backend for ActiveJob. Solid Queue is a simple and performant option for background jobs that lets you queue large amounts of data without maintaining extra dependencies like Redis. We've already talked about how to deploy, run, and monitor Solid Queue, but we haven't yet explored how Solid Queue works.