LorryDriveloper

Pedro David García López

Senior Backend & Product Engineer · Ruby on Rails · Software Architecture

Backend engineer who turns product needs into durable architecture.

About

I'm a backend-focused Ruby on Rails engineer working on a SaaS product, remotely, from Murcia in Spain. My work is mostly architecture: domain models, frameworks other engineers build on, and production migrations that can be rolled back. I like to find the small core of a problem, put the safety in it once, and build features as layers on top.

I write the design down before I build it and invite people to disagree with it. Good code review, written design docs and teams that think together are where I do my best work. Application security is the area I'm growing into next.

I didn't start in software. For thirteen years I was a professional lorry driver in Spain and the UK, and for part of that time I ran my own transport business. I studied software engineering on weekdays while driving at weekends, graduated from Flatiron School in 2020, and have worked as a developer ever since: in the UK until 2024, and now remotely from Spain.

Selected Work

Three pieces of architecture from my day-to-day work on a Rails SaaS product

Framework design

An integrations framework teammates extend in a few classes

Rather than building each CRM or marketing integration as a one-off, I designed a provider-based framework around a small shared core: a provider registry, and a client, an action and a credential check for each provider, with provider kinds described as data.

It now runs CRM and marketing tools, webhooks and SFTP side by side. Teammates add a new provider by writing a few classes, without touching the core.

Production migration

A phased, reversible domain-model migration

I led the extraction of a reusable domain model out of a large, monolithic core model, and moved production over to it in phases rather than in one big switch.

The cutover was built to be safe to run and safe to reverse: an idempotent backfill, a rollback path ready at every stage, and a data-healing step after deploy.

Frontend architecture

Embeddable widgets that host pages can't break

Widgets embedded on other companies' websites are exposed to whatever CSS those sites ship. I introduced a web-component pattern that renders each widget inside a Shadow DOM, so the host page's styles can't break it.

Stimulus controllers don't connect inside a Shadow DOM out of the box, so I worked out how to make them connect and wrote up the solution.

Technical Skills

Backend & Architecture

Ruby & Ruby on Rails 8

PostgreSQL

Domain modelling

Extensible framework design

Zero-downtime migrations

Product & Frontend

Hotwire (Turbo, Stimulus)

ViewComponent

Web Components & Shadow DOM

JavaScript & React

Shopify apps

Quality, Security & Tooling

RSpec, Vitest, Playwright

Application security (OWASP)

Authentication & 2FA

CI/CD & Docker

Claude Code

Writing

Books That Shaped How I Build

Layered Design for Ruby on Rails Applications

by Vladimir Dementyev

Essential reading for understanding Rails architecture and building maintainable applications.

Practical Object-Oriented Design in Ruby

by Sandi Metz

Masterclass in writing clean, maintainable Ruby code with proper object-oriented design principles.

Rebuilding Rails

by Noah Gibbs

Deep dive into Rails internals that helped me understand the framework at a fundamental level.

Ruby Under a Microscope

by Pat Shaughnessy

Fascinating exploration of Ruby's internals and how the language works under the hood.

Get In Touch

Happy to talk about Rails architecture, production migrations or web components.