Latest Updates

Documenting code, one commit at a time.

HTML PHP 10 posts
×

Enhancing SEO with Structured Data and Robots.txt Optimization

Improving a website's visibility to search engines often involves a combination of structured data implementation and proper handling of robots.txt. This post details how structured data was added to a landing page and blog posts, and how a dynamic robots.txt file generation was replaced with a static one for better performance.

Implementing JSON-LD Structured Data

Structured data helps

Read more
PHP Laravel OAuth

Enhancing User Security in Laravel OAuth Implementations

OAuth provides a streamlined approach to user authentication, but it's crucial to implement security measures that protect user data and prevent unauthorized access. A common scenario involves social login, where users authenticate via third-party providers like GitHub or LinkedIn.

The Problem: Unregistered Users and Automatic Registration

A potential vulnerability arises when users not yet

Read more
PHP

Sitemap Maintenance: Removing a Route

Introduction

This post details a maintenance task focused on refining the sitemap of our application. Specifically, it addresses the removal of a route that no longer exists, ensuring the sitemap accurately reflects the application's available content.

The Issue

A route, previously designated as /pricing, was found to be non-existent in the application.

Read more
PHP Laravel

Automating Sitemap Updates on Deployment

The Problem

After each deployment to our production environment, we needed to manually clear the sitemap cache to ensure the latest content was reflected. This manual process was time-consuming and prone to errors.

The Approach

We automated the sitemap cache clearing process by creating a custom Artisan command that is executed as part of our deployment pipeline.

Implementation

Read more

Streamlining Content Publishing: Automated Platform Integration

Introduction

We've recently enhanced our platform to allow users to automate content publishing to external platforms like LinkedIn and Dev.to. This feature aims to simplify the content creation and distribution process by enabling users to set default publishing preferences.

Implementation Details

This enhancement introduces the ability for users to manage their auto-publishing

Read more
PHP Laravel

Enhancing Recommendation Widgets with LinkedIn Integration

Introduction

This post details how we enhanced recommendation widgets within our application by integrating LinkedIn. The goal was to provide users with a direct link to the original LinkedIn post when a recommendation has been shared on the platform.

Implementation

The enhancement involved adding a LinkedIn icon to the bottom-right corner of each recommendation card.

Read more
PHP Laravel Symfony

Enhancing Email Notifications with Transactional Headers and Code Style Improvements

Introduction

In our ongoing effort to improve the reliability and traceability of email communications within our application, we've recently implemented transactional email headers for recommendation notifications. This, coupled with some code style enhancements, aims to provide a more robust and maintainable system.

Transactional Email Headers

Transactional emails, such as

Read more

Refactoring Automation Settings in Our Application

Introduction

Our application's settings were becoming increasingly complex. The original design placed auto-publish preferences within the Integrations section, which no longer reflected the evolving functionality. To improve usability and maintainability, we decided to move these preferences to a dedicated Automation Settings page.

The Challenge

The existing structure presented several

Read more
PHP

Fixing Newsletter Digest Scheduling: A Matter of Minutes

Sometimes the smallest oversights can lead to significant issues. Recently, we encountered a problem where our newsletter digest wasn't being sent as expected. The culprit? An overly precise time comparison.

The Problem: Exact-Minute Matching

The original scheduling logic used an isDue() function that compared both the hour and minute. However, the scheduler was designed to run hourly,

Read more