Latest Updates

Documenting code, one commit at a time.

Enhancing SEO with Slug Functionality in Blog Posts

Introduction

In our recent update to the devlog-IST landing application, we addressed a critical need for improved SEO and user navigation by implementing slug functionality in the Post model. This enhancement allows for SEO-friendly URLs that not only provide better search engine indexability but also improve user experience.

The Problem

Prior to this change, blog posts were accessed

Read more

Resolving Test Suite Failures Caused by Database Transactions

Introduction

Our test suite was experiencing frequent failures due to database transaction issues. The reconnect() method was causing the PDO connection to close, triggering Laravel's RefreshDatabase trait to reset and resulting in deadlocks and "relation does not exist" errors.

The Challenge

The main challenge was to identify the root cause of the issue and find a solution that would

Read more