Writing on engineering leadership, software, and building teams.

My long-form thoughts on management, product, engineering, and investing, collected in chronological order.

Hi IFCO! 👊 🥬

I’m happy to announce my new adventure as VP Digital for Software and Data Development at IFCO. IFCO is a German company operating globally in the Food and Supply Chain space making a better world…

Goodbye, Qualifyze âś…

After two amazing years at Qualifyze as CPO and CTO, it’s time to say goodbye. What a ride it has been, filled with so much fun and great memories ❤️. Thank you all!

Qualifyze 2023 Retro: Tech Edition

Wow, 2023 is almost over and so many things have happened at Qualifyze! I already wrote about the work done and the achievements of the Data Team in a Qualifyze 2023 Retro: Data Edition. This…

Qualifyze 2023 Retro: Data edition

2023 at Qualifyze has been a hell of a ride in the Data area: full of decisions, problems to solve, actions taken, learnings, and achievements that are worthy to share so others can learn from them.

Hi Qualifyze! âś…

I’m happy to announce my new challenge as Chief Product and Technical Officer (CPTO) at Qualifyze. Qualifyze is a B2B start-up offering hassle-free supply chain audits to manufacturers. They are…

CQRS by Example is officially finished

We did it again! Keyvan Akbary, Christian Soronellas, and I did it again! I’m super happy to announce that our new book CQRS by Example (available on Leanpub) is officially finished. We took all…

Bye CODE, AdiĂłs SEAT, TschĂĽss VW

Last Friday, I announced to all my SEAT:CODE colleagues that after 3 amazing years of such a great adventure as CEO and CTO, it’s time for me to move on. I can proudly say that the first phase of…

Gracias, PulpoCon 2019: Eventos, Mensajería y otras fábulas

El pasado 7 de Septiembre, tuve el honor de participar como ponente en la PulpoCon. La jornada consiguió acercar el movimiento “crafter” y el “clean code” a más de 200 desarrolladores de Galicia y…

Techpump, mentorizando start-ups y CTOs

Ayudar a otros es algo que me hace feliz, me llena. Especialmente, si a quien ayudas es gente comprometida, son buenos alumnos y los resultados se ven pronto. Dejadme que os comparta cómo estoy…

Filmin: API design having TVs as the user client

At Rigor Guild, we love movies! 🎞 🍿 and we are extremely happy to announce that we are helping one of the most important streaming platforms in Spain, Portugal, and Mexico. Let me introduce you…

Enreach: 2nd round!

In October 2020, Christian Soronellas and I went to visit the Enreach offices in Malaga for a 3 days workshop on microservices, hexagonal architecture, testing, and refactoring. You can read about…

Helping the Space Sector, welcome, GMV!

I’m happy to announce that GMV Innovating Solutions joins the Rigor Guild customers family. They got in touch with us after watching the «Deliveritis Aguda y Crónica» talks.

ConsultorĂ­a en Opositatest: Monolito o Microservicios

El pasado Marzo, Christian Soronellas y yo estuvimos en A Coruña ayudando al equipo de Opositatest con algunos de sus retos. Me gustaría compartir con vosotros cómo ha sido el proceso de principio…

SEAT:CODE, a 2020 summary

2020 has been one of the most challenging years in all our professional careers for almost everyone working at SEAT:CODE. Not only because of the COVID context, really well explained by Lucia de…

Hola, SEAT Data Office!

Today, I’m happy to announce that on top of my SEAT:CODE responsibility, I’m also now the Head of the SEAT Data Office. It’s such an honor and responsibility!

Welcome, SEAT MĂ“!

I’m happy to announce that the new SEAT Motosharing service in Barcelona has been launched. It’s called SEAT MÓ. Its technical soul is powered by SEAT:CODE. Like a proud grandpa, let me share its…

Yii2 & Doctrine ORM simple integration

This all comes from a consultancy we’re currently doing. Our client need, as a stepping-stone towards more modern architecture and a more modern software stack, to integrate Doctrine ORM into…

Domain-Driven Design Destilado

Ha llegado el día, ya está disponible la traducción de “Domain-Driven Design Distilled” en español. Estoy muy contento de haber podido colaborar en este proyecto y ayudar a Vaughn Vernon es su tarea…

Techne 2018 - Primeros Pasos Liderando Equipos Técnicos

Dentro de pocas semanas, se celebrará la edición Techne Forum 2019 (https://techneforum.com/). Vale la pena que visitéis la web y os animéis a participar. Sea como sea, en la edición anterior…

Deliveritis Aguda - CTO Summit Valencia 2019

El pasado 4 de Julio, asistĂ­ como ponente al 1er CTO Summit en Valencia (https://ctosummit.geekshubs.com/) organizado por Chaume y el equipo de Geekshubs (https://geekshubs.com/).

Auf Wiedersehen XING

I want to share with you that I’ll be leaving XING on May, 3rd. It has been a fantastic professional and personal experience. I have learned a lot from every single one of my mates, and I want to…

Ansistrano reaches 1M deployments!

ansistrano.deploy and ansistrano.rollback are Ansible Galaxy roles to easily manage the deployment process for scripting applications such as PHP, Python, and Ruby. It’s an Ansible port for…

IntegraciĂłn Continua y Deployment Continuo

Os dejo por aquí, una de mis charlas impartida en la asignatura “Técnicas para el desarrollo de software en producción” dentro del Máster en Tecnologías Informáticas de la Universidad de La Rioja. Se…

Rigor Talks – PHP – #2 Self-Encapsulation (Spanish)

Hola Amigos del Rigor! En este video voy a enseñar un ejemplo del concepto de “Self-Encapsulation” y la relación que guarda con las “Guard Clauses” que vimos en la Rigor Talk anterior. He creado una…

#MayTheRigorBeWithYou: Presentamos las “Rigor Talks”

Amigos del rigor! Hola! Siguiendo la senda de los más grandes como CleanCoders.com o CodelyTV a.k.a. #cosaMuyFina, tengo el placer de presentaros las “Rigor Talks”. Videos cortos de entre 5 y 10…

Rigor Talks – PHP – #1 Guard Clause (Spanish)

Hola Amigos del Rigor! En este video voy a enseñar lo que son las cláusulas de guarda y cómo ayudan a tener un código un poco más legible. He creado una lista de reproducción pública con los videos…

Firing Domain Events in the __constructor

After my post about “Good ORMs do not call __construct a.k.a. where to fire my Domain Events”, nice discussions (and trolling) are happening in the Barcelona Engineering Slack Channel. Thanks to…

Awesome two days helping @Lowpost_es team

I have recently visited Valencia in order to help my friends at Lowpost. It was great and I had a lot of fun! I would like to tell you a bit about how it was.

Entrevista en @CodelyTV

Aquí os dejo la entrevista que me hizo Javier Ferrer, la cara visible de CodelyTV, en Julio de 2016. A parte del video, se curró la transcripción de las cosas más relevantes. Me gustaría agradecerle…

Some “basuritas”: PHP, list() and objects

I was just playing around with the Symfony Expression Language Component. Suddenly, I started to play with list() and some objects and this example came up. You can use list() and $this for assigning…

Hi @xing_bcn and @xing_de!

After leaving Atrápalo, it’s time to jump to a new challenge. As I explained, I need to get out of my confort zone and check other things that will make me learn new things. Some of you already know…

See you at @dpcon 2016

I would like to let you know that I’ll be presenting on the DPC 2016. This year, the Dutch PHP conference celebrates its 10th anniversary. It will be held on June 23rd-25th. I’m more than happy to be…

Adiós Atrápalo

Después de más de 2 años trabajando en Atrápalo, ha llegado el momento de partir a nuevos horizontes. Los que ya me conocéis un poco sabéis cómo soy: llegar, simplificar y marchar. Mis objetivos se…

First tests with #PHP7 in production at @AtrapaloEng

On Monday, Badoo blogged about its migration to PHP7 (https://techblog.badoo.com/blog/2016/03/14/how-badoo-saved-one-million-dollars-switching-to-php7/</a>). Those are great results! At @AtrapaloEng…

RESTGames – More than katas

Today, Christian (@theUniC) and I (@buenosvinos) would like to introduce you “REST Games“: Games based in REST Services for learning and practicing coding.

Rendimiento con Domain Events, Proyecciones y principios de CQRS

Cuando desarrollamos una aplicación nueva, todo va muy rapidito. Hay poco tráfico, pocas queries y si hay alguna más “dura” usamos alguna cache como Memcached o Redis. Pero a medida que agregamos más…

Setup your MacOS (or other OS) development team with Ansible

Imagine that a new developer joins your team, installing everything needed for developing, including the application being developed is not an easy o fast task. I’m sure you have a wiki process, a…

3 commands for working with remote machines

These days I’m playing a bit with 5 Raspberries 2B (4 cores and 1 GB of RAM) in order to build a Docker cluster. There are different options: Docker Swarm over Consul/Etcd/Zookeper, Kubernetes by…

Doctrine 2.5, DDD, Entities and Identities

If you’re developing applications in a Domain-Driven Design style and using Doctrine 2.5, you may be struggling with implementing your entities identities, I mean, UserId, ProductId, and so on.…

GuĂ­a para el Desarrollo Profesional PHP (ediciĂłn 2014)

Rascando por Youtube, encontré este vídeo de 2014, de una presentación que hice en LaSalle inspirada por otra que hice en Castellón en 2011. La idea es hacer un overview del ecosistema PHP y puntos…

Deploying Symfony (and PHP) apps with Ansistrano

For a long time, Capifony was, without any doubt, the facto option for deploying Symfony2 applications. Capifony is a ruby gem based in Capistrano v2, an open source tool for running scripts on…

Dot: Puzzles for smart masses

I have always been interested in games, just for fun, nothing serious. A game is IMHO the most difficult piece of software to write. Think for a second. It needs support for user input devices…

Migrating progressively to Symfony without pain

Atrápalo is a travel e-commerce website founded in 2000. Based in Barcelona, Spain, it sells flights, trips, tickets, booking restaurants, car renting, etc. to 10 different countries. It’s a 9000…

Atrápalo Tech 2014 figures

It’s almost a year ago since I started working at Atrápalo. The team has done an amazing job learning and applying all the changes in our software development process including the new architecture…

Javascript Apps, APIs, AJAX and CORS

If you are developing Javascript applications that make AJAX calls directly to an API that you don’t control, you will probably experiment issues with CORS. If you take a look to your console, the…

Subscribe yourself to PHP internals

On January, 31st, I was in the Barcelona PHP Day. Albert Casademont (@acasademont) was giving his talk about PHP 7. He talked about features, benchmarks and internals. He said that he was subscribed…

Dogmáticos a favor vs. radicales en contra

Las herramientas y las metodologías no fallan, son las personas al aplicarlas. Una llave inglesa no puede fallar, o es la herramienta adecuada para tu problema o no lo es. Si eliges una llave inglesa…

Ellas son las verdades crafts(wo)men

Ayer, 3 de Octubre, me casé con Vanessa, ahora, mi mujer. Soy muy feliz. Quería escribir algunas lineas para agradecerle su afecto, el esfuerzo y la dedicación que pone en nuestra pequeña familia…

Legacy Code and Teams Series: Composer

You may have an existing autoloader that you want to preserve. However, if the previous autoloader trick does not fix your situation, you really have something strange such as classes defined with…

Write your git hooks in PHP and keep them under git control

Last month, in the PHP Barcelona Monthly Talk, I was talking with some mates about the GitHub migration we have recently done at Atrápalo. They were interested in branches, deployments, code reviews…

Detalles sobre Scrum: ÂżCĂłmo atacar el sprint?

Os presento un pequeño ejercicio que llevo utilizando un mes y que me está dando buenos resultados a la hora de ilustrar la importancia de cómo atacar el sprint y la obsesión por entregar valor lo…

Smash Tech: PHP 2014

El pasado día 28 de Mayo, participé en Smash Tech como ponente impartiendo una master class de 2 horas sobre el ecosistema PHP y en lo que se debe prestar atención para el 2015. Con los 50 asistentes…

Fixing commit TYPOs in git history with filter-branch

Last week, we tried at Atrapalo to migrate from our own git repository to Github. That should be easy, is just a matter of three commands already explained in Github’s guide. The main problem appears…

Por dĂłnde empiezo: 7 ideas para ponerme al dĂ­a

Estos días he estado haciendo entrevistas a muchos perfiles. Por si no lo sabéis, en Atrapalo, tenemos unas 15 posiciones abiertas para incorporar desarrolladores PHP de todos los perfiles, juniors y…

Hola Atrápalo

La semana pasada os anunciaba mi salida de Emagister. Hoy, 20 de Febrero, es mi primer día en Atrápalo como CTO. Me han atrapado. Estoy muy ilusionado por trabajar en una empresa tan conocida, con…

Unit Testing y TDD no son lo mismo

Resumiendo y sin entrar en volver a explicar los conceptos de TDD. Hacer Unit Testing es escribir Unit Tests, hacer TDD es seguir la metodología (3 reglas, ciclos cortos, diseño emergente, etc.)

kata/php: PHP skeleton for doing coding katas

Something a bit annoying when doing a kata is setting up the environment so you can start. Typically, you need composer, define dependencies, setting up the autoloading policy, creating some folders…

MySQL 5.6 Developer Certification Beta Exam Review

Last friday, I did the MySQL 5.6 Developer Certification Beta Exam. This is the exam that Oracle is launching because of the new MySQL 5.6 Developer certification that will replace the old MySQL 5.0…

Test Doubles

Last week, another awesome cleancoders episode was published. It comes in two parts. I really recommend to buy it. Let’s review the most important concept taught in the first one: Test Doubles.

“new” and fluent interfaces

Last week, I was with some friends and we were talking about fluent interfaces and I show them something that they didn’t know. I got surprised about it because it was introduced in PHP 5.4.

New PHP OPCache Dashboard

If you are not using any PHP opcache accelerator, you should. If you are using APC, you should move to OPCache. If you are already using it, you should use opcache-dashboard also.

Code Style: If and return

When contributing to opensource code at GitHub, I found some mistakes, or improvements when writing code, that are repetead over and over again for newbies and not so newbies developers. I’ll try to…

PHP Trait testing

I’d like to know how you test your traits and what’s your favourite way to do it. I have found two different approaches that I want to share with you. Please comment if you apply different techniques…

Grábate haciendo katas y repasa la jugada

Son muchas las disciplinas que para mejorar utilizan el sistema de grabarse en video mientras practican y después revisan las imágenes para corregir los errores de técnica. Entre ellas, las prácticas…

Test Driven Development: By Example

Siguiendo con mi andadura de lecturas técnicas, esta semanas voy a estar con “Test Driven Development: By Example”. El enfoque del libro es totalmente práctico pero el prólogo me ha parecido tan…

Los 331€ mejor invertidos – CleanCoders Videos

Hoy, después de un fin de semana de maratón de los últimos 3 capítulos sobre TDD de CleanCoders, de Robert C. Martin (@unclebobmartin), he acabado de verme todos los 21 capítulos. Empecé hace un mes…

Remove non used PHP files in your project

When a project gets bigger, specially when using a framework, it’s mandatory to have some processes that help you in removing code that is not used anymore such as models, classes, template files…

¿Cuál es el verdadero objetivo de TDD?

A todos aquellos que habéis pensado: “¡Demostrar que mi código funciona!”, lo siento, estáis equivocados. Aunque está asociado al 2º valor principal del desarrollo de software (según Robert C.…

Kata: Bowling Game

Scoring Bowling: The game consists of 10 frames as shown above. In each frame the player has two opportunities to knock down 10 pins. The score for the frame is the total number of pins knocked down…

Kata: Prime Factors

Although quite short, this kata is fascinating in the way it shows how “if” statements become “while” statements as the number of test cases increase. It’s also a wonderful example of how algorithms…

Robert C. Martin Clean Code Collection Review (Part II)

Hace una semana, publicaba un pequeño resumen y mis apuntes sobre el libro “Clean Coder” de Robert C. Martin (ver parte I). Hoy hago lo propio con el resumen del libro de la misma colección, “Clean…

Robert C. Martin Clean Code Collection Review (Part I)

Me gustaría compartir la review de otro libro que ha caído esta semana. En realidad, son es una colección de 2 libros de Robert C. Martin que te puedes comprar en formato Kindle por 15,99 € (dos…

Adding a custom font on a titanium window title

If you are working with Titanium and you need to customize the font you are using as a title in a window, there is no predefined solution to do this, but there is a trick, the “titleControl” window…

Tech Team Engagement

Me gustaría compartir con vosotros una de mis antiguas presentaciones sobre motivación de equipos técnicos que pude dar en la PHP Barcelona Conference hace algunos años. Me gusta ver que muchos…

AlterEgo, el juego de Desarrollo Personal para iPhone

AlterEgo es un excitante juego de autoconocimiento. Enfréntate a tí mismo en partidas de 10 retos (de los 60 disponibles) que te harán avanzar en conocerte y vivir más equilibrado tanto con tu…

IntroducciĂłn a Scrum y Agile

Hoy, me gustaría rescatar una presentación sobre Scrum y Agile que hice en la BetaBeers Barcelona. Una hora de Scrum en vena con dinámicas prácticas, overview de toda la metodología, ejemplos, etc.…

IntroducciĂłn a Appcelerator Titanium

Uno de los productos que está funcionando mejor para el desarrollo de aplicaciones nativas para móviles utilizando Javascript es Titanium Appcelerator. Aprovecho para colgar una de las presentaciones…

iPackagist, the Packagist Client for iPhone

Packagist is a Composer package repository. It aggregates all sorts of PHP packages that are installable with Composer. You can use Composer to manage your project or libraries’ dependencies. Read…

iGravatar, the Gravatar client for iPhone

iGravatar is your iPhone app for managing your Gravatar account. You will be able to upload new pictures from your iPhone library or directly from your camera, assign pictures to your email addresses…