Gerardo Ruiz Gerardo Ruiz

Latest Updates

Documenting code, one commit at a time.

Enforcing Strict Type Checking in PHP Configuration

Introduction

In our ongoing efforts to improve code quality and maintainability within our PHP projects, we have taken the step of enforcing strict type checking in configuration files. This was recently implemented in the resend.php configuration file, a critical aspect of our application.

The Challenge

PHP, being a loosely typed language, allows type juggling, which can lead to unpredictable behavior and bugs that are hard to trace.

Read more

Enhancing Badge Management with Filament

Introduction

The badge management system has been overhauled to provide a more intuitive and user-friendly experience. This update introduces the ability to manually assign badges to users, complete with visibility settings and date tracking.

Development

The UsersRelationManager class was created to handle user-badge relationships. This class extends Filament's RelationManager and includes methods for getting the relation title, form, and table configurations.

Read more

Enhancing Platform Security and Accessibility

Introduction

Our platform's latest updates focus on enhancing security and accessibility. This is achieved through a series of critical fixes and improvements, ensuring a more robust and user-friendly experience.

Key Fixes and Improvements

  • WCAG Violations: Removed focus ring override to comply with accessibility standards.
  • reCAPTCHA Configuration: Fixed site key references for improved security.
  • SEO Localization: Localized all SEO meta strings using translation helpers.
Read more

Enhancing LinkedIn Publishing with Error Handling and Internationalization

Introduction

Our LinkedIn publishing feature required enhancements to improve user experience and adherence to project standards. This post details the implementation of error handling for post scheduling and internationalization of new error messages.

The Challenge

  • Unique constraint violations when scheduling posts for the same day needed proper handling
  • Error messages required internationalization for consistency across languages

The Solution

We introduced a

Read more

Enhancing URL Handling with Tenant Domain Extraction

Introduction

Our application required a more efficient and accurate method for extracting tenant domains to handle URL redirection. The previous implementation had limitations in handling both subdomain-only and full domain formats.

The Challenge

The legacy system had issues with:

  • Incorrect subdomain extraction
  • Inconsistent URL construction
  • Potential errors in redirecting users to demos

Development

To address these challenges, we refactored the RandomDemoController to improve

Read more

Enhancing GitHub Service with Carbon and Notifications

Introduction

Our team has been working on improving the GitHub service in our application. One of the key areas of focus was enhancing the date handling and introducing a notifications system.

The Challenge

The existing GitHub service had limitations in terms of date management and lacked a notifications system. This made it difficult to keep track of recent activities and notify users about important events.

The Solution

To address these challenges, we updated the GitHub service to

Read more

Implementación de un Logger Multi-Tenant con Streams Divididos en Laravel

Introducción

El desarrollo de aplicaciones multi-tenant ha ganado popularidad en los últimos años, ya que permite a las empresas ofrecer servicios personalizados a diferentes clientes mientras comparten recursos comunes. Uno de los desafíos en este tipo de desarrollo es la implementación de un sistema de logging efectivo que pueda manejar y separar los registros de cada tenant de manera eficiente.

Desarrollo

Para construir un logger multi-tenant con streams divididos en Laravel, podemos

Read more

Registro de Requests y Responses en Integraciones de APIs

Introducción

El análisis de datos en integraciones de APIs es crucial para entender el comportamiento de los sistemas y mejorar su rendimiento. Una parte fundamental de este análisis es el registro de requests y responses. En este artículo, exploraremos la importancia de guardar estas interacciones para un análisis de datos efectivo.

Desarrollo

El registro de requests y responses proporciona una visibilidad completa de cómo se interactúa con una API.

Read more

Manejo eficaz de errores en APIs de proveedores externos

Introducción

Las integraciones tecnológicas con proveedores externos son comunes en el desarrollo de software moderno. Sin embargo, esto puede introducir desafíos adicionales, especialmente cuando se trata de manejar errores provenientes de estas APIs externas. En este artículo, exploraremos estrategias efectivas para lidiar con errores de APIs de proveedores externos de manera que se pueda garantizar la robustez y la confiabilidad de nuestro sistema.

Desarrollo

Para manejar correctamente

Read more

Análisis de Ventajas y Desventajas de la Arquitectura Multi-Tenant

Introducción

La arquitectura multi-tenant es un enfoque en el que una sola instancia de una aplicación puede ser utilizada por múltiples clientes o inquilinos. Este enfoque ha ganado popularidad en la última década debido a su eficiencia y escalabilidad. En este artículo, analizaremos los pros y los contras de utilizar una arquitectura multi-tenant.

Desarrollo

Ventajas

  • Eficiencia y Escalabilidad: La arquitectura multi-tenant permite que múltiples clientes compartan los mismos
Read more

Subscribe to Newsletter

Get weekly updates with new posts delivered to your inbox.