A Andres Hernandez
Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
127

Filtered Posts (Clear all)

June 03, 2026 0 PHP Database

Precision in PHP Database Interactions: Mastering `bind_param`

Introduction

In the pqrs project, robust database interactions are crucial for maintaining data integrity and application security. A cornerstone of secure PHP database programming, especially with mysqli, is the use of prepared statements. These statements help prevent SQL injection attacks by separating the SQL query logic from the data values. However, even with prepared statements, developers can encounter subtle issues if not handled with precision.

The Problem: bind_param

Streamlining Updates: A Proactive Approach to Project Maintenance in PHP

In our pqrs project, like many web applications, the need for regular updates is constant. Whether it's patching security vulnerabilities, upgrading dependencies to leverage new features, or just keeping the core framework current, these "updates" are essential. However, historically, these operations could feel like a roll of the dice. A seemingly simple "update" could unexpectedly break a critical feature, introduce subtle bugs, or lead to dependency hell, turning a routine task into an

June 01, 2026 0 PHP Validation

Streamlining Data Collection: Making Fields Optional in the pqrs Application

When developing applications like our pqrs system, which likely handles various requests and forms, there's a constant balance between collecting comprehensive data and ensuring a smooth, flexible user experience. Initially, many fields are often deemed 'required' to ensure data completeness. However, this approach can sometimes introduce unnecessary friction.

The Challenge with Mandatory Fields

Our pqrs application faced a common dilemma with several identification and contact fields:

Empowering User Control: Implementing a Dashboard Checkbox Toggle for 'Sent' Status

In many web applications, tracking the status of an item, especially its 'sent' or 'processed' state, is crucial for both administrators and users. For the pqrs project, a system designed to manage various records, we recently rolled out an enhancement to improve the dashboard's usability and data management: an 'enviado' (sent) column, coupled with an interactive checkbox toggle.

This seemingly small feature addresses a common frustration: manually updating record statuses.

Enhancing Workflow: Introducing the 'Enviado' Status Toggle in pqrs

In the pqrs project, managing the lifecycle of various items is a core functionality. Previously, tracking the 'sent' or 'dispatched' (enviado) status of an item often involved navigating through separate detail pages or relying on external notes. This added friction to daily operations, making it harder to get a quick overview of item progress directly from the main dashboard.

The Challenge: A Need for Clarity

The primary challenge was the lack of immediate visual feedback on an

Streamlining Deployments: Automating FTP with GitHub Actions for pqrs

For many developers, the word 'deployment' can still evoke a slight cringe. Especially when it involves the venerable File Transfer Protocol (FTP). While modern CI/CD pipelines often leverage cloud platforms and containerization, countless projects, like pqrs, still rely on FTP for rapid, straightforward server updates. This post details how we transformed a manual, error-prone FTP deployment process into a robust, automated workflow using GitHub Actions.

The Situation

Streamlining Deployments: Removing Redundant npm ci from FTP Workflow

In our pqrs project, which leverages GitHub Actions for automated deployments, we recently identified and addressed a subtle inefficiency in our FTP deployment workflow. This small change has led to a cleaner and more performant CI/CD pipeline.

The Problem

Our ftp-deploy.yml GitHub Actions workflow included an npm ci step. While npm ci is an indispensable command for ensuring clean, reproducible dependency installations in build environments – especially when working with

Optimizing Performance in rifasvelez-web: A Refactoring Deep Dive

The Optimization Imperative

In the fast-paced world of web development, a slow application is a forgotten one. For rifasvelez-web, our core project, maintaining peak performance isn't just a nice-to-have; it's critical for user engagement and overall success. A snappy user experience translates directly into happier users and better conversion rates. With this in mind, we recently embarked on a focused refactoring effort aimed squarely at boosting the application's speed and efficiency.

Optimizing Astro Applications: Lessons from Refactoring rifasvelez-web

Introduction

The rifasvelez-web project recently underwent a significant refactoring effort, primarily focused on enhancing its overall performance and maintainability. In a modern web landscape where user experience is paramount, optimizing code isn't just a nicety—it's a necessity. This deep dive explores the approach, outcomes, and key lessons learned from our recent push for a more optimized Astro application.

What Worked

Improved Page Load Performance

By strategically

From Heavy to Hyper-Fast: Optimizing Hero Images with AVIF in Astro

In our rifasvelez-web project, we're constantly looking for ways to enhance user experience, and a critical component of that is page load speed. The initial focus often goes to JavaScript bundles or server-side rendering, but sometimes the biggest wins come from simpler changes.

The Situation

Our rifasvelez-web site, built with Astro, featured a prominent hero section designed to captivate visitors immediately. While visually appealing, the hero image was a large PNG file.

Andres Hernandez

Andres Hernandez

Product-focused Software Developer specializing in the React ecosystem (Next.js, TypeScript). Proven experience contributing to high-impact open source projects and building scalable web applications. Committed to clean code, UI/UX design principles, and SOLID architecture to solve complex problems.